When text is both hyphenated and underlined, the partial word at the end of a line does not get underlined. For example: <?xml version="1.0" encoding="UTF-8"?> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> <fo:layout-master-set> <fo:simple-page-master margin-right="25mm" margin-left="25mm" margin-bottom="20mm" margin-top="15mm" page-height="297mm" page-width="210mm" master-name="a4"> <fo:region-before extent="10mm"/> <fo:region-after extent="10mm"/> <fo:region-body margin-bottom="15mm" margin-top="15mm"/> </fo:simple-page-master> </fo:layout-master-set> <fo:page-sequence master-name="a4"> <fo:flow flow-name="xsl-region-body"> <fo:block language="en" hyphenate="true"> <fo:inline text-decoration="underline"> Thisparagraph illustratesaproblemwith hyphenationandunderlining. Whentextisbothhyphenatedandunderlined thepartialwordattheendof thelinewillnotbeunderlined. </fo:inline> </fo:block> </fo:flow> </fo:page-sequence> </fo:root> This comes out something like this: Thisparagraph illustratesaproblemwith hyphenationandunderlining. Whentextisboth- ---------------------------------------------------------------- hyphenatedandunderlined thepartialwordattheendof thelinewillnotbeunderlined. ---------------------------------------------------------------------------- This is with version 0.20.2-RC.
Works fine in 0.20.4.
I still have this problem using 0.20.4. Will attach xsl-fo that produces this behavior.
Created attachment 3841 [details] Example showing underline + hyphenation problem
You right, my mistake.
Should be fixed in CVS.
Right, Joerg (glad to see you again). Attached test case works fine using fop0.20.5cvs. Phil, verify it please.
batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed