itext PDF - Greek letters are not appearing in the resulting PDF document

前端 未结 3 802
春和景丽
春和景丽 2021-01-14 16:20

I am having hard time trying to generate PDF files containing Greek letters using itextpdf. I am reading the strings from an external source as UTF-8 strings. English letter

3条回答
  •  轮回少年
    2021-01-14 16:58

    You need to use a font that has Greek characters in it. You may find Greek unicode fonts here.

    You can check an example here on using unicode fonts from the author of itext.

提交回复
热议问题