Hello Etienne,

Thanks for replying!
I understand that some fonts do not support the Cyrillic characters.
When I use MacRoman encoding on Mac OS the Cyrillic characters are not
visible at all (no square characters). When I use Identity encoding the square
characters are visible.
But with Identity encoding widths of the chars calculating incorrectly.
Please take a look at the screenshot https://files.fm/u/urne46fd#/

Regards,

Yurii

2018-02-27 10:01 GMT+02:00 Etienne Robin <etienne.ro...@iriscorporate.com>:

> Hello,
>
> I don’t really see a problem in the result you obtain.
> The fonts are embedded subsets and, for some of them, the Cyrillic
> characters are not available in the font.
>
> It seems you are on Mac and, on my system, Chalkduster or Herculanum fonts
> do not have Cyrillic script. This explains the square characters when
> viewing the file.
>
> Am I missing something ?
>
> Regards,
>
> Etienne
>
>
> On 26 Feb 2018, at 21:14, Yurii Olenych <yolen...@gmail.com> wrote:
>
> 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/)
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot______
> _________________________________________
> Podofo-users mailing list
> Podofo-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/podofo-users
>
>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to