Hi ,
first, thanks a lot for your fast replies.
Here are my code snipplets again (after changing and trying out i think
all possible combinations, including quote and non-quote combinations,
whitespaces etc..)
Although you avoid problems by removing whitespaces from font names,
that should work if you remove the quotes in the config file:
<font-triplet name="Bauer Bodoni" style="normal" weight="normal"/>
/But/ leave them in the fo file, otherwise Fop will think you're
specifying several font families as fallbacks.
from foTemplate.xsl:
<fo:block font-family="ACaslon-SemiboldSC"
font-weight="normal" font-style="normal"
font-size="33pt">
<xsl:value-of select="date" />
</fo:block>
Not sure, but specifying a drive letter in the url makes it absolute,
doesn't it? If you set the <font-base> element appropriately, specifying
the URL just like that: "path/to/my/font.pfb" should work.
Specifying a <font-base> element did not work either. What does it mean
"path/to/my/font.pfb". Where does the path starts?
Now I'm setting my font-base through fopFactory.setFontBaseUrl(String
url) like:
main class:
...
Fop fop = fopFactory.newFop(MimeConstants.MIME_PDF, foUserAgent, out);
fopFactory.setUserConfig("config/fop.xconf");
File file = new File("fonts/AWSBS___.PFM");
System.out.println(file.exists()); //result is true...
fopFactory.setFontBaseURL(file.getAbsolutePath());
System.out.println(foUserAgent.getFontBaseURL());
...
But still. It's is not working
Thanks a lot for your help!
Sabine
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]