From 276670d6bbb7cf51f8f8365675335f4ac945209e Mon Sep 17 00:00:00 2001 From: Simon Pepping Date: Fri, 19 May 2006 15:10:44 +0000 Subject: An emergency patch to avoid that a non-breaking space at the end of an fo:inline with padding, followed by another fo:inline, while text-align is justify, does not cause a NullPointerException due to InlineStackingLayoutManager.addALetterSpaceTo(). Patch submitted by Max Berger , applied with some modifications. This patch solves bug 39571. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@407819 13f79535-47bb-0310-9956-ffa450edef68 --- .../standard-testcases/inline_letter-spacing_3.xml | 60 ++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 test/layoutengine/standard-testcases/inline_letter-spacing_3.xml (limited to 'test') diff --git a/test/layoutengine/standard-testcases/inline_letter-spacing_3.xml b/test/layoutengine/standard-testcases/inline_letter-spacing_3.xml new file mode 100644 index 000000000..daa17f026 --- /dev/null +++ b/test/layoutengine/standard-testcases/inline_letter-spacing_3.xml @@ -0,0 +1,60 @@ + + + + + +

+ This test checks that a non-breaking space at the end of an + fo:inline with padding, followed by another fo:inline, while + text-align is justify, does not cause a NullPointerException due + to InlineStackingLayoutManager.addALetterSpaceTo(). +

+

http://issues.apache.org/bugzilla/show_bug.cgi?id=39571

+
+ + + + + + + + + + + + non-breaking space + + + + + + + + + + +
-- cgit v1.2.3