Re: NullPointerException on bad Unicode font mapping

2024-08-22 Thread Tilman Hausherr
Answered last time: https://lists.apache.org/thread/yltqzhbl8oltgxltg94wo5msdmwmwsrd Tilman On 22.08.2024 19:36, Charles Harris wrote: Hello, in pdfbox 3.0.0-alpha3 I am encountering the following error: java.lang.NullPointerException: Cannot read the array length because "this.glyphIdToChara

NullPointerException on bad Unicode font mapping

2024-08-22 Thread Charles Harris
Hello, in pdfbox 3.0.0-alpha3 I am encountering the following error: java.lang.NullPointerException: Cannot read the array length because "this.glyphIdToCharacterCode" is null org.apache.fontbox.ttf.CmapSubtable.getCharCode(CmapSubtable.java:638) org.apache.fontbox.ttf.CmapSubtable.getCharCod