[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

FOP Fonts

Subject: FOP Fonts
From: "Skwirel Software Ltd" <mail@xxxxxxxxxxx>
Date: Wed, 19 Nov 2003 17:15:54 -0000
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


Current Thread
  • FOP Fonts
    • Skwirel Software Ltd - Wed, 19 Nov 2003 12:16:50 -0500 (EST) <=

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.