Home
Analytics
Rendering Arabic Text in a PDF Report
Mike Reidy
Hello,
I have a very simple test report with a single line of Arabic text in it. When preview the report within Eclipse in html or pdf on my development Windows box all is well. However when I try any of the following;
1. render my report to pdf on a web application using the run and render tasks
or
2. preview the report using Eclipse on Mac
All of the Arabic text appears as a single fullstop ("."), I read a little about this and think this is down to font support on these platforms.
My questions are;
1. has anyone had a similar issue?
2. how did you fix it?
3. can you point me at documentation that might help me fix this issue for myself? I would prefer to fix the Linux runtime over the Mac development environment.
Find more posts tagged with
Comments
JasonW
I would expect that this is a fontsConfig issue. Take a look at this bugzilla entry:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=347431
Take a look at these as well:
http://www.eclipse.org/forums/index.php/t/243572/
http://www.birt-exchange.org/org/forum/index.php/topic/17979-problems-with-fonts/page__s__511b82063d555da11d88f8d60bf32449
http://www.birt-exchange.org/org/forum/index.php/topic/24424-chart-contains-korean-labels-did-not-display-corectlly-in-linux-environment/page__pid__94110__st__0&#entry94110
Jason
Mike Reidy
Would there be an example file showing how to load one of the arabic fonts installed in the rpm package fonts-arabic.<br />
<br />
If that is not possble is there a document that describes the fontsConfig file and what values should go into the various places in this document. <br />
<br />
<br />
<blockquote class='ipsBlockquote' data-author="'JasonW'" data-cid="101558" data-time="1338567952" data-date="01 June 2012 - 09:25 AM"><p>
I would expect that this is a fontsConfig issue. Take a look at this bugzilla entry:<br />
<a class='bbc_url' href='
https://bugs.eclipse.org/bugs/show_bug.cgi?id=347431'>https://bugs.eclipse.org/bugs/show_bug.cgi?id=347431</a><br
/>
Take a look at these as well:<br />
<a class='bbc_url' href='
http://www.eclipse.org/forums/index.php/t/243572/'>http://www.eclipse.org/forums/index.php/t/243572/</a><br
/>
<a class='bbc_url' href='
http://www.birt-exchange.org/org/forum/index.php/topic/17979-problems-with-fonts/page__s__511b82063d555da11d88f8d60bf32449'>http://www.birt-exchange.org/org/forum/index.php/topic/17979-problems-with-fonts/page__s__511b82063d555da11d88f8d60bf32449</a><br
/>
<a class='bbc_url' href='
http://www.birt-exchange.org/org/forum/index.php/topic/24424-chart-contains-korean-labels-did-not-display-corectlly-in-linux-environment/page__pid__94110__st__0&#entry94110'>http://www.birt-exchange.org/org/forum/index.php/topic/24424-chart-contains-korean-labels-did-not-display-corectlly-in-linux-environment/page__pid__94110__st__0&#entry94110</a><br
/>
<br />
Jason<br /></p></blockquote>
JasonW
I do not know of an example. We definately will need to look into creating one. For documentation, I think the best place is in the fonts config file itself:
http://www.birt-exchange.org/org/forum/index.php/topic/24424-chart-contains-korean-labels-did-not-display-corectlly-in-linux-environment/page__pid__94110__st__0&#entry94110
Jason