[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Registering a Custom ttf within FOP is giving me Problems Help Please


Subject: Re: [xsl] 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

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