Hello,

I work with "Lucida Grande" Font on Mac Os X system.

I wish to write this string on my pdf file :

"pdr\u1E0F\u025C".

When i open my pdf file, i obtain this string :

"pdr??"

my source :

"

Document document = new Document();


PdfWriter.getInstance(document, new FileOutputStream("myfile.pdf"));


document.open();


BaseFont fnt = BaseFont.createFont(

"/System/library/Fonts/LucidaGrande.ttc,0",

        BaseFont.MACROMAN, BaseFont.EMBEDDED);



Font current = new Font(fnt, 12);

document.add(new Phrase("pdr\u1E0F\u025C", current));

"


I tried differents solutions, and anything doesn't work !

Can you help me please ?
_________

best regards,

Fabrice MAUPIN
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to