Skip to main content



      Home
Home » Archived » BIRT » Fonts in PDF
Fonts in PDF [message #163358] Mon, 22 May 2006 08:11 Go to next message
Eclipse UserFriend
Hi.

I am using BIRT 2.1RC3.
I designed a report on Windows and deployed report file on FreeBSD system
where BIRT 2.1 RC3 Report Engine is generating PDFs from this report file.
But I am having problems because some characters in report are
Central-European when designing in Windows but when PDFs are generated on
FreeBSD CE characters are not showed correctly.

How could I solve this? Probably I must include the font I use on Windows to
the BIRT Report Engine on FreeBSD. How do I do that?

Thank you,
Borut
Re: Fonts in PDF [message #163425 is a reply to message #163358] Mon, 22 May 2006 11:05 Go to previous messageGo to next message
Eclipse UserFriend
I found out that PDFRenderContext has two properties for handling fonts:

PDFRenderContext renderContext = new PDFRenderContext();
renderContext.setEmbededFont(false);
renderContext.setFontDirectory(/usr/local/app/test/fonts);

However I dont know how to use this. In /fonts folder I copy some Arial TTF
fonts from Windows but it does not work and I cannot find any documentation
on this subject.
How do I set the font directory? Must there be something else configured?

Regards,
Borut
Re: Fonts in PDF [message #163882 is a reply to message #163425] Tue, 23 May 2006 15:53 Go to previous message
Eclipse UserFriend
So nobody knows how to configure Report Engine to use custom fonts?

Regards,
Borut

"Borut" <zagarb@hotmail.com> wrote in message
news:e4sjvn$nh9$1@utils.eclipse.org...
>I found out that PDFRenderContext has two properties for handling fonts:
>
> PDFRenderContext renderContext = new PDFRenderContext();
> renderContext.setEmbededFont(false);
> renderContext.setFontDirectory(/usr/local/app/test/fonts);
>
> However I dont know how to use this. In /fonts folder I copy some Arial
> TTF fonts from Windows but it does not work and I cannot find any
> documentation on this subject.
> How do I set the font directory? Must there be something else configured?
>
> Regards,
> Borut
>
Previous Topic:Views in queries
Next Topic:sort by code
Goto Forum:
  


Current Time: Tue Jul 15 09:05:26 EDT 2025

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

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

Back to the top