Bug 23765 - [PATCH] trailing spaces in fo:block loses last word.
Summary: [PATCH] trailing spaces in fo:block loses last word.
Status: CLOSED FIXED
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: page-master/layout (show other bugs)
Version: trunk
Hardware: PC All
: P3 normal
Target Milestone: ---
Assignee: fop-dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-13 10:56 UTC by Finn Bock
Modified: 2012-04-01 06:29 UTC (History)
0 users



Attachments
The test case. (1013 bytes, text/plain)
2003-10-13 10:57 UTC, Finn Bock
Details
A patch that fixes the issue. (739 bytes, patch)
2003-10-13 10:57 UTC, Finn Bock
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Finn Bock 2003-10-13 10:56:01 UTC
Trailing spaces in a fo:block causes the last word in the block to be lost if
the word should be broken into a new line. It can be reproduced with the
lastword.fo:

./fop.sh  -fo lastword.fo -pdf lastword.pdf

The last word 'word10' is missing from the pdffile.
Comment 1 Finn Bock 2003-10-13 10:57:17 UTC
Created attachment 8549 [details]
The test case.
Comment 2 Finn Bock 2003-10-13 10:57:56 UTC
Created attachment 8550 [details]
A patch that fixes the issue.
Comment 3 Glen Mazza 2003-10-16 23:58:01 UTC
Patch applied--thanks for reporting and solving the bug for us!
Comment 4 Glenn Adams 2012-04-01 06:29:20 UTC
batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed