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: "Matthew L. Avizinis" <mla@xxxxxxxxx>
Date: Tue, 07 Feb 2006 18:27:36 -0500
Is the font mentioned in your FOP's conf/userconfig.xml file? and are you using the -c option (if you're running from the command line) to tell it to use that file?
Matthew L. Avizinis

faheem.mahmud@xxxxxxxx wrote:

I'm trying to register a custom font in FOP so that it will be recognised
in my XSL. I'm using XSLT 1.0

I'm running the command below in order the register my custom 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

However I'm getting the error below:

Exception in thread "main" java.lang.NoClassDefFoundError:

Can you help me please the environment I'm using is:

 Win 2003 Server
JDK    1.3.1_07
FOP    0.20.5
JRE   1.3.1


************************************************************ HSBC Republic Investments Limited Registered Office: 8 Canada Square, London, E14 5HQ, United Kingdom Registered in England - Number 2845800 Authorised and regulated by the Financial Services Authority. ************************************************************

This E-mail is confidential. It may also be legally privileged. If you are not the addressee you may
not copy, forward, disclose or use any part of it. If you have received
this message in error, please delete it and all copies from your system
and notify the sender immediately by return E-mail.
Internet communications cannot be guaranteed to be timely secure, error
or virus-free. The sender does not accept liability for any errors or

Current Thread