Version 0.20.4 of fop-bin does not properly support the fo:leader element. The fo:leader will expand to fill a line when trying to use it between two inline elements in a block with text-align set to "justify". Version 0.20.5 properly supports the fo:leader element. Reproducible: Always Steps to Reproduce: 1. Create a XSL-FO document with the following inside the fo:flow element: <fo:block text-align="justify" text-align-last="justify"> Left Block of text. <fo:leader leader-pattern="space" leader-alignment="reference-area"/> Right Block of text. </fo:block> 2. Run the document through fop: 'fop -fo infile.fo -pdf outfile.pdf' 3. View the resulting document in a pdf viewer (acroread). Actual Results: The fo:leader expands to fill the line and cause the right block to overflow onto the next line. Expected Results: The fo:leader should expand to fill enough space to cause the right block to appear right justified on the same line as the left block.
Created attachment 23349 [details] fop-bin Version 0.20.5 Ebuild Manifest: MD5 35eb753c3a496370176177aeec40cdbc fop-bin-0.20.5.ebuild 697 MD5 f54ea7400e422cb4859d3414d289a199 files/digest-fop-bin-0.20.5 67 digest-fop-bin-0.20.5: MD5 d6b43e3eddf9378536ad8127bc057d41 fop-0.20.5-bin.tar.gz 6283144
The SRC_URI is missing one directory, so it gives error 404 (unless it happens to be on gentoo mirror). The correct SRC_URI would be http://www.apache.org/dist/xml/fop/${MY_P}-bin.tar.gz
Fixed by plasmaroo.