Home
Analytics
BIRT PDF document encoding
Naveen V M
<p>Hi Guys -</p>
<p> </p>
<p> I am using Birt 2.6.0. I want to know the encoding type that is used to generate the PDF document? And, is there any way by which I can generate using UTF-8 encoding?</p>
<p> </p>
<p>Many Thanks in Advance,</p>
<p>Naveen.</p>
Find more posts tagged with
Comments
mwilliams
Take a look in your fontsConfig_pdf.xml in plugins/org.eclipse.birt.report.engine.fonts_version.
Naveen V M
<p>Hi Michael -<br>
<br>
Thanks for your reply. Attached is the contents from fontsconfig_pdf.xml file. can you please suggest the change to generate in UTF-8?</p>
<p> </p>
<p>fontsConfig_pdf.xml:</p>
<p> </p>
<p><?xml version="1.0" encoding="UTF-8"?><br>
<font><br>
<font-aliases><br>
<mapping name="serif" font-family="Times-Roman" /><br>
<mapping name="sans-serif" font-family="Helvetica" /><br>
<mapping name="monospace" font-family="Courier" /><br>
</font-aliases><br>
<font-encodings><br>
<encoding font-family="Times-Roman" encoding="Cp1252" /><br>
<encoding font-family="Helvetica" encoding="Cp1252" /><br>
<encoding font-family="Courier" encoding="Cp1252" /><br>
<encoding font-family="Zapfdingbats" encoding="Cp1252" /><br>
<encoding font-family="Symbol" encoding="Cp1252" /><br>
<encoding font-family="STSong-Light" encoding="UniGB-UCS2-H" /><br>
<encoding font-family="STSongStd-Light" encoding="UniGB-UCS2-H" /><br>
<encoding font-family="MHei-Medium" encoding="UniCNS-UCS2-H" /><br>
<encoding font-family="MSung-Light" encoding="UniCNS-UCS2-H" /><br>
<encoding font-family="MSungStd-Light" encoding="UniCNS-UCS2-H" /><br>
<encoding font-family="HeiseiMin-W3" encoding="UniJIS-UCS2-H" /><br>
<encoding font-family="HeiseiKakuGo-W5" encoding="UniJIS-UCS2-H" /><br>
<encoding font-family="KozMinPro-Regular" encoding="UniJIS-UCS2-H" /><br>
<encoding font-family="HYGoThic-Medium" encoding="UniKS-UCS2-H" /><br>
<encoding font-family="HYSMyeongJo-Medium" encoding="UniKS-UCS2-H" /><br>
<encoding font-family="HYSMyeongJoStd" encoding="UniKS-UCS2-H" /><br>
</font-encodings><br>
<composite-font name="all-fonts"><br>
<font font-family="Times-Roman" catalog="Western" /><br>
<font font-family="MSung-Light" catalog="Chinese" /><br>
<font font-family="HeiseiKakuGo-W5" catalog="Japanese" /><br>
<font font-family="HYGoThic-Medium" catalog="Korean" /><br>
</composite-font><br>
</font></p>
<p>
<br>
Thanks In Advance,<br>
Naveen.</p>
mwilliams
<p>My guess would be to change the encoding from cp1252 to utf-8 in the <font-encoding> section for the font family you're using. If the font family you're using isn't there, you would probably need to add it.</p>