On Tue, 2009-07-21 at 10:45 +0200, Vincent den Boer wrote: > Hello everyone, > > I'm planning to use PoDoFo. I looked through the API docs and everything I > need > is supported. I also read that the library is Unicode compatible. The only > problem is that I have little knowledge of Unicode and C++ since I normally > have > other libraries deal with encoding issues. I need to read some text from a > UTF-8 > encoded file and display it in a PDF document. Could anyone please give me > some > pointers on how to do that?
PoDoFo works with utf8 and UTF16BE unicode data in most places where it matters. You should be able to feed your UTF-8 encoded text straight into (eg) PdfString. If all you need to do is create new PDF files, though, there are alternatives that you might find a better fit for your needs than PoDoFo. PoDoFo is low level and rather capable in terms of being able to parse/edit/write PDF, but you need to know a bit about PDF to get the best out of it. If it'll do what you need, then great. I'd suggest looking at Cairo <http://cairographics.org/> too, though, as it's potentially a very good option that's rather easy to use for simple PDF output. -- Craig Ringer ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Podofo-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/podofo-users
