tecnickcom / TCPDF

Official clone of PHP library to generate PDF documents and barcodes
https://tcpdf.org
Other
4.19k stars 1.51k forks source link

Font conversion not working for Karla #376

Open olivierberten opened 3 years ago

olivierberten commented 3 years ago

Hi!

I tried using https://fonts.google.com/specimen/Karla with tcpdf but didn't manage properly.

First of all, when converting it directly with tcpdf it doesn't work. You can sort of making it work by changing TrueTypeUnicode with TrueType but then you lose non-ascii characters, like € for instance.

I did manage with subsetting with https://everythingfonts.com/subsetter but another issue arose which I guess is not related to tcpdf but I thought useful to refer it here: that font doesn't show up on some Adobe products. Reported here: https://acrobat.uservoice.com/forums/595576-acrobat-reader-for-android/suggestions/43398378-font-not-showing-up-on-the-android-app

olivierberten commented 3 years ago

Even though it's working with pretty much all pdf viewers, it doesn't validate on https://www.pdf-online.com/osa/validate.aspx