BIRT Exchange Forum: BIRT fontsConfig.xml modification for correct PDF export - when it wil take effect? - BIRT Exchange Forum

Jump to content


 

BIRT Poll: To best make a table fill a pdf page before breaking (PL=page layout, PBI=page break interval) set:

PL: auto, PBI: 0PL: fixed, PBI: 0PL: auto, PBI: 1000000PL: fixed, PBI: 1000000
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

BIRT fontsConfig.xml modification for correct PDF export - when it wil take effect? Rate Topic: -----

#1 User is offline   Dejan8888 Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 17
  • Joined: 14-May 12


Posted 14 May 2012 - 11:40 PM

I have problem because report which I create in BIRT (on my local machine) is displayed correctly in preview. Also when I import it on server (IBM Maximo application) it is displayed correctly in HTML. But when I export it to PDF because of Cyrillic language it is not displayed correctly.

I found solution for Central European (for TCR but I think it is similar) http://www-01.ibm.co...uid=swg21370210

It says to change encoding from encoding="Cp1252" to encoding="Cp1250"

So I change it.

<font-encodings>
<encoding font-family="Times-Roman" encoding="Cp1250 " />
<encoding font-family="Helvetica" encoding="Cp1250 " />
<encoding font-family="Courier" encoding="Cp1250 " />
<encoding font-family="Zapfdingbats" encoding="Cp1250 " />
<encoding font-family="Symbol" encoding="Cp1250 " />
<encoding font-family="STSong-Light" encoding="UniGB-UCS2-H" />
<encoding font-family="STSongStd-Light" encoding="UniGB-UCS2-H" />
<encoding font-family="MHei-Medium" encoding="UniCNS-UCS2-H" />
<encoding font-family="MSung-Light" encoding="UniCNS-UCS2-H" />
<encoding font-family="MSungStd-Light" encoding="UniCNS-UCS2-H" />
<encoding font-family="HeiseiMin-W3" encoding="UniJIS-UCS2-H" />
<encoding font-family="HeiseiKakuGo-W5" encoding="UniJIS-UCS2-H" />
<encoding font-family="KozMinPro-Regular" encoding="UniJIS-UCS2-H" />
<encoding font-family="HYGoThic-Medium" encoding="UniKS-UCS2-H" />
<encoding font-family="HYSMyeongJo-Medium" encoding="UniKS-UCS2-H" />
<encoding font-family="HYSMyeongJoStd" encoding="UniKS-UCS2-H" />
</font-encodings>

I change this, I restarted BIRT (on my local machine ) I duplicate some old report (I suppose that this new report is now created with new fontsConfig file) I imported that new report in server but PDF is still not displayed correctly. My question is what do I have to do to changes take effect? Also I change fontsConfig_Pdf file but still without effect
0

#2 User is offline   mblock Icon

  • Expert Member
  • View blog
  • Group: Members
  • Posts: 205
  • Joined: 07-August 07


Posted 15 May 2012 - 10:10 PM

View PostDejan8888, on 15 May 2012 - 12:40 AM, said:

So I change it.


Did you change this on you local machine or on the Maximo Server? If you changed on the Maximo Server, it might require a rebuild and redeploy.
0

#3 User is offline   Dejan8888 Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 17
  • Joined: 14-May 12


Posted 16 May 2012 - 12:17 AM

mblock thanks for reply,

I change it on Maximo and rebuild.
Now when I export to PDF I got question marks ????? instead of letters which I didn't have before. Now changes take effect but they are wrong changes:)

Do you know maybe what is the correct way so my letters can be shown with the same font as some English letters in PDF? What fon family or encoding should I put?
What files should I change - only fontsConfig or- and fontsConfig_PDF etc..?
0

#4 User is offline   mblock Icon

  • Expert Member
  • View blog
  • Group: Members
  • Posts: 205
  • Joined: 07-August 07


Posted 16 May 2012 - 07:29 PM

Look at this:

http://www.eclipse.o.../350960/870512/
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users