[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.birt] PDF emitter: load/use fonts from relative path or from jar files
|
- From: boa@xxxxxxxxxxx (FoxyBOA)
- Date: Sat, 1 Nov 2008 14:48:17 +0000 (UTC)
- Newsgroups: eclipse.birt
- Organization: Eclipse
- User-agent: NewsPortal/0.36 (http://florian-amrhein.de/newsportal)
Hi all!
I use BIRT since early days and still have riddles regarding PDF emitter.
Short story:
Can I configure fontsConfig.xml to load fonts from relative path or from
jars?
Long story:
We are using FOP for generating PDF in our web application as well as
BIRT. It will be nice to share fonts between libraries. Unfortunately, I
can't find a way how to do it with BIRT 2.3.1
The root of evil is fontsConfig.xml
If I configure it like shown below it forks fine:
<font-paths>
<path path="fonts"/>
</font-paths>
But path doesn't allow me using neither relative paths not classpath (or I
can't find an appropriate way how to configure it).
Neither config1 nor config2 works.
Config1:
<font-paths>
<path path="../fonts"/>
</font-paths>
Config2:
<font-paths>
<path path="classpath:fonts"/>
</font-paths>
Any thoughts will be appreciated.