Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » PDF emitter: load/use fonts from relative path or from jar files
PDF emitter: load/use fonts from relative path or from jar files [message #365779] Sat, 01 November 2008 10:48
Foxy BOA is currently offline Foxy BOA
Messages: 11
Registered: July 2009
Junior Member
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.
Previous Topic:Birt 2.3.1 Design Engine - Unable to get sample report to run
Next Topic:Chart Area shift
Goto Forum:
  


Current Time: Sat May 18 15:07:22 EDT 2013

Powered by FUDForum. Page generated in 0.01845 seconds