https://issues.apache.org/bugzilla/show_bug.cgi?id=48806

--- Comment #3 from Peter Hancock <[email protected]> 2010-02-24 11:08:12 
UTC ---
The bug seems to be caused by the no-break space (u+a0) between the first
fo:inline elemet of
<fo:inline> </fo:inline>World</fo:inline></fo:inline>

changing it to a regular space (u+20) resulted in a successful render.

Replace <fo:inline> </fo:inline> by
<fo:inline>&#xa0;</fo:inline> 
and 
<fo:inline>&#x20;</fo:inline>
to demonstrate this.

However,this should still be recognised as a bug in fop.

I can verify that this bug still exists in the trunk, with a different
exception stack
...
Caused by: java.lang.NullPointerException
    at
org.apache.fop.layoutmgr.inline.TextLayoutManager.addALetterSpaceTo(TextLayoutManager.java:851)
    at
org.apache.fop.layoutmgr.inline.InlineStackingLayoutManager.addALetterSpaceTo(InlineStackingLayoutManager.java:224)
    at
org.apache.fop.layoutmgr.inline.InlineStackingLayoutManager.addALetterSpaceTo(InlineStackingLayoutManager.java:224)
    at
org.apache.fop.layoutmgr.InlineKnuthSequence.addALetterSpace(InlineKnuthSequence.java:133)
    at
org.apache.fop.layoutmgr.InlineKnuthSequence.appendSequence(InlineKnuthSequence.java:76)
    at
org.apache.fop.layoutmgr.KnuthSequence.appendSequenceOrClose(KnuthSequence.java:93)
    at
org.apache.fop.layoutmgr.inline.InlineLayoutManager.getNextKnuthElements(InlineLayoutManager.java:330)
...

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to