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

Re: Registering a Custom ttf within FOP is giving me

Subject: Re: Registering a Custom ttf within FOP is giving me Problems Help Please
From: Geert Josten <Geert.Josten@xxxxxxxxxxx>
Date: Tue, 07 Feb 2006 16:06:34 +0100
registering a font
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.for.apps.TTFReader Fonts\Fspbr01.ttf
Fspbr01.xml

Your classpath contains spaces. You can either remove them or put the whole classpath between quotes. Java thinks that lib\avalon-framework-cvs-20020806.jar is a separate argument and assumes it is the name of a class that should be loaded. That is obviously not correct. :-)


Cheers,
Geert

PS: make sure you properly refer to ttf font and metric files or your PDF will look really funny (wrong symbols or wrong white spacing around characters)

Current Thread

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-2011 All Rights Reserved.