[Podofo-users] Fonts with Identity encoding
A PDF parsing, modification and creation library.
Brought to you by:
domseichter
|
From: Yurii O. <yol...@gm...> - 2018-02-26 20:14:23
|
Hello! I have some problems with fonts after updating the library from 0.9.3 to 0.9.4/5. I am creating a new PDF file with Cyrillic text. I am using TTF fonts with Identity encoding.Code example: https://pastebin.com/zG67ZUZb The resulting text is expanded (See PDF https://files.fm/u/k67xwbf4). If I use MacRoman or WinAnsi encoding everything is OK but there is no Cyrillic text. Also, I have noticed that if I copy text from PDF to Notepad - the text has a bad encoding. On 0.9.3 version everything is OK. The regression was introduced with the following changes [r1694].(https://sourceforge.net/p/podofo/code/1694/) |