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.


_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to