Closed Bug 340581 Opened 20 years ago Closed 20 years ago

Text not rendering correctly in SVG on Intel Mac

Categories

(Core :: SVG, defect)

1.8 Branch
PowerPC
macOS
defect
Not set
normal

Tracking

()

VERIFIED FIXED

People

(Reporter: ahayes, Assigned: tor)

References

Details

(Keywords: fixed1.8.1, verified1.8.0.5)

Attachments

(2 files, 1 obsolete file)

Most colours of <svg:text> are not rendered, including black (the default). Affects the following builds: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4 Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1a3) Gecko/20060526 BonEcho/2.0a3 Does not affect: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4 Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.1a3) Gecko/20060526 BonEcho/2.0a3
Attached test case that should render text in a few different colours.
This bug is a followup to bug 327744.
Attachment #225028 - Attachment description: untested branch patch for atsui fonts → untested branch patch for intel atsui fonts
Just in case you wanted to test another mac-intel patch Josh. :)
Tor, sorry to be a newbie, but if I wanted to test this patch, which branch would I check out?
Either MOZILLA_1_8_BRANCH (ff2) or MOZILLA_1_8_0_BRANCH (ff1.5.x) would be fine.
Also when you configure, you'll need to enable svg and canvas in your mozconfig file. It isn't enabled by default, at least on the MOZILLA_1_8_BRANCH. ac_add_options --enable-canvas ac_add_options --enable-svg
Comment on attachment 225028 [details] [diff] [review] branch patch for intel atsui fonts Tested - this does fix the problem on intel OS-X.
Attachment #225028 - Attachment description: untested branch patch for intel atsui fonts → branch patch for intel atsui fonts
Assignee: general → tor
Attachment #225028 - Flags: review?(jhpedemonte)
Attachment #225028 - Flags: review?(jhpedemonte) → review+
Attachment #225028 - Attachment is obsolete: true
Attachment #225328 - Flags: review?(jhpedemonte)
Attachment #225328 - Flags: review?(jhpedemonte) → review+
Attachment #225328 - Flags: approval1.8.0.5?
Attachment #225328 - Flags: approval-branch-1.8.1?(shaver)
Thanks for the new patch tor. I have tested this patch on the MOZILLA_1_8_0 branch using the universal build instructions at: http://developer.mozilla.org/en/docs/Mac_OS_X_Universal_Binaries plus the following additions to the .mozconfig: ac_add_options --enable-canvas ac_add_options --enable-svg and confirm that the text now renders properly on intel mac. I also tried setting my build to "Open using Rosetta" and confirm that the above test case still works there too.
Comment on attachment 225328 [details] [diff] [review] missing include for older SDKs 181=shaver, thanks! Drivers: should definitely take this on 1.8.0.5, it's a nasty parity bug.
Attachment #225328 - Flags: approval-branch-1.8.1?(shaver) → approval-branch-1.8.1+
Please make sure this gets into upstream cairo as well so it doesn't get lost when we update cairo.
This is already upstream as far as I can tell.
Checked in on MOZILLA_1_8_BRANCH.
Keywords: fixed1.8.1
Comment on attachment 225328 [details] [diff] [review] missing include for older SDKs approved for 1.8.0 branch, a=dveditz for drivers
Attachment #225328 - Flags: approval1.8.0.5? → approval1.8.0.5+
Flags: blocking1.8.0.5?
Checked in on MOZILLA_1_8_0_BRANCH.
Status: NEW → RESOLVED
Closed: 20 years ago
Keywords: fixed1.8.0.5
Resolution: --- → FIXED
Flags: blocking1.8.0.5? → blocking1.8.0.5+
Verified with test case provided on: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.0.5) Gecko/20060619 Firefox/1.5.0.5
Status: RESOLVED → VERIFIED
*** Bug 344781 has been marked as a duplicate of this bug. ***
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: