|
|
|
|
|
|
Re: Add My own Font Path to Birt [message #778409 is a reply to message #778284] |
Thu, 12 January 2012 16:04   |
|
I believe that call has to point to a url with a config file similar to
the fontsConfig.xml that BIRT uses.
Jason
On 1/12/2012 2:26 AM, Dude wrote:
> Hi Thanks for the quick reply
> I already read this post. I tried to do it with
> EngineConfig.setFontConfig(URL) this but I recive a SAXParseException
> with the text "Content is not allowed in prolog."
> My Code looks like this
> final EngineConfig config = new EngineConfig();
> URL url = new URL( "file:///c:/birtfonts/" );
> config.setFontConfig( url );
>
>
> What do I wrong ??
> In the birtfonts folder are ttf Files Thanks for any help
>
> dude
|
|
|
|
Re: Add My own Font Path to Birt [message #778680 is a reply to message #778536] |
Fri, 13 January 2012 16:20   |
|
Did you try changing the url in the EngineConfig after the app was
running? You could also try changing the system property.
Jason
On 1/13/2012 2:31 AM, Dude wrote:
> Hi Jason
> You are right this what i figured out yesterday already!
> Now my point is how is it possible to make it dynamicaly.
> With this solution you can only add at the startup I want to do it while
> the app is running
> Dude
|
|
|
|
Powered by
FUDForum. Page generated in 0.02437 seconds