Hi;
The following is not working for me:
// set earlier
PdfContentByte cb;
// the code
Font font = FontFactory.getFont("Helvetica", BaseFont.IDENTITY_H, false,
12.0f);
BaseFont bf = font.getBaseFont();
cb.beginText();
cb.setFontAndSize(bf, 12.0f);
cb.showTextAligned(PdfContentByte.ALIGN_LEFT, "text that includes some
thai", 72.0f, 72.0f, 0);
cb.endText();
// notes
1) In the debugger the text does have thai in it
2) In the debugger bf.encoding == "Identity-H"
Any ideas?
Thanks - dave
-----Original Message-----
From: Paulo Soares [mailto:[EMAIL PROTECTED]
Sent: Friday, July 30, 2004 7:42 AM
To: David Thielen; itext
Subject: RE: [iText-questions] Thai fonts not displaying
If you're using the encoding Identity-H it works every time. Note that
bookmarks may not show but that is only dependent on the viewer and the
platform.
Best Regards,
Paulo Soares
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of David Thielen
> Sent: Friday, July 30, 2004 1:59 PM
> To: itext
> Subject: [iText-questions] Thai fonts not displaying
>
> Hi;
>
>
>
> Does anything special need to be done, either with iText, how
> I call it, or
> Acrobat itself so that Thai displays correctly? We have a user who has
> everything except Thai characters displaying fine but the
> Thai does not
> display.
>
>
>
> Thanks - dave
-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions