在 Itext7 中,我如何遍历一个字符串并查看我当前的字体是否可以正确显示该字符串?
In Itext7, how can i go through a string and see if my current font can display the string correctly?
我想在 itext5 中做与 FontSelector class 完全相同的事情,但在 itext7 中找不到它的等效项。
itext7 中有这样的Class吗?
或者有其他方法吗?
目前在 iText7 中没有实现 FontSelector
class,但它在路线图上。
同时,您可以使用 PdfFont#containsGlyph(char unicode)
检查字体是否包含与传递的 Unicode 值对应的字形。
我想在 itext5 中做与 FontSelector class 完全相同的事情,但在 itext7 中找不到它的等效项。
itext7 中有这样的Class吗? 或者有其他方法吗?
目前在 iText7 中没有实现 FontSelector
class,但它在路线图上。
同时,您可以使用 PdfFont#containsGlyph(char unicode)
检查字体是否包含与传递的 Unicode 值对应的字形。