Newsgroups: mozilla.dev.tech.layout
From: fantasai <fantasai.li...@inkedblade.net>
Date: Wed, 27 Jun 2012 23:16:30 -0700
Local: Thurs, Jun 28 2012 2:16 am
Subject: Re: Printing in 600 dpi
On 06/27/2012 08:21 AM, Ben Bucksch wrote:
> I am unclear about gecko's dpi handling while printing.
In CSS, the ratio of px to cm is fixed, so for a 600px image you want printed at 600dpi,
> I need to have the webpage rendered with 600 dpi, i.e. an image with 600 pixels width should print with 1 inch width.
> pref("layout.css.dpi", 600); (I'm in XULRunner) sounds like what I need, but it doesn't help.
> I lack background knowledge about the layout engine to know how to approach this problem. Can somebody please point me in the
size your image as 1in, rather than as 600px, and it should print properly. ~fantasai
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||