Are you able to use this font with other applications? I tried to open it is
MS Volt and Volt crashed when i tried to view some glyphs.
This error indicates that some composite glyphs have wrong offsets, it
*could* of course be a bug in TTFSubSetFile (it should not generate a null
pointer exception anyway, but handle it in some way - ie terminate the
composite chain?).


Tore

-----Original Message-----
From: Petr Andrs [mailto:[EMAIL PROTECTED]]
Sent: Saturday, May 19, 2001 19:37
To: [EMAIL PROTECTED]
Subject: problem with embedding TTF font


Hi,

I am receiving following error when trying to embed following TTF
(Xerox Sans Serif Narrow, Italic). Can some TTF expert state that this
is FOP error or it is caused by mangled font (normal style of this font
works fine).

pa

ERROR: null
org.apache.fop.apps.FOPException
        at
org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:65)
        at org.apache.fop.apps.Fop.main(Fop.java:19)

---------

java.lang.NullPointerException
        at
org.apache.fop.fonts.TTFSubSetFile.remapComposite(TTFSubSetFile.java:465
)
        at
org.apache.fop.fonts.TTFSubSetFile.scanGlyphs(TTFSubSetFile.java:545)
        at org.apache.fop.fonts.TTFSubSetFile.readFont(TTFSubSetFile.java:579)
        at
org.apache.fop.render.pdf.fonts.MultiByteFont.getFontFile(MultiByteFont.
java:180)
        at
org.apache.fop.pdf.PDFDocument.makeFontDescriptor(PDFDocument.java:864)
        at org.apache.fop.pdf.PDFDocument.makeFont(PDFDocument.java:768)
        at
org.apache.fop.render.pdf.FontSetup.addToResources(FontSetup.java:282)
        at org.apache.fop.render.pdf.PDFRenderer.render(PDFRenderer.java:133)
        at org.apache.fop.apps.Driver.render(Driver.java:471)
        at
org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:60)
        at org.apache.fop.apps.Fop.main(Fop.java:19)



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

Reply via email to