Emoji is blurred/jagged on a bugzilla comment
Categories
(Core :: Graphics: Canvas2D, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr115 | --- | unaffected |
firefox-esr128 | --- | affected |
firefox129 | --- | wontfix |
firefox130 | --- | wontfix |
firefox131 | --- | fix-optional |
People
(Reporter: mayankleoboy1, Unassigned, NeedInfo)
References
(Regression, )
Details
(Keywords: regression)
Attachments
(2 files)
Go to https://bugzilla.mozilla.org/show_bug.cgi?id=1912431#c0
pinch-zoom on the emoji
AR: The emoji is blurred/jagged
ER: Not so
Bisection:
Bug 1875670 - Add a cache for rasterized COLRv1 glyphs, because fully redrawing them on each use can be expensive. r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D200139
I am filing this separately from bug 1912431, but feel free to dupe.
Reporter | ||
Comment 1•6 months ago
|
||
Reporter | ||
Comment 2•6 months ago
|
||
Comment 3•6 months ago
|
||
Set release status flags based on info from the regressing bug 1875670
Updated•6 months ago
|
Reporter | ||
Comment 4•6 months ago
|
||
FWIW, patch from bug 1912431 does not fix this issue.
Updated•6 months ago
|
Updated•6 months ago
|
Updated•5 months ago
|
Comment 5•10 days ago
|
||
This looks like it's the same issue as bug 1908261.
Comment 6•7 days ago
|
||
This isn't exactly the same issue as bug 1908261, as it is specifically about the pinch-zoom case (which serves to exaggerate any blurriness of the emoji).
Still, the patch that recently landed in bug 1908261 has significantly improved things here, as it increased the resolution of the cached rendering of the emoji. It won't be entirely as sharp as the rendering before the cache was added, as we were previously rendering all the components of the color glyph directly to the (zoomed) destination and so the shapes were re-rasterized at full resolution (like their surrounding text).
Now, however, we use a cached rasterization that is based on the original (un-zoomed) size, and so it will inevitably be a bit blurry when zoomed.
Still, the higher-res cache provided by bug 1908261 makes the result reasonably acceptable, I think. We can't revert to uncached "direct" rendering of these emoji because of the performance cost of individually drawing so many shapes when a page uses large numbers of emoji.
Reporter | ||
Comment 7•6 days ago
|
||
I checked, and the emojis look much improved now.
Not sure if this bug should be closed or kept open?
(ni? you just for this question)
Description
•