Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.1, 2.5
-
None
Description
When formatting text from Indic script for which no syllabizer is available, an NPE is encountered as follows:
[java] java.lang.NullPointerException
[java] at org.apache.fop.complexscripts.scripts.IndicScriptProcessor$Syllabizer.makeSyllabizer(IndicScriptProcessor.java:421)
[java] at org.apache.fop.complexscripts.scripts.IndicScriptProcessor$Syllabizer.getSyllabizer(IndicScriptProcessor.java:408)
[java] at org.apache.fop.complexscripts.scripts.IndicScriptProcessor.syllabize(IndicScriptProcessor.java:219)
[java] at org.apache.fop.complexscripts.scripts.IndicScriptProcessor.substitute(IndicScriptProcessor.java:179)
[java] at org.apache.fop.complexscripts.scripts.ScriptProcessor.substitute(ScriptProcessor.java:98)
[java] at org.apache.fop.complexscripts.fonts.GlyphSubstitutionTable.substitute(GlyphSubstitutionTable.java:101)
[java] at org.apache.fop.fonts.MultiByteFont.performSubstitution(MultiByteFont.java:495)
[java] at org.apache.fop.fonts.LazyFont.performSubstitution(LazyFont.java:421)
[java] at org.apache.fop.fonts.Font.performSubstitution(Font.java:423)
[java] at org.apache.fop.fonts.GlyphMapping.processWordMapping(GlyphMapping.java:129)
[java] at org.apache.fop.fonts.GlyphMapping.doGlyphMapping(GlyphMapping.java:89)
[java] at org.apache.fop.layoutmgr.inline.TextLayoutManager.processWord(TextLayoutManager.java:935)
[java] at org.apache.fop.layoutmgr.inline.TextLayoutManager.getNextKnuthElements(TextLayoutManager.java:853)
...