On 05.12.2008 11:21:01 Antti Karanta wrote: > > > Hi! > > When I use fop to directly print a document containing an svg image, the > image is produced w/ correct size on paper. However, if I produce pdf and > then print it w/ adobe acrobat reader, the image is sligtly (ratio about > 14/15) smaller than the original. This is significant as I have to produce > documents containing drawings with exact scale. > > The fop faq has a section about there being differences in print and pdf > output, but it only talks about fonts, line heights and such, but nothing > about picture sizes. > > Anyhow, it seems to most likely be an acrobat reader issue, since > ghostview measures the image size correctly and it prints the rights size. > Is this an actual acrobat reader bug or am I doing something wrong when > generating the pdf?
Please see here: http://xmlgraphics.apache.org/fop/faq.html#pdf-print-contortion > BTW, I recalled a long time ago having used measuring tools in acrobat > reader to measure sizes of things in a document in centimeters. Enabling > the toolbar failed - Tools -> Customize Toolbar dialog contains "Measuring > Toolbar", but it is marked w/ an asterix meaning "Only available when > document rights are enabled". Can I grant these rights when generating the > pdf from fop? Not sure what that means. > > If necessary, I can post the fo and svg files in question (quite minimal > - the document only contains the single svg image). > > > Environment: > > fop 0.95 > java 1.5.0_15 > win xp sp 2 > adobe reader 8.1.3 > > > Fop was invoked w/ no special options: > > fop.bat -fo test2.fo -pdf test2.pdf > fop.bat -fo test2.fo -print > > > > > ::Antti:: > > > Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]