incubator-ooo-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 120396] New: svg export uses wrong color values in rgb function in stop-color of gradient
Date Sun, 29 Jul 2012 18:56:40 GMT
https://issues.apache.org/ooo/show_bug.cgi?id=120396

          Priority: P3
            Bug ID: 120396
          Assignee: ooo-issues@incubator.apache.org
           Summary: svg export uses wrong color values in rgb function in
                    stop-color of gradient
          Severity: normal
        Issue Type: DEFECT
    Classification: Application
                OS: All
          Reporter: rb.henschel@t-online.de
          Hardware: All
            Status: UNCONFIRMED
           Version: AOO 3.4.0
         Component: save-export
           Product: drawing

Created attachment 78770
  --> https://issues.apache.org/ooo/attachment.cgi?id=78770&action=edit
File to be exported

Open the attached document. It contains a rectangle with a gradient filling
from blue =rgb(0,0,255) to yellow =rgb(255,255,0) without transparency.

Export the document to svg-format.

Open the exported file in a browser or insert it in Draw document. Notice, that
the filling is black but should be a gradient.

The reason is, that the colors are written as rgb(0,0,1) and rgb(1,1,0)
That would mean nearly black.

The rgb expects either integer values 0..255 or values 0%..100%.

So instead of rgb(0,0,1) the value has to be rgb(0%,0%,100%) or rgb(0,0,255). I
prefer the latter, because it is convertible to the hexdigit syntax without
rounding errors.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Mime
View raw message