Subject: RE: [xsl] FOP conversion font problems From: Mike Ferrando <mikeferrando@xxxxxxxxx> Date: Wed, 23 Apr 2003 09:29:55 -0700 (PDT) |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] xsl-fo header problems, David . Pawson | Thread | Re: [xsl] xsl-fo header problems, G. Ken Holman |
Re: [xsl] count of how many times a, S Woodside | Date | Re: [xsl] controller stylsheet. per, S Woodside |
Month |