Re: AW: AW: AW: Metric Files
Petr, I'm pretty sure you use the PFB file at PFMReader's command-line and not the PFM. That's why you get an OutOfMemoryError. I'll see if I can improve the PFMReader so it recognizes PFB files and outputs an appropriate error message. Seems to be a common mistake. On 31.05.2006 09:07:49 Petr Pisar wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kring, Rainer wrote: 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. I get this error on any Type1 font. Actually I'm not able to generate metrics file from any Type1 font file. I thing there are memory leaks in Type1toXML subsystem. snip/ Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: AW: AW: AW: Metric Files
Hi Jeremias, you're right. We really used the pfb-file. It works with pfm. And the PFMReader works much better then the TTFReader. -Ursprüngliche Nachricht- Von: Jeremias Maerki [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 1. Juni 2006 09:01 An: fop-users@xmlgraphics.apache.org Betreff: Re: AW: AW: AW: Metric Files Petr, I'm pretty sure you use the PFB file at PFMReader's command-line and not the PFM. That's why you get an OutOfMemoryError. I'll see if I can improve the PFMReader so it recognizes PFB files and outputs an appropriate error message. Seems to be a common mistake. On 31.05.2006 09:07:49 Petr Pisar wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kring, Rainer wrote: 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. I get this error on any Type1 font. Actually I'm not able to generate metrics file from any Type1 font file. I thing there are memory leaks in Type1toXML subsystem. snip/ Jeremias Maerki - 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]
Re: AW: AW: AW: Metric Files
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kring, Rainer wrote: 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. I get this error on any Type1 font. Actually I'm not able to generate metrics file from any Type1 font file. I thing there are memory leaks in Type1toXML subsystem. - -- Petr -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 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFEfUDEuR4f4nEwzHIRAuzXAKCJUv9qfq6B7lzJYVHHqkAU0yEUdgCggVGS aAc9q+R/gcc2NrRBP1a1VBU= =nc9N -END PGP SIGNATURE- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: AW: AW: Metric Files
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]