Details
-
Bug
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
2.0.16
-
None
Description
Hi I met an issue with a font.
It seems to me that code page range has not been set and then in org.apache.pdfbox.pdmodel.font.FontMapperImpl#isCharSetMatch -1 is used.
It seems to me that -1 means "open bar".
I was trying to find a font that matches CHINESE_SIMPLIFIED (cidSystemInfo.getOrdering().equals("GB1")), and due to the -1 this font was matched and unluckily it was the one picked.
Do you think we can make a special case for -1 (return false)?
Is there any font currently that matches all code page ranges?