From: Eva P. <car...@gm...> - 2011-06-15 23:33:49
|
Hi when i need to extract text from the text operator, std::string is used. When text in operator has some unicode charaxters, the are truncated in std::string and I am unable to get is back. Try for example word "graficky" in "zadani.pdf" distributed with pdfeditor. I solved this issue by changinf paraneter from std::string to std::wstring, which works well ( i am not sure if this is correct way) Regards Eva |
From: Eva P. <car...@gm...> - 2011-06-16 08:05:59
|
Hi when i need to extract text from the text operator, std::string is used(I use GetFontText method). When text in operator has some unicode characters, the are truncated in std::string and I am unable to get it back. Try for example word "graficky" in "zadani.pdf" distributed with pdfeditor. (ligature "fi") I solved this issue by changing paraneter from std::string to std::wstring, which works well ( i am not sure if this is correct way) Regards Eva |
From: Michal H. <ms...@gm...> - 2011-06-17 08:11:07
|
On Thu, Jun 16, 2011 at 10:05:49AM +0200, Eva Pešková wrote: > Hi > > when i need to extract text from the text operator, std::string is > used(I use GetFontText method). When text in operator has some unicode > characters, the are > truncated in std::string and I am unable to get it back. Try for > example word "graficky" in "zadani.pdf" distributed with pdfeditor. > (ligature "fi") > I solved this issue by changing paraneter from std::string to > std::wstring, which works well ( i am not sure if this is correct way) Care to send a patch? -- Michal Hocko |