Closed Bug 1640120 Opened 5 years ago Closed 5 years ago

Emoji rendered at wrong size while pinch zooming

Categories

(Core :: Graphics: WebRender, defect)

Unspecified
Android
defect

Tracking

()

RESOLVED FIXED
mozilla78
Tracking Status
firefox-esr68 --- unaffected
firefox76 --- wontfix
firefox77 --- wontfix
firefox78 --- fixed

People

(Reporter: jnicol, Assigned: lsalzman)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

While pinch zooming, emojis a rendered at a different size than their surrounding text. The size also jumps periodically as you zoom, rather than changing smoothly with the zoom.

While zooming we rasterize text in local raster space rather than in screen space. The scale of the local space changes in increments, to avoid excessive rasterization, so that explains where the jumps in size come from. The rasterized emojis should however be getting scaled to the correct screen size when rendering, but that is not happening for some reason.

I noticed this on https://turnip.exchange, but it happens on any website where the emojis are text (often websites embed images instead). I noticed it on android, but it might affect other platforms with desktop zooming too (emojis are bitmaps on android but are vectors on some platforms, so that might be an important distinction).

Regression from bug 1617160

Flags: needinfo?(aosmond)
Regressed by: 1617160
Has Regression Range: --- → yes
Assignee: nobody → lsalzman
Status: NEW → ASSIGNED
Flags: needinfo?(aosmond)
Pushed by lsalzman@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/43f4185c1299 select proper local-space target size for bitmap fonts in WR FT backend. r=aosmond
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla78
See Also: → 1641671
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: