Description
A non-breaking space (Option+Space on the Mac) in content will cause the following exception.
java.lang.ArrayIndexOutOfBoundsException: 14 at org.apache.fop.fonts.GlyphMapping.addToLetterAdjust(GlyphMapping.java:286) ~[fop-2.0.jar:na] at org.apache.fop.fonts.GlyphMapping.processWordNoMapping(GlyphMapping.java:248) ~[fop-2.0.jar:na] at org.apache.fop.fonts.GlyphMapping.doGlyphMapping(GlyphMapping.java:93) ~[fop-2.0.jar:na] at org.apache.fop.svg.font.FOPGVTGlyphVector.performDefaultLayout(FOPGVTGlyphVector.java:94) ~[fop-2.0.jar:na] at org.apache.batik.bridge.GlyphLayout.doExplicitGlyphLayout(Unknown Source) ~[batik-bridge-1.8.jar:1.8] at org.apache.batik.bridge.GlyphLayout.adjustTextSpacing(Unknown Source) ~[batik-bridge-1.8.jar:1.8] at org.apache.batik.bridge.GlyphLayout.getAdvance2D(Unknown Source) ~[batik-bridge-1.8.jar:1.8] at org.apache.batik.bridge.StrokingTextPainter.getTextChunk(Unknown Source) ~[batik-bridge-1.8.jar:1.8] at org.apache.batik.bridge.StrokingTextPainter.computeTextRuns(Unknown Source) ~[batik-bridge-1.8.jar:1.8] at org.apache.fop.svg.NativeTextPainter.computeTextRuns(NativeTextPainter.java:223) ~[fop-2.0.jar:na] at org.apache.batik.bridge.StrokingTextPainter.getTextRuns(Unknown Source) ~[batik-bridge-1.8.jar:1.8] at org.apache.batik.bridge.StrokingTextPainter.getBounds2D(Unknown Source) ~[batik-bridge-1.8.jar:1.8] at org.apache.batik.bridge.TextNode.getPrimitiveBounds(Unknown Source) ~[batik-bridge-1.8.jar:1.8] at org.apache.batik.gvt.AbstractGraphicsNode.getTransformedPrimitiveBounds(Unknown Source) ~[batik-gvt-1.8.jar:1.8] at org.apache.batik.gvt.AbstractGraphicsNode.getTransformedBounds(Unknown Source) ~[batik-gvt-1.8.jar:1.8] at org.apache.batik.gvt.CompositeGraphicsNode.getPrimitiveBounds(Unknown Source) ~[batik-gvt-1.8.jar:1.8] at org.apache.batik.gvt.CompositeGraphicsNode.getTransformedPrimitiveBounds(Unknown Source) ~[batik-gvt-1.8.jar:1.8] at org.apache.batik.gvt.AbstractGraphicsNode.getTransformedBounds(Unknown Source) ~[batik-gvt-1.8.jar:1.8] at org.apache.batik.gvt.CompositeGraphicsNode.getPrimitiveBounds(Unknown Source) ~[batik-gvt-1.8.jar:1.8] at org.apache.batik.gvt.CompositeGraphicsNode.getTransformedPrimitiveBounds(Unknown Source) ~[batik-gvt-1.8.jar:1.8] at org.apache.batik.gvt.AbstractGraphicsNode.getTransformedBounds(Unknown Source) ~[batik-gvt-1.8.jar:1.8] at org.apache.batik.gvt.CompositeGraphicsNode.getPrimitiveBounds(Unknown Source) ~[batik-gvt-1.8.jar:1.8] at org.apache.batik.gvt.CompositeGraphicsNode.getTransformedPrimitiveBounds(Unknown Source) ~[batik-gvt-1.8.jar:1.8] at org.apache.batik.gvt.AbstractGraphicsNode.getTransformedBounds(Unknown Source) ~[batik-gvt-1.8.jar:1.8] at org.apache.batik.gvt.CompositeGraphicsNode.getPrimitiveBounds(Unknown Source) ~[batik-gvt-1.8.jar:1.8] at org.apache.batik.gvt.AbstractGraphicsNode.getBounds(Unknown Source) ~[batik-gvt-1.8.jar:1.8] at org.apache.batik.gvt.AbstractGraphicsNode.paint(Unknown Source) ~[batik-gvt-1.8.jar:1.8] at org.apache.fop.svg.PDFTranscoder.transcode(PDFTranscoder.java:185) ~[fop-2.0.jar:na] at org.apache.batik.transcoder.XMLAbstractTranscoder.transcode(Unknown Source) ~[batik-transcoder-1.8.jar:1.8] at org.apache.batik.transcoder.SVGAbstractTranscoder.transcode(Unknown Source) ~[batik-transcoder-1.8.jar:1.8] ...