Hello list!

I have an XML file which is either converted to PDF (via FOP) or to XHTML (via 
another XSL stylesheet)

I have noticed however that things look different in (printed) PDF and 
(on-screen) HTML formats.
The sizes are different for the text elements.

After searching for a cause it came to my attention that PDF files from FOP 
are rendered at 72DPI (correct me if I am wrong) while the browser/screen/OS 
works at 96DPI.

I found the configuration for dpi at 
http://xmlgraphics.apache.org/fop/0.95/configuration.html, but this
applies only to images and not text.

So is there a workaround to make things appear on print the same as they are on 
screen?

I am thinking of manully changing the sizes in one stylesheet (either for FO or 
HTML) to bring it 
to the same "size" with the other. But I wonder if there is a more elegant 
solution.

Thank you


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to