DOMPDF problem with Cyrillic characters

后端 未结 7 1276
故里飘歌
故里飘歌 2020-12-08 17:48

I am using the DOMPDF library to create an invoice in PDF. This document can be in French, Russian or English, but I am having trouble printing Russian characters.

F

7条回答
  •  春和景丽
    2020-12-08 18:20

    Problem is with fonts default dompdf uses (that is it doesn't have all unicode characters, whick are by now over 5000). Usually arialuni.ttf is what you need. You can download localized russian version at http://chernev.ru/dompdf.rar {broken link}

    Updated link: https://code.google.com/p/ipwn/downloads/detail?name=arialuni.ttf

提交回复
热议问题