Jeremias Maerki wrote:
This happens because the two renderer use a different font source which
results in slightly different font metrics for the same fonts. This in
turn has consequences on the layout. There's currently nothing you can
do to get the same output other than by switching renderers. PDF and
PostScript, for example, should produce almost exactly the same output
because they can use the same font source. That's not possible with AWT.

But PostScript output still has some limitations as pointed out at

http://xml.apache.org/fop/output.html#xpointer(/document[1]/body[1]/section[1]/section[4])

Indeed I have experienced differences in character spacing. Perhaps because we used *negative* letter-spacing, while on line 691 of the PSRenderer.java of the FOP 0.20.4 source, the check for letter-spacing is as follows:

if (area.getFontState().getLetterSpacing() > 0) ...

??

<snip/>

Joop Vriend.


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to