Unfortunately line-height doesn't reduce the white spaces. The white space varies with the used font and the size of the font. White spaces only occur when using font metric files created with TTFReader. It works correctly with Helvetica (see http://xmlgraphics.apache.org/fop/0.20.5/fonts.html#Base-14+Fonts). But I don't need those.
So I tried it the other way round. I generated a Type1 font out of the TTF with Fontforge. But when trying to generate the XML-font metrics-file (see http://xmlgraphics.apache.org/fop/0.20.5/fonts.html#type1-metrics) we get "OutOfMemoryError: Java heap space". -----Ursprüngliche Nachricht----- Von: Chris Bowditch [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 30. Mai 2006 09:54 An: fop-users@xmlgraphics.apache.org Betreff: Re: AW: AW: Metric Files Kring, Rainer wrote: > After using a font metrics (at least I think the cause is the font > metrics) created with FOP's TTFReader out of a True Type Font, I get > white spaces above and below the text in PDF-Files. So want I to try it with Type1 fonts. Are you sure the spaces aren't casued by the half-leading? You can try adjusting the line-height property to reduce the amount of leading. Chris --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]