If this doesn't work. Can we somehow use the BaseDir to point it to the
absolute path to the TTF file packaged with FOP?
<variable name="BaseDir" select="location"/>
<font metrics-file="$BaseDir/fonts/msgothic.xml"
embed-file="$BaseDir/fonts/msgothic.TTF" kerning="yes">
Is this possible?
Gang
-----Original Message-----
From: J.Pietschmann [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 22, 2005 1:49 PM
To: [email protected]
Subject: Re: Build FOP
[EMAIL PROTECTED] wrote:
> I have used the http protocol to access the font file..
Are you sure? The "metrics-file" attribute may be an URL:
>
> <font metrics-file="http://localhost:7011/web/msgothic.xml"
but the value of "embed-file" is passed to an java.io.File constructor.
Which JVM version are you running?
J.Pietschmann
---------------------------------------------------------------------
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]