Cyrillic letters not displaying in PDF generated with iText in Android

前端 未结 2 751
生来不讨喜
生来不讨喜 2021-02-06 11:52

I am tring to generate a PDF in my android application. I use iText and it generates PDF but only letters in english are shown. I found example code for iText working with unico

2条回答
  •  无人共我
    2021-02-06 12:23

    It also depends on the font you use, if the font you use does not support Cyrillic letters, Cyrillic letters will not appear. For example: If you use the font google google_regular.ttf then the Cyrillic letters will not appear in the pdf file

提交回复
热议问题