Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
BIRT Report PDF Output Font Encoding
kagarwal
Does anyone know how to change the font encoding for the PDF output in BIRT Designer?
Currently when Birt Designer generates a PDF, it encodes all the fonts in "Identiy-H" which is causing issues in a subsequent process flow.
I would like to change the encoding to a standard font encoding.
Thanks,
Kushal
Find more posts tagged with
Comments
kclark
What kind of issues is Identiy-H causing?
kagarwal
<blockquote class='ipsBlockquote' data-author="'kclark'" data-cid="114436" data-time="1361466746" data-date="21 February 2013 - 10:12 AM"><p>
What kind of issues is Identiy-H causing?<br /></p></blockquote>
<br />
I am trying to parse the PDF report and the parser can't handle Identity-H, as such some of the characters are getting messed up.
kclark
How are you parsing the PDF? Have you tried using iText? In 3.7 you can edit the fontsConfig.xml and add/edit the <font-encodings> tag<br />
<br />
<blockquote class='ipsBlockquote' ><p><!--<br />
For <font-encodings> section,<br />
In most cases, you need not use this section, unless you are trying to use a non true-type font for<br />
PDF rendering.<br />
--></p></blockquote>
<br />
So you should be able to add something like this<br />
<br />
<pre class='_prettyXprint _lang-auto _linenums:0'>
<font-encodings>
<encoding font-family="Times-Roman" encoding="Cp1250 " />
</font-encodings></pre>