You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Rikhil Jain <Ri...@infy.com> on 2002/03/14 10:48:57 UTC
problem in embedding font
Hi all ,
I tried to embed barcode font of windows encoding (not identity-H etc. ) in PDF .For that
I tried to generate XML using this command .
java org.apache.fop.fonts.apps.TTFReader -ttcname "barcode" sAdvI25b.ttf sAdvI25b.xml
TTF Reader v1.1.1
Reading sAdvI25b.TTF...
Number of glyphs in font: 119
Unicode cmap table not present
java.util.NoSuchElementException: Vector Enumeration
at java.util.Vector$1.nextElement(Unknown Source)
at org.apache.fop.fonts.TTFFile.createCMaps(TTFFile.java:398)
at org.apache.fop.fonts.TTFFile.readFont(TTFFile.java:387)
at org.apache.fop.fonts.apps.TTFReader.loadTTF(TTFReader.java:181)
at org.apache.fop.fonts.apps.TTFReader.main(TTFReader.java:143)
and when I tried for another true type
java org.apache.fop.fonts.apps.TTFReader sAdvI25b.TTF sadvc39e.ttf sadvc39e.xml
Number of glyphs in font: 119
java.io.EOFException: Reached EOF, file size=37560 offset=100592
at org.apache.fop.fonts.FontFileReader.seek_set(FontFileReader.java:78)
at org.apache.fop.fonts.TTFFile.readCMAP(TTFFile.java:217)
at org.apache.fop.fonts.TTFFile.readFont(TTFFile.java:386)
at org.apache.fop.fonts.apps.TTFReader.loadTTF(TTFReader.java:181)
at org.apache.fop.fonts.apps.TTFReader.main(TTFReader.java:143)
can anybody tell me whether true type font with windows encoding support by FOP or not .
if yes then how to embed it
thanks in advance.
Regards
Rikhil
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org