Re: NullPointerException on Bad Font Unicode Mapping

2024-08-19 Thread Tilman Hausherr
Hi, Why are you using 3.0.0-alpha3 from 2022-06-17 while the released version is 3.0.3 from 2024-08-09? Please retry with 3.0.3, it looks like that bug was fixed two years ago in PDFBOX-5465. Tilman On 19.08.2024 18:39, Charles Harris wrote: Hello, in pdfbox 3.0.0-alpha3 I am encountering

NullPointerException on Bad Font Unicode Mapping

2024-08-19 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.getCha