tecnickcom / TCPDF

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

TCPDF timesB font shows incorrect character capital N #579

Open roelandkuiper opened 1 year ago

roelandkuiper commented 1 year ago

Hi guys and gals,

When creating a PDF with TCPDF and when using the font "timesB", the capital letter N is not showing correctly on Apple iOS devices with iOS 16 installed. I have tested this on multiple iOS 16 devices (iPad and iPhones) and the capital letter N in the "timesB" font is shown as a "Latin Capital Letter I With Dot Below": https://unicodeplus.com/U+1ECA

You can see it for yourself by opening the example 55 from the tcpdf.org server with an iOS 16 device. https://tcpdf.org/files/examples/example_055.pdf

Here is an example how it looks on iOS: image

On Android, Windows and Mac OS X (Catalina) everything looks fine.

Any idea what is causing the font rendering error on iOS? Is this something that can be fixed?