Re: [Podofo-users] Get JP characters from PDF

2015-06-22 Thread zyx
On Mon, 2015-06-22 at 15:24 +, Dineshkumar Ramalingam wrote: Hi, We are getting Ú0ü0¸0 while painting. We have tries with UTF-8, but we are getting like ã…ㅼㇸ 2. Encoding used: new PdfIdentityEncoding( 0, 0x, true ) as mentioned CreationTest.cpp Hi, it's weird.

Re: [Podofo-users] Get JP characters from PDF

2015-06-22 Thread Dineshkumar Ramalingam
Hi, Code portion taken from CreationTest.cpp is not working for me, Code Used: void CreateUnicodeAnnotationText( PdfPage* pPage, PdfDocument* /*pDocument*/ ) { PdfString sJap(reinterpret_castconst pdf_utf8*(「PoDoFo」は今から日本語も話せます。)); PdfAnnotation* pAnnotation =

Re: [Podofo-users] Get JP characters from PDF

2015-06-22 Thread Dineshkumar Ramalingam
Hi, We can able to get the Unicode string by using 'GetStringW()' method. It returns 'std::wstring'. But if we try to convert 'std::wstring' to PdfString then it gives the wrong characters. We tries below line to convert 'std::wstring' to PdfString, PdfString pdfstring(reinterpret_castconst

Re: [Podofo-users] Get JP characters from PDF

2015-06-22 Thread Dineshkumar Ramalingam
Hi, Thanks for your support. We can able to get the Unicode string(pdf_utf16be) from std::wstring. But if we try to paint the string by using PdfPainter, it's not actually painting. const PdfEncoding* pEncoding = new PdfIdentityEncoding();

Re: [Podofo-users] Get JP characters from PDF

2015-06-22 Thread zyx
On Mon, 2015-06-22 at 06:47 +, Dineshkumar Ramalingam wrote: Hi, We can able to get the Unicode string by using ‘GetStringW()’ method. It returns ‘std::wstring’. But if we try to convert ‘std::wstring’ to PdfString then it gives the wrong characters. We tries below line to

[Podofo-users] Support Required

2015-06-22 Thread Hariprabhakaran C
Hi, Using Podofo we are trying to load the pdf document in to the memory and extract the pdf objects. The function GetObjects().GetObjectCount() returns the invalid object count and when we try to assign the objects to TCIVecObjects, the application crashes. Below is the sample snippet of the

Re: [Podofo-users] Get JP characters from PDF

2015-06-22 Thread zyx
On Mon, 2015-06-22 at 16:13 +, Dineshkumar Ramalingam wrote: My Podofo version: 0.9.1 Hi, try to update to at least 0.9.3 (current stable release), but the best if you try the svn trunk, which is at revision 1673 right now. Here they used Annotation, but I want to use