[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: "Matthew L. Avizinis" <mla@xxxxxxxxx>
Date: Tue, 07 Feb 2006 18:27:36 -0500
fop custom fonts
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


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.
First Name
Last Name
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.