[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: FOP conversion font problems
David, I was able to succesfully create an metrics xml file from a ttf file. However, the syntax at the Apache sight would not run. (http://xml.apache.org/fop/embedding.html) I removed some of what seemed to me to be the incorrect syntax (maybe repeated in error). I ran the line again and I did get something. However, I then had to figure out the error messages (thank goodness for these list archives). I was then able to get a successful run. Here are my notes. (below) I hope this will help others who are having the same problems. Mike F. ===Run command line from C:\fop5> C:\fop5> java -cp build\fop.jar;lib\avalon-framework-cvs-20020806.jar;lib\xml-apis.jar;lib\xercesImpl-2.2.1.jar;lib\xalan-2.4.1.jar org.apache.fop.fonts.apps.TTFReader C:\winnt\fonts\arialuni.ttf arialuni.xml ===FILES: (check yours for correct names) c:\fop5\build\fop.jar c:\fop5\lib\avalon-framework-cvs-20020806.jar c:\fop5\lib\xalan-2.4.1.jar c:\fop5\lib\xercesImpl-2.2.1.jar c:\fop5\lib\xml-apis.jar c:\winnt\fonts\arialuni.tff ==Full command line without breaks:=== java -cp build\fop.jar;lib\avalon-framework-cvs-20020806.jar;lib\xml-apis.jar;lib\xercesImpl-2.2.1.jar;lib\xalan-2.4.1.jar org.apache.fop.fonts.apps.TTFReader C:\winnt\fonts\arialuni.ttf arialuni.xml ===Succesful run:=== C:\fop5>java -cp build\fop.jar;lib\avalon-framework-cvs-20020806.jar;lib\xml-apis.jar;lib\xercesImpl-2.2.1.jar;lib\xalan-2.4.1.jar Org.apache.fop.fonts.apps.TTFReader C:\winnt\fonts\arialuni.ttf arialuni.xml TTF Reader v1.1.1 Reading C:\winnt\fonts\arialuni.ttf... Number of glyphs in font: 51180 Postscript format 3 Creating xml font file... Creating CID encoded metrics Writing xml font file arialuni.xml... This font contains no embedding license restrictions __________________________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo http://search.yahoo.com XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|