Manoj,

Thanks a lot. This is definitely a good way to go. But I am wondering
whether we can actually package the TTF files along with the FOP and
refer to the local file? Any thoughts?

Gang

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 22, 2005 11:28 AM
To: [email protected]
Subject: RE: Build FOP





Gang

I have used the http protocol to access the font file..

<font metrics-file="http://localhost:7011/web/msgothic.xml";
            embed-file="http://localhost:7011/web/msgothic.TTF";
kerning="yes">
    <font-triplet name="MSGothic" style="normal" weight="normal"/>
    <font-triplet name="MSGothic" style="normal" weight="bold"/>
   </font>

Instead of "localhost" you can use the servername where the fonts are
located..

Thanks
Manoj




 

                      "Gang Li"

                      <[EMAIL PROTECTED]        To:
<[email protected]>

                      onebs.com>               cc:

                                               Subject:  RE: Build FOP

                      03/22/2005 08:59

                      AM

                      Please respond to

                      fop-users

 

 







Also, it looks like the userconfig.xml is pointing to a locale copy of
font file. Can I make it portable? I am actually gonna build a WAR file
of FOP to deploy it on Tomcat server. How can I avoid the hard-coded
font file problem?

Thanks for your answer,
Gang

-----Original Message-----
From: Gang Li
Sent: Tuesday, March 22, 2005 10:41 AM
To: [email protected]
Subject: Build FOP


Dumb question asked again and again. But I seem to have problems
rebuilding 0.20.5 source code. Following is the error message I got. I
am trying to add "Bookman Old Style" font to support my PDF.

BUILD FAILED
file:C:/AppDown/fop-0.20.5/build.xml:438:
java.lang.ClassNotFoundException:
org.apache.tools.ant.taskdefs.optional.TraXLiaison

Any help is appreciated.

Thanks,
Gang

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]







---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to