Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Location of fontsConfig.xml for BIRT 3.7 runtime installation(Customization and location of PDF fonts)
icon5.gif  Location of fontsConfig.xml for BIRT 3.7 runtime installation [message #731517] Sat, 01 October 2011 14:59 Go to next message
FoxyBOA Mising name is currently offline FoxyBOA Mising nameFriend
Messages: 6
Registered: October 2011
Junior Member
I'm trying to upgrade from BIRT 2.6.x to 3.7.1.

In 2.6 fontsConfig.xml file was located in org.eclipse.birt.report.engine.fonts* folder. I need to change mapping in the file:
<mapping name="sans-serif" font-family="Arial" />
and add new fonts folder
<font-paths>
<path path="fonts"/>
</font-paths>

My question is, how to customiza that with BIRT 3.7.1 runtime installation?

I found that fontsConfig*.xml files as embeded to jar file org.eclipse.birt.runtime_3.7.1.v20110913-1734.jar. The jar file is signed (can't modify it manually).

Please, help ... Evil or Very Mad

[Updated on: Mon, 03 October 2011 07:02]

Report message to a moderator

Re: Location of fontsConfig.xml for BIRT 3.7 runtime installation [message #731952 is a reply to message #731517] Mon, 03 October 2011 14:40 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Take a look at this bug:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=347431

Jason

On 10/1/2011 10:59 AM, FoxyBOA wrote:
> I'm trying to upgrade from BIRT 2.6.x to 3.7.1.
> In 2.6 fontsConfig.xml file was located in
> org.eclipse.birt.report.engine.fonts* folder. I need to change mapping
> in the file:
> <mapping name="sans-serif" font-family="Arial" />
> and add new fonts folder
> <font-paths>
> <path path="fonts"/>
> </font-paths>
>
> My question is, how to customiza that with BIRT 3.7.1 runtime installation?
>
> I found that fontsConfig*.xml files as embeded to jar file
> org.eclipse.birt.runtime_3.7.1.v20110913-1734.jar. The jar file is
> signed (can't modify it manually).
>
> Please, help ... :evil:
Re: Location of fontsConfig.xml for BIRT 3.7 runtime installation [message #732039 is a reply to message #731952] Mon, 03 October 2011 19:08 Go to previous messageGo to next message
FoxyBOA Mising name is currently offline FoxyBOA Mising nameFriend
Messages: 6
Registered: October 2011
Junior Member
Not exactly. I wish to change font mapping for sans-serif which must be done in fontsConfig.xml.
Re: Location of fontsConfig.xml for BIRT 3.7 runtime installation [message #732040 is a reply to message #732039] Mon, 03 October 2011 19:09 Go to previous messageGo to next message
FoxyBOA Mising name is currently offline FoxyBOA Mising nameFriend
Messages: 6
Registered: October 2011
Junior Member
Fortunately a man from stackoverflow.com helps me. Here is a recipe:

It's not the cleanest way to go, but it's possible to edit them inside the jar file. You can remove the signature by deleting META-INF/ECLIPSEF.SF and removing everything from META-INF/MANIFEST.MF that goes after it's main section (filenames and digests...alternatively, remove just sections of the config files). It's not required to have the jar signed (I suppose it depends on security manager's settings, but under default settings it runs fine).
Re: Location of fontsConfig.xml for BIRT 3.7 runtime installation [message #732041 is a reply to message #732040] Mon, 03 October 2011 19:10 Go to previous messageGo to next message
FoxyBOA Mising name is currently offline FoxyBOA Mising nameFriend
Messages: 6
Registered: October 2011
Junior Member
Just in case, cross post to original answer - http://stackoverflow.com/questions/7619727/birt-3-7-runtime-customizing-of-pdf-fonts-and-jdbc-drivers-are-not-possible-anym

[Updated on: Mon, 03 October 2011 19:12]

Report message to a moderator

Re: Location of fontsConfig.xml for BIRT 3.7 runtime installation [message #732042 is a reply to message #732041] Mon, 03 October 2011 19:12 Go to previous message
FoxyBOA Mising name is currently offline FoxyBOA Mising nameFriend
Messages: 6
Registered: October 2011
Junior Member
That stupid forum doesn't allow me insert correct external link, before my 5 post. Just dummy post #5.
Previous Topic:Report variable does not exist
Next Topic:BIRT 3.7 Integration-Cannot find the ODA dataSource extension :org.eclipse.birt.report.data.oda.jdbc
Goto Forum:
  


Current Time: Fri Sep 20 06:32:16 GMT 2024

Powered by FUDForum. Page generated in 0.27181 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top