Hi, As of now PoDoFo cannot generate Unicode text on a page in a PDF file. The current included PdfFont classes only support text in WinAnsiEncoding or any other 8bit encoding.
You could implement a unicode font class by yourself quite easily though.
PdfString is unicode ready and supports unicode in UTF8 and UTF-16BE. Using
PdfString PoDoFo can already add unicode text to the document metadata (e.g.
Subject, Author....).
You might want to look on CID fonts in the PDF Specification and Identity-H
encoding mapping to implement unicode yourself. This should be the easierst
approach. Each character code you write to a PDF using such a font is a 16bit
glyphindex into an embedded TTF file.
best regards,
Dom
Am Tuesday 30 October 2007 schrieb Ian:
> Hi, I need to know if PoDoFo can generate Unicode, such as Kanji
> character set strings into my PDF document? Any special issues
> I should know about before I commit to doing it?
>
> Thanks - Ian
> -- [EMAIL PROTECTED] ---
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> Podofo-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/podofo-users
--
**********************************************************************
Dominik Seichter - [EMAIL PROTECTED]
KRename - http://www.krename.net - Powerful batch renamer for KDE
KBarcode - http://www.kbarcode.net - Barcode and label printing
PoDoFo - http://podofo.sf.net - PDF generation and parsing library
SchafKopf - http://schafkopf.berlios.de - Schafkopf, a card game, for KDE
Alan - http://alan.sf.net - A Turing Machine in Java
**********************************************************************
pgpEyJK61FUNh.pgp
Description: PGP signature
------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________ Podofo-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/podofo-users
