On Jul 14, 2007, at 18:37, Fabian Zeindl wrote:
Hi
I wrote an xslt transformation which works perfectly for pdf output.
But I tested png-output then, and saw that
.) the fonts in the png differ slighty and
.) a linebreak is on different place in the png. this caused an
overflow
warning.
The first is a known 'issue', especially if you use one of the Base14
fonts. Reason is that the PNG renderer is dependent upon Java AWT to
get to its fonts, while the PDF renderer uses its own.
The second issue is most likely caused by the first: because the font
metrics differ slightly, there is a chance of linebreaks (even
pagebreaks) ending up differently.
I don't know exactly what the story is for custom fonts, but when you
register no special fonts with FOP, the effects you get are
considered normal, and there is little you can do.
Cheers
Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]