Hi! This bug comes with 0.20.4rc My list-item-labels will be placed at the end of the line if i set the attribute text-align="end" at the fo:block element. The problem comes with the AWTRenderer too. I had a version, i think 0.20.3 or 0.20.3rc where it works. (only one works) One example for the bug is one from FOP .../doc/examples/fo/list.fo example fo: <fo:list-block provisional-distance-between-starts="1.9cm" provisional-label-separation="0.4cm"> <fo:list-item start-indent="0.0cm" space-before="8pt"> <fo:list-item-label end-indent="label-end()"> <fo:block font-family="sans-serif" text-align="end" font-size="24pt"> - </fo:block> </fo:list-item-label> <fo:list-item-body start-indent="body-start()"> <fo:block font-size="24pt"> Item </fo:block> </fo:list-item-body> </fo:list-item> <fo:list-item start-indent="0.0cm" space-before="8pt"> <fo:list-item-label end-indent="label-end()"> <fo:block font-family="sans-serif" text-align="end" font-size="24pt"> - </fo:block> </fo:list-item-label> <fo:list-item-body start-indent="body-start()"> <fo:block font-size="24pt"> Item 2 </fo:block> </fo:list-item-body> </fo:list-item> </fo:list-block> result: Item - Item - thanks Sascha
Hi! Comment out line 54 ( labelEnd.computeValue() ) in class org.apache.fop.fo.expr.LabelEndFunktion solve the bug Happy Christmas Sascha
Bug fixed in latest Trunk (rev 584703), and probably in all FOP 0.9x
batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed