更新时间:2023-02-21 09:53:07
我认为 java 中没有 Open Type Font 支持(至少不是免费的),iText 声称有这种支持,几个月前尝试过它没有用,对我有用的是一个名为 FontForge 的程序,我曾经用它从我使用的 otf 创建一个 ttf.
I don't think there is Open Type Font support in java (not free atleast), iText claimed to have such support, tried it a few month ago and it didn't work, what worked for me is a program called FontForge which I used to create a ttf from the otf which I then used.