Open
Bug 519472
Opened 16 years ago
Updated 3 years ago
[mac][10.5] Rotated text element with gradient is incorrectly rendered
Categories
(Core :: Graphics, defect)
Tracking
()
NEW
People
(Reporter: adeveria, Unassigned)
References
()
Details
(Whiteboard: doesn't affect OS X 10.6)
Attachments
(4 files)
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3
Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3
Any <text> element that is transformed with a rotation and has a gradient fill set has its character positioned incorrectly.
Without rotation or with rotation but without a gradient fill works fine, just not the combination of the two.
Reproducible: Always
Steps to Reproduce:
1. Create an SVG file using any editor
2. Make sure you include a text element, rotate it, and give it a gradient
3. Open the file in Firefox 3.5/Mac OS X
Actual Results:
The individual characters are positioned incorrectly
Expected Results:
The characters should appear as they would if they did not use a gradient fill.
Comment 1•16 years ago
|
||
Please attach an example SVG file using the Add an attachment facility.
Comment 3•16 years ago
|
||
This works OK on windows even with 3.5.
Does it work with a trunk or 1.9.2 nightly? If so it's probably fixed by bug 507939 and should be marked worksforme.
As you can tell by the attachments, it fails in both 1.9.2 and 1.9.3 nightlies (and only Mac builds).
Bug still exists in Gecko 2.0b5 / Mac. Would be nice if this could be confirmed at least...
Comment 9•15 years ago
|
||
WORKSFORME on Linux:
Mozilla/5.0 (X11; Linux i686; rv:2.0b7pre) Gecko/20100929 Firefox/4.0b7pre
(the gradient text & normal text don't cross for me, as they do in your screenshots)
So perhaps this is mac-only?
Comment 10•15 years ago
|
||
Ok, confirmed on my mac, on Firefox 3.6 & latest mozilla-central:
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.5; rv:2.0b7pre) Gecko/20100929 Firefox/4.0b7pre
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: Rotated text element with gradient is incorrectly rendered. → [mac] Rotated text element with gradient is incorrectly rendered
Version: unspecified → Trunk
Comment 11•15 years ago
|
||
Possibly a cairo bug?
| Reporter | ||
Comment 12•15 years ago
|
||
Yup, Mac only. Thanks Daniel. :)
Comment 13•15 years ago
|
||
Adeveria, If you can produce a testcase using canvas you might find there's a better chance it will get fixed.
| Reporter | ||
Comment 14•15 years ago
|
||
Like in the SVG test case, each character glyph on rotated text with a gradient is positioned incorrectly.
Comment 15•15 years ago
|
||
Lets try Core->Graphics then.
Component: SVG → Graphics
QA Contact: general → thebes
Comment 16•15 years ago
|
||
Interesting... Both testcases are WFM on my mac mini at work, which is running OS X 10.6.4, but it's broken on the mac mini that I have at home, which is running 10.5. (It looks like adeveria is running 10.5 too, based on his UA string in comment 0.)
So this seems to be limited to OS X 10.5.
Summary: [mac] Rotated text element with gradient is incorrectly rendered → [mac][10.5] Rotated text element with gradient is incorrectly rendered
Updated•15 years ago
|
Whiteboard: doesn't affect OS X 10.6
Updated•15 years ago
|
Attachment #403841 -
Attachment description: Bug as it appears in current 1.9.3 Mac build → Bug as it appears in Gecko 1.9.3 on OS X 10.5
Updated•15 years ago
|
Attachment #403840 -
Attachment description: Bug as it appears in current 1.9.2 Mac build → Bug as it appears in Gecko 1.9.2 on OS X 10.5
Comment 17•15 years ago
|
||
It may well be a bug in Apple's Core graphics then rather than Cairo even.
| Reporter | ||
Comment 18•15 years ago
|
||
I also just noticed that Safari 5 also has a rendering bug here, though in its case the SVG text appears skewed (canvas demo is unaffected).
Good to know it works in 10.6, guess that makes this less of a priority.
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•