Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
PDF emitter: load fonts from relative path or from jar
FoxyBOA
Hi all!
I use BIRT since early versions and still have riddles regarding PDF emitter.
Short story:
Can I configure fontsConfig.xml to load fonts from relative path or from jar?
Long story:
We are using fop for PDF creating 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 version.
The root of evil is fontsConfig.xml
If I configure it like shown below it forks fins:
<font-paths>
<path path="fonts"/>
</font-paths>
But path doesn't allow using neither relative paths not classpath (or I can't find a 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.
Find more posts tagged with
Comments
FoxyBOA
Looks like I post my question to incorrect forum.<br />
<br />
Repost it here <a class='bbc_url' href='
http://www.birt-exchange.com/forum/deploying-integrating-birt-report-engine-applications/12480-pdf-emitter-load-fonts-relative-path-jar.html'>http://www.birt-exchange.com/forum/deploying-integrating-birt-report-engine-applications/12480-pdf-emitter-load-fonts-relative-path-jar.html</a>
;