Page 1 of 1
BIRT fontsConfig.xml modification for correct PDF export - when it wil take effect?
#1
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
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
#3
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..?
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..?
Page 1 of 1






MultiQuote






