Blank Page [message #123128] |
Thu, 02 February 2006 15:10 |
Eclipse User |
|
|
|
Originally posted by: psylvestre.sofice.fr
Hello,
I use BIRT 2.0 under JBoss 4.0.3SP1.
Under Windows, when i generate a PDF, it works fine.
Under Linux, the PDF file contains only blank pages. The number of page is
correct, but they're all blank.
Can someone help me.
Thanks in advance,
Philippe
|
|
|
Re: Blank Page [message #123184 is a reply to message #123128] |
Thu, 02 February 2006 17:53 |
|
Philippe,
From birtUser in an earlier post
Jason
put this out there in hopes it might help others. If this information
has been previously posted, please forgive my redundancy, but it took me
quite a while to figure out what was going on.
---------------------------------
Since upgrading to 2.0, my PDFs have been showing up blank. While the
bookmarks are there along with any graphical elements contained within
the report are there as well, the body contains no text.
Further confusing the issue was that all worked well on my Windows
development box, but failed once deployed to my Linux / JBoss box.
The problem ended up being related to missing truetype fonts on my Linux
box. Looking through the Birt code,
org.eclipse.birt.report.engine.emitter.pdf.FontHandler
registerDirectories() looks in specific places for TTF files. Here's
the directory list from the code:
C:/windows/fonts
d:/windows/fonts
e:/windows/fonts
f:/windows/fonts
g:/windows/fonts
C:/WINNT/fonts
d:/WINNT/fonts
e:/WINNT/fonts
f:/WINNT/fonts
g:/WINNT/fonts
/usr/X/lib/X11/fonts/TrueType
/usr/share/fonts/default/TrueType
/usr/openwin/lib/X11/fonts/TrueType
/usr/openwin/lib/locale/euro_fonts/X11/fonts/TrueType
/usr/openwin/lib/locale/iso_8859_2/X11/fonts/TrueType
/usr/openwin/lib/locale/iso_8859_5/X11/fonts/TrueType
/usr/openwin/lib/locale/iso_8859_7/X11/fonts/TrueType
/usr/openwin/lib/locale/iso_8859_8/X11/fonts/TrueType
/usr/openwin/lib/locale/iso_8859_9/X11/fonts/TrueType
/usr/openwin/lib/locale/iso_8859_13/X11/fonts/TrueType
/usr/openwin/lib/locale/iso_8859_15/X11/fonts/TrueType
/usr/openwin/lib/locale/ar/X11/fonts/TrueType
/usr/openwin/lib/locale/hi_IN.UTF-8/X11/fonts/TrueType
/usr/openwin/lib/locale/ja/X11/fonts/TT
/usr/openwin/lib/locale/ko/X11/fonts/TrueType
/usr/openwin/lib/locale/ko.UTF-8/X11/fonts/TrueType
/usr/openwin/lib/locale/KOI8-R/X11/fonts/TrueType
/usr/openwin/lib/locale/ru.ansi-1251/X11/fonts/TrueType
/usr/openwin/lib/locale/th_TH/X11/fonts/TrueType
/usr/openwin/lib/locale/zh_TW/X11/fonts/TrueType
/usr/openwin/lib/locale/zh_TW.BIG5/X11/fonts/TT
/usr/openwin/lib/locale/zh_HK.BIG5HK/X11/fonts/TT
/usr/openwin/lib/locale/zh_CN.GB18030/X11/fonts/TrueType
/usr/openwin/lib/locale/zh/X11/fonts/TrueType
/usr/openwin/lib/locale/zh.GBK/X11/fonts/TrueType
/usr/X11R6/lib/X11/fonts/TrueType
/usr/X11R6/lib/X11/fonts/truetype
/usr/X11R6/lib/X11/fonts/tt
/usr/X11R6/lib/X11/fonts/TTF
/usr/X11R6/lib/X11/fonts/OTF
/usr/share/fonts/ja/TrueType
/usr/share/fonts/truetype
/usr/share/fonts/ko/TrueType
/usr/share/fonts/zh_CN/TrueType
/usr/share/fonts/zh_TW/TrueType
/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType
Simple fix was to copy my Windows ttf files to one of these locations. I
created the /usr/share/fonts/truetype directory and ftp'd my Windows
files over, restarted JBoss, and then all was well.
I hope this helps others.
"Philippe Sylvestre" <psylvestre@sofice.fr> wrote in message
news:986670de9f6f259bd8a913b4785710e1$1@www.eclipse.org...
> Hello,
>
> I use BIRT 2.0 under JBoss 4.0.3SP1.
>
> Under Windows, when i generate a PDF, it works fine.
>
> Under Linux, the PDF file contains only blank pages. The number of page is
> correct, but they're all blank.
>
> Can someone help me.
> Thanks in advance,
>
> Philippe
>
|
|
|
Powered by
FUDForum. Page generated in 0.04150 seconds