Closed Bug 1784910 Opened 2 years ago Closed 2 years ago

Emoji rendered with the wrong colour (blue) in Google docs on macOS

Categories

(Core :: Graphics: Canvas2D, defect)

defect

Tracking

()

VERIFIED FIXED
105 Branch
Tracking Status
firefox-esr91 --- unaffected
firefox-esr102 --- unaffected
firefox103 --- unaffected
firefox104 --- unaffected
firefox105 --- verified

People

(Reporter: glob, Assigned: lsalzman)

References

(Regression, )

Details

(Keywords: regression)

Attachments

(2 files)

Emoji in gdocs are rendered with the wrong colour on macOS - looks like yellow is being replaced with blue.

https://docs.google.com/document/d/1t2Rg49S32en9w1YIM3js13bGk-fNjaXlTrDQ4VY8DAU/edit?usp=sharing has example emoji with a corresponding image showing their correct rendering.

mozregression:

17:42.32 INFO: Last good revision: 6768c91feeb266c38fe9c272e4631e9ff5b4e2ec
17:42.32 INFO: First bad revision: da8fba53f7288360b026db54ea57ad9d0ca191fe
17:42.32 INFO: Pushlog:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=6768c91feeb266c38fe9c272e4631e9ff5b4e2ec&tochange=da8fba53f7288360b026db54ea57ad9d0ca191fe

Looks like it's related to gpu-canvas.

Flags: needinfo?(lsalzman)

Set release status flags based on info from the regressing bug 1773712

When we are rendering dark-on-light text, we invert the bitmap after
rendering to produce a standard white-on-black mask, since we must actually
render that as black-on-white to get CoreText to produce the correct dilation.

However, when we know we're rendering bitmap fonts for emoji, we don't actually
want this inversion to happen at all. So we need to ensure bitmaps go through
the normal light-on-dark path that doesn't do this.

Assignee: nobody → lsalzman
Status: NEW → ASSIGNED
Flags: needinfo?(lsalzman)
Pushed by lsalzman@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d45bfb8869b2 Render bitmap fonts as light-on-dark text. r=aosmond
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 105 Branch
Flags: qe-verify+

Reproduced the issue in Nightly 105.0a1 (2022-08-15).
Verified - Fixed in latest Nightly 106.0a1 (2022-08-29) and Beta 105.0b4 using macOS 12.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: