Closed
Bug 307717
Opened 19 years ago
Closed 19 years ago
gradients on text elements wrong when using currentTranslate/Scale
Categories
(Core :: SVG, defect)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: holger, Unassigned)
References
Details
Attachments
(5 files)
changing currentTranslate/Scale causes gradients applied to text elements, to be scale / translated incorrectly.( this is just a guess: it seems currentTranslate/Scale are applied twice somehow )
| Reporter | ||
Comment 1•19 years ago
|
||
in this example, currentScale is set to 0.5, the gradient on the text seems to fill only 1/2 of the text.
Comment 2•19 years ago
|
||
I can't reproduce this bug on a current (nightly) build. What build are you using, Holger?
| Reporter | ||
Comment 3•19 years ago
|
||
i was testing with Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20050907 Firefox/1.6a1 and now i tested with 1.5 beta 1 i see this on the trunk and the branch, i will upload a screenshot soon.
| Reporter | ||
Comment 4•19 years ago
|
||
| Reporter | ||
Comment 6•19 years ago
|
||
this seems not directly connected to currentScale/Translate , i see the same problem here, http://www.w3.org/TR/SVG/images/filters/feComponentTransfer.svg i know its not connected to filters, the text identity is filled with the same gradient as the top rect. does this look correct in your build ?
| Reporter | ||
Comment 7•19 years ago
|
||
notice the gradient on the text starts with green turns blue and finally black.
| Reporter | ||
Comment 8•19 years ago
|
||
after translating the image to the right, the gradient on the text starts with red turns green, then blue, then black, but its much shorter then the gradient on the rect.
Comment 9•19 years ago
|
||
I can't reproduce this on Linux/Cairo, so I suspect that we have a GDIPlus problem . I don't have a Windows/GDI build environment, so I'll take a look and see if anything jumps out at me, but I really can't debug this one very easily.
| Reporter | ||
Comment 10•19 years ago
|
||
confirming its a GDI issue, just tested on linux and it looks good. this bug is not only connected to currentTranslate/Scale , but also changes to the viewBox and viewport causes the gradient to "change". additionally ive tested some older builds, and its allready there for a long time, sorry for not spotting this earlier ;-) if you have any idea how i could help track down the bug, just let me know...
Comment 11•19 years ago
|
||
Holger, thanks for the offer. I'm cc'ing tor on this bug since he did the GDIPlus gradient code, so perhaps he has an idea. I'll walk through the GDIPlus code and see if anything jumps out at me.
Comment 14•19 years ago
|
||
Marking wontfix. We have no plans to continue development of the GDI+ backend.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•