[fpc-pascal] fpPDF and support of Latin2 charset

LacaK lacak at zoznam.sk
Wed Mar 20 09:39:05 CET 2019


>
>
>>>> Is there way how to get correct PDF file WITHOUT embedding full 
>>>> Courier font?
>>>
>>> You can embed only the needed characters for every font ?
>> Probably yes, but fpPDF will not handle this automatically? AFAIK I 
>> can not control this.
>>
>> But why I get unreadable characters? What I am doing wrong ?
>>
> It seems that there is problem specific to CourierNew font (cour.ttf).
> With Arial (arial.ttf) it works as expected.
>
> Attached program which demonstrates problem.

Reported as bug https://bugs.freepascal.org/view.php?id=35251
(probably there is problem in parsing Courier New TTF font?)

-Laco.





More information about the fpc-pascal mailing list