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: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Tue, 07 Feb 2006 10:22:27 -0500
Dear Faheem,

Unfortunately your question is somewhat outside the boundary line for this list. We cover XSL (XSLT and FO, versions 1 and 2), whereas you are asking a question about setting up FOP (a particular XSL application). It's really a Java question.

You might luck out and get some help here, but most of us won't be able to offer it, and if the diagnosis gets complicated (i.e. uses much list-bandwidth) it might not be possible to resolve it here in any case. Try asking a Java expert closer to home to look at your setup, or dig deeper into FOP's documentation, or find an Apache/FOP support group or mailing list....


At 09:57 AM 2/7/2006, you 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

Wendell Piez                            mailto:wapiez@xxxxxxxxxxxxxxxx
Mulberry Technologies, Inc.      
17 West Jefferson Street                    Direct Phone: 301/315-9635
Suite 207                                          Phone: 301/315-9631
Rockville, MD  20850                                 Fax: 301/315-8285
  Mulberry Technologies: A Consultancy Specializing in SGML and XML

Current Thread