xsl-list
[Top] [All Lists]

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

2006-02-07 08:22:27
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....

Cheers,
Wendell

At 09:57 AM 2/7/2006, you wrote:

Hi,

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
Fspbr01.xml

However I'm getting the error below:

Exception in thread "main" java.lang.NoClassDefFoundError:
lib\avalon-framework-cvs-20020806/jar;

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

Regards,
Fah




************************************************************
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
omissions.


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--


======================================================================
Wendell Piez                            
mailto:wapiez(_at_)mulberrytech(_dot_)com
Mulberry Technologies, Inc.                http://www.mulberrytech.com
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
======================================================================


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--