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 both FOP and BIRT for generating PDF in our web application. It would be nice to share fonts between libraries. Unfortunately, I can't find a way to do it with BIRT 2.3.1
The root of evil is fontsConfig.xml If I configure it like shown below it works 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.