|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] FOP Fonts
Hi, I have seen the fonts example on the FOP website - http://xml.apache.org/fop/fonts.html I have implemented a batch (.bat) file which opens the command prompt and then creates the .xml file for the font - here is the command: java -cp build\fop.jar;lib\avalon-framework.jar;lib\xml-apis.jar;lib\xercesImpl-2.2.1 .jar;lib\xalan-2.4.1.jar org.apache.fop.fonts.apps.TTFReader C:\WINDOWS\fonts\TIMES.TTF ttftimes.xml However, i'd like to be able to do this from a JAVA class / .jar file - passing only the ttf font filepath to the JAVA class. How would i go about this? Thanks Rhodri D 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
|

Cart








