Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/java/347.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java 在Itext7中,如何遍历字符串并查看当前字体是否能正确显示字符串?_Java_String_Fonts_Itext - Fatal编程技术网

Java 在Itext7中,如何遍历字符串并查看当前字体是否能正确显示字符串?

Java 在Itext7中,如何遍历字符串并查看当前字体是否能正确显示字符串?,java,string,fonts,itext,Java,String,Fonts,Itext,我想做与itext5中FontSelector类完全相同的事情,但在itext7中找不到它的等价物 itext7中是否有类似的类? 或者还有其他方法吗?目前iText7中没有实现FontSelector类,但它已经在路线图上了 同时,您可以使用PdfFont#containsGlyph(char-unicode)检查字体是否包含与传递的unicode值相对应的字形。目前在iText7中没有实现FontSelector类,但它已在路线图上 同时,您可以使用PdfFont#containsGlyph

我想做与itext5中FontSelector类完全相同的事情,但在itext7中找不到它的等价物

itext7中是否有类似的类?
或者还有其他方法吗?

目前iText7中没有实现
FontSelector
类,但它已经在路线图上了


同时,您可以使用
PdfFont#containsGlyph(char-unicode)
检查字体是否包含与传递的unicode值相对应的字形。

目前在iText7中没有实现
FontSelector
类,但它已在路线图上


同时,您可以使用
PdfFont#containsGlyph(char-unicode)
检查字体是否包含与传递的unicode值相对应的字形。

好的,我将使用“PdfFont#containsGlyph(char-unicode)”构建一些内容,直到FontSelector实现为止。非常感谢。好的,在FontSelector实现之前,我现在将使用“Pdfont”containsGlyph(charUnicode)”构建一些东西。非常感谢。