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