You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bu...@apache.org on 2002/01/05 00:47:54 UTC

DO NOT REPLY [Bug 5698] New: - filled color are incorrect

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5698>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5698

filled color are incorrect

           Summary: filled color are incorrect
           Product: Fop
           Version: all
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: svg
        AssignedTo: fop-dev@xml.apache.org
        ReportedBy: bam@snoopy.apana.org.au
                CC: bam@snoopy.apana.org.au


(note this is version Fop-0.20.2RC-bin.tar.gz; bugzilla won't let me enter a
version more then 0.17)

If I create a square (blue line, red fill) in DIA, export to SVG format, then
display it inline in a FO document, the fill color always appears black
no matter what I set it to.

For a reference to DIA, see http://www.lysator.liu.se/~alla/dia/

Also the square appears clipped (neither the bottom blue line or right blue line
is shown), and is on the right hand side of the output, not the left side.

There are other quirks if I insert other objects (eg. it correctly appears on
the left hand side and the right border line is not clipped).

The SVG code generated by DIA is:

<?xml version="1.0"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20000802//EN"
"http://www.w3.org/TR/2000/CR-SVG-20000802/DTD/svg-20000802.dtd">
<svg width="3cm" height="3cm" viewBox="1 0 3 3">
  <rect style="fill: #0000ff" x="1.76267" y="0.817458" width="2.45" height="2.775"/>
  <rect style="stroke-width: 0.1; stroke: #ff0000" x="1.76267" y="0.817458"
width="2.45" height="2.775"/>
</svg>

It is my impression (although I don't know SVG very well) that this is correct.

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org