Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 37530 - fop-bin Version 0.20.5 ebuild
Summary: fop-bin Version 0.20.5 ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2004-01-07 15:00 UTC by Steven Elling
Modified: 2004-02-25 02:31 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
fop-bin Version 0.20.5 Ebuild (fop-bin-0.20.5.ebuild,697 bytes, text/plain)
2004-01-07 15:04 UTC, Steven Elling
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Steven Elling 2004-01-07 15:00:26 UTC
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.
Comment 1 Steven Elling 2004-01-07 15:04:24 UTC
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
Comment 2 Jyrki Muukkonen 2004-01-25 05:28:34 UTC
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
Comment 3 Dylan Carlson (RETIRED) gentoo-dev 2004-02-25 02:31:07 UTC
Fixed by plasmaroo.