Map in DefaultFontMapper the font Symbol with the encoding Symbol.
Paulo
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Wagoner, Mark
> Sent: Thursday, May 08, 2008 12:54 PM
> To: [email protected]
> Subject: [iText-questions] Which Font to Use
>
> I have a Swing app that generates a report that contains a
> couple of special characters; the Greek mu and the degree
> symbol. The characters are encoded as Unicode characters and
> they appear fine when rendered on the screen or sent to a
> printer. I am now trying to add a Print to PDF function.
> Everything works great except these two symbols won't show in the PDF.
>
> After reviewing the book I assume I need to set a different
> font but I can't find anything indicating which font to use.
> I am getting the PdfGraphics2D object with a
> DefaultFontMapper and have been able to change between the
> basic Helvetica, TimesRoman, etc fonts but nothing seems to
> display these glyphs.
>
> Does anyone know which font I should try?
>
> Thanks
>
Aviso Legal:
Esta mensagem é destinada exclusivamente ao destinatário. Pode conter
informação confidencial ou legalmente protegida. A incorrecta transmissão desta
mensagem não significa a perca de confidencialidade. Se esta mensagem for
recebida por engano, por favor envie-a de volta para o remetente e apague-a do
seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de
usar, revelar ou distribuir qualquer parte desta mensagem.
Disclaimer:
This message is destined exclusively to the intended receiver. It may contain
confidential or legally protected information. The incorrect transmission of
this message does not mean the loss of its confidentiality. If this message is
received by mistake, please send it back to the sender and delete it from your
system immediately. It is forbidden to any person who is not the intended
receiver to use, distribute or copy any part of this message.
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Do you like iText?
Buy the iText book: http://www.1t3xt.com/docs/book.php
Or leave a tip: https://tipit.to/itexttipjar