Hi,

Thank for your help! My project run! It can export to pdf file with
TTF very good!

Thank you very much!

Cheers,

Quang

On 12/23/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hi Quang,
>
> you just need the TTF directory in the classpath and set
> the filename of the font as pdfFontName="<your font name file.ttf>",
> e.g. pdfFontName="Arial.ttf". You have to look for the filename
> at the directory you add to your application classpath.
>
> Or don't you use a jrxml template file? Don't forget to set
> isPdfEmbedded="true".
>
> Kind regards,
>   Marco
>
> >Hi Marco,
> >
> >I see, but I'd like to know how to write java code use jasper report
> >to export the report to pdf file with embeded true type fonts.
> >
> >Merry Christmas and Happy New Year :-)
> >
> >Regards,
> >
> >Quang
> >
> >
> >On 12/23/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> >> Hi Quang,
> >>
> >> I use iReport 0.5.2 and do it like the following:
> >>
> >> 1. The TTF font directory you like to use has to be in
> >>    the classpath (startup of iReport and/or start application
> >>    that creates PDF)
> >> 2. In iReport choose tab "Font" in properties editor, select
> >>    "External TTF font" for PDF font name and choose your
> >>    font below with drop down box "True Type font".
> >>    In the jrxml file just set pdfFontName="<your font name file.ttf>"
> >> 3. Choose "PDF embedded" checkbox to embed the font.
> >>    In the jrxml file just set isPdfEmbedded ="true"
> >>
> >> Also Merry Christmas and a Happy New Year to all out there.
> >>
> >> Kind regards,
> >>  Marco
> >>
> >>
> >> >Hi all,
> >> >
> >> >I'm working with JasperReport on export to pdf file function.
> >> >My report is in Vietnamese so it can't be read in Adobe Reader.\
> >> >
> >> >I don't know how to write code to embed the true type font
> >> >(such as Times New Roman, Arial, and so on) to a pdf file.
> >> >
> >> >if possible, can you send me a small example?
> >> >
> >> >Thank you very much.
> >> >Merry Christmas and Happy new Year!
> >> >
> >> >Best regards,
> >> >
> >> >Quang.
> >>
> >
> >
> >-------------------------------------------------------
> >This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> >for problems?  Stop!  Download the new AJAX search engine that makes
> >searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> >http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
> >_______________________________________________
> >jasperreports-questions mailing list
> >jasperreports-questions@lists.sourceforge.net
> >https://lists.sourceforge.net/lists/listinfo/jasperreports-questions
>


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions

Reply via email to