Hello,
When I call  PDType0Font.hasGlyph(40), asking if my font
<https://fonts.google.com/noto/specimen/Noto+Sans+Arabic?preview.script=Arab>
 has
the glyph for "(" , it returns  true, but when I try to call
contentStream.showText("(");
using this font I get

java.lang.IllegalArgumentException: No glyph for U+0028 (() in font
NotoSansArabic-Regular

at org.apache.pdfbox.pdmodel.font.PDCIDFontType2.encode(
PDCIDFontType2.java:401)

The font doesnt seem to have that glyph indeed, but why would font
.hasGlyph()    return true then ?

Reply via email to