cadsondemak / kanit

Kanit is a Thai + Latin formal sans serif font family with 18 styles
https://cadsondemak.github.io/kanit
SIL Open Font License 1.1
84 stars 25 forks source link

Font not showing properly when using in mpdf. #10

Closed Uhtredtb closed 4 years ago

Uhtredtb commented 4 years ago

I’m having an issue using Kanit font when used in MPDF https://www.npmjs.com/package/mdpdf

When the PDF generated some of the Kanit letter is not showing as properly as it should be. Please see the screenshot attached.

5D7A50F1-798F-46FD-A7AE-F10489951A08

Here is how it should be D60F2ABE-DEDB-4687-B47B-6267B78ADD0B

I couldn’t find anything on google or else where, this is my last resort please kindly help and check this out for me.

Thank you so much. Regards, T

trungkmy commented 4 years ago

i'm facing the same issue with Kanit font, Angsana New font and other PDF Export tool (Kendo PDF). After spend much time to research, my solution is just changed the font to Arial Unicode MS 🤣

davelab6 commented 4 years ago

Sadly this looks like a bug in mpdf to me, as the font works in regular Chromium