On Wed, Oct 28, 2020 at 7:15 AM Dmytro Tristan <tristan...@outlook.com>
wrote:

> Hi Guys,
>
> I'm waiving an issue with drawing Cyrillic text in pdf document, which i
> create using PdfStreamedDocument class.
>
> I searched via mailing list archive and had found couple similar threads.
> First (https://sourceforge.net/p/podofo/mailman/message/36872812/)
> propose to build and install version from trunk, what I had tried, but i
> think solution is outdated as trunk was updated since then.
>

No, it is not outdated. For a truetype font subset is needed to be used
CreateFontSubset with some newer podofo in which it is working. I
personally doubt that anyone will try to fix old versions of
podofo. Looking at your pdf the problem is probably due to missing some pdf
font structures compared to a pdf generated by the latest podofo and font
is probably treated as if it has single-byte encoding and effect of this
are these mentioned extra spaces.

Second (https://sourceforge.net/p/podofo/mailman/message/36238386/)
> basically shows that issue starts from 0.9.4 version. I had tested that
> with 0.9.3 and can confirm that in last one issue is not reproduced.
>
> The problem is that when I create font with Identity encoding the text
> prints with extra space between characters, the same as in mentioned
> threads. Like [l i k e] (no matter Cyrillic or Latin characters). I enclose
> example of PDF. In this PDf I use two fonts - Arial Nova Cond and Arial
> Nova Cond-Bold. First created with Identity encoding, the second with
> WinAnsiEncoding.
>
>
> I have tried different fonts with different encoding, the Cyrillic
> character either is not printed at all, either all text is printed with
> spaces;
>
> The obvious way is to check what was changed when upgrading to 0.9.4 and
> had did that, but there are a lot of changes and I do not know even where
> to start digging.
>
> Will appreciated any help with this issue.
>
> Thank you.
>
> Mitia Tristan
>
>
> _______________________________________________
> Podofo-users mailing list
> Podofo-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/podofo-users
>
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to