TTF Reader on Mac OS X
Posted: Thu Dec 07, 2006 10:48 am
Hi,
I'm new to this forum. Just wanted to say that I was finally able to generate XML font metrics files for some of the fonts in a Mac OS X environment with the fop-0.92beta.
---------- /fop-0.92beta/ java classpath options and aguments ----------
build/fop.jar
lib/avalon-framework-4.2.0.jar
lib/commons-io-1.1.jar
lib/commons-logging-1.0.4.jar
lib/serializer-2.7.0.jar
lib/xml-apis-1.3.02.jar
lib/xercesImpl-2.7.1.jar
lib/xalan-2.7.0.jar org.apache.fop.fonts.apps.TTFReader /MyFonts/Verdana.ttf Verdana.xml
---------- end fop-0.92 options and arguments----------
---------- begin generated font metrics file ----------
TTF Reader for Apache FOP 0.92beta
Parsing font...
Reading /MyFonts/Verdana.ttf...
Number of glyphs in font: 893
3 cmap tables
CMAP format: 4
Creating xml font file...
Creating CID encoded metrics...
Writing xml font file Verdana.xml...
This font contains no embedding license restrictions.
XML font metrics file successfullly created.
---------- end generated file ----------
However a number of fonts would not generate the file (despite a conflicting confirmation) and I don't know particularly why.
Pre-FOP format? Licensing restriction? FOP Beta issue?
---------- begin no font metrics file ----------
TTF Reader for Apache FOP 0.92beta
Parsing font...
Reading /Users/doxanax/Documents/fomage/TimesRoman.ttf...
Number of glyphs in font: 1443
10 cmap tables
Unicode cmap table not present
Unsupported format: Aborting
XML font metrics file successfullly created.
---------- end no file ----------
I post a transformation question in the following post 'Docbook font customization'.
I'm new to this forum. Just wanted to say that I was finally able to generate XML font metrics files for some of the fonts in a Mac OS X environment with the fop-0.92beta.
---------- /fop-0.92beta/ java classpath options and aguments ----------
build/fop.jar
lib/avalon-framework-4.2.0.jar
lib/commons-io-1.1.jar
lib/commons-logging-1.0.4.jar
lib/serializer-2.7.0.jar
lib/xml-apis-1.3.02.jar
lib/xercesImpl-2.7.1.jar
lib/xalan-2.7.0.jar org.apache.fop.fonts.apps.TTFReader /MyFonts/Verdana.ttf Verdana.xml
---------- end fop-0.92 options and arguments----------
---------- begin generated font metrics file ----------
TTF Reader for Apache FOP 0.92beta
Parsing font...
Reading /MyFonts/Verdana.ttf...
Number of glyphs in font: 893
3 cmap tables
CMAP format: 4
Creating xml font file...
Creating CID encoded metrics...
Writing xml font file Verdana.xml...
This font contains no embedding license restrictions.
XML font metrics file successfullly created.
---------- end generated file ----------
However a number of fonts would not generate the file (despite a conflicting confirmation) and I don't know particularly why.
Pre-FOP format? Licensing restriction? FOP Beta issue?
---------- begin no font metrics file ----------
TTF Reader for Apache FOP 0.92beta
Parsing font...
Reading /Users/doxanax/Documents/fomage/TimesRoman.ttf...
Number of glyphs in font: 1443
10 cmap tables
Unicode cmap table not present
Unsupported format: Aborting
XML font metrics file successfullly created.
---------- end no file ----------
I post a transformation question in the following post 'Docbook font customization'.