Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » BIRT 3.7 not show unicode characters(reports on linux do not display unicode characters)
BIRT 3.7 not show unicode characters [message #775165] Thu, 05 January 2012 13:34 Go to next message
Lukas A is currently offline Lukas AFriend
Messages: 3
Registered: January 2012
Junior Member
I have deployed BIRT 3.7.1 reports on a Redhat Linux production server in a birt-viewer directory and the problem is that not all unicode characters are displayed, and after failure the left report is blank. Reports are developed on a windows xp x64 machine and I have copied all windows fonts to the linux machine but still the same problem.
Any ideas?
Edit: Forgot to mention that I try to generate pdf, html is ok.

[Updated on: Thu, 05 January 2012 14:56]

Report message to a moderator

Re: BIRT 3.7 not show unicode characters [message #775308 is a reply to message #775165] Thu, 05 January 2012 18:41 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Where did you put the fonts on the Linux box?

Jason

On 1/5/2012 8:34 AM, Lukas A wrote:
> I have deployed BIRT reports on a Redhat Linux production server in a
> birt-viewer directory and the problem is that not all unicode characters
> are displayed, and after failure the left report is blank. Reports are
> developed on a windows xp x64 machine and I have copied all windows
> fonts to the linux machine but still the same problem.
> Any ideas?
>
Re: BIRT 3.7 not show unicode characters [message #775537 is a reply to message #775308] Fri, 06 January 2012 08:00 Go to previous messageGo to next message
Lukas A is currently offline Lukas AFriend
Messages: 3
Registered: January 2012
Junior Member
Hi Jason,
I put them to /usr/share/fonts/default/TrueType/ and then rebuild font cache fc-cache -f -v but still no luck
Re: BIRT 3.7 not show unicode characters [message #775747 is a reply to message #775537] Fri, 06 January 2012 16:06 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Here is a list of directories that are already in the fontsConfig.xml

<font-paths>
<path path="C:/windows/fonts" />
<path path="d:/windows/fonts" />
<path path="e:/windows/fonts" />
<path path="f:/windows/fonts" />
<path path="g:/windows/fonts" />
<path path="C:/WINNT/fonts" />
<path path="d:/WINNT/fonts" />
<path path="e:/WINNT/fonts" />
<path path="f:/WINNT/fonts" />
<path path="g:/WINNT/fonts" />
<path path="/usr/X/lib/X11/fonts/TrueType" />
<path path="/usr/share/fonts/default/TrueType" />
<path path="/usr/openwin/lib/X11/fonts/TrueType" />
<path path="/usr/openwin/lib/locale/euro_fonts/X11/fonts/TrueType" />
<path path="/usr/openwin/lib/locale/iso_8859_2/X11/fonts/TrueType" />
<path path="/usr/openwin/lib/locale/iso_8859_5/X11/fonts/TrueType" />
<path path="/usr/openwin/lib/locale/iso_8859_7/X11/fonts/TrueType" />
<path path="/usr/openwin/lib/locale/iso_8859_8/X11/fonts/TrueType" />
<path path="/usr/openwin/lib/locale/iso_8859_9/X11/fonts/TrueType" />
<path path="/usr/openwin/lib/locale/iso_8859_13/X11/fonts/TrueType" />
<path path="/usr/openwin/lib/locale/iso_8859_15/X11/fonts/TrueType" />
<path path="/usr/openwin/lib/locale/ar/X11/fonts/TrueType" />
<path path="/usr/openwin/lib/locale/hi_IN.UTF-8/X11/fonts/TrueType" />
<path path="/usr/openwin/lib/locale/ja/X11/fonts/TT" />
<path path="/usr/openwin/lib/locale/ko/X11/fonts/TrueType" />
<path path="/usr/openwin/lib/locale/ko.UTF-8/X11/fonts/TrueType" />
<path path="/usr/openwin/lib/locale/KOI8-R/X11/fonts/TrueType" />
<path path="/usr/openwin/lib/locale/ru.ansi-1251/X11/fonts/TrueType" />
<path path="/usr/openwin/lib/locale/th_TH/X11/fonts/TrueType" />
<path path="/usr/openwin/lib/locale/zh_TW/X11/fonts/TrueType" />
<path path="/usr/openwin/lib/locale/zh_TW.BIG5/X11/fonts/TT" />
<path path="/usr/openwin/lib/locale/zh_HK.BIG5HK/X11/fonts/TT" />
<path path="/usr/openwin/lib/locale/zh_CN.GB18030/X11/fonts/TrueType" />
<path path="/usr/openwin/lib/locale/zh/X11/fonts/TrueType" />
<path path="/usr/openwin/lib/locale/zh.GBK/X11/fonts/TrueType" />
<path path="/usr/X11R6/lib/X11/fonts/TrueType" />
<path path="/usr/X11R6/lib/X11/fonts/truetype" />
<path path="/usr/X11R6/lib/X11/fonts/tt" />
<path path="/usr/X11R6/lib/X11/fonts/TTF" />
<path path="/usr/X11R6/lib/X11/fonts/OTF" />
<path path="/usr/share/fonts/ja/TrueType" />
<path path="/usr/share/fonts/truetype" />
<path path="/usr/share/fonts/ko/TrueType" />
<path path="/usr/share/fonts/zh_CN/TrueType" />
<path path="/usr/share/fonts/zh_TW/TrueType" />
<path path="/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" />
</font-paths>

You can change these but you will have to unjar/rejar it:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=362057

or use a system property:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=347431

Jason


On 1/6/2012 3:00 AM, Lukas A wrote:
> Hi Jason, I put them to /usr/share/fonts/default/TrueType/ and then
> rebuild font cache fc-cache -f -v but still no luck
Re: BIRT 3.7 not show unicode characters [message #777528 is a reply to message #775747] Tue, 10 January 2012 16:29 Go to previous message
Lukas A is currently offline Lukas AFriend
Messages: 3
Registered: January 2012
Junior Member
The problem was, that we used sans-serif font on the reports. Fixed it changing font to Arial.
Previous Topic:Graphics using dynamic parameters
Next Topic:MS - Doc of version 2011 do not open
Goto Forum:
  


Current Time: Fri Dec 19 06:45:27 GMT 2014

Powered by FUDForum. Page generated in 0.31324 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software