You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@pdfbox.apache.org by Jost Klopfstein <xm...@axostech.com> on 2009/11/07 00:54:25 UTC
PDType1AfmPfbFont - IOException - Unknown CharMetrics command 'EndCharMetrics'
Hi,
I am using trunk.
<snip>
1 PDDocument document = PDDocument.load( inputFile );
2 InputStream afm = new FileInputStream("D:/Helvetica.afm");
3 InputStream pfb = new FileInputStream("D:/Helvetica.pfb");
4 PDFont helvetica = new PDType1AfmPfbFont(document, afm, pfb);
<snip>
on line 4 I am getting:
java.io.IOException: Unknown CharMetrics command 'EndCharMetrics'
Any idea?
Tks,
Jost