Closed Bug 1641671 Opened 4 years ago Closed 4 years ago

Emojis with a scaling transform applied render at wrong size while pinch-zooming

Categories

(Core :: Graphics: WebRender, defect)

defect

Tracking

()

RESOLVED FIXED
mozilla78
Tracking Status
firefox78 --- fixed

People

(Reporter: cbrewster, Assigned: lsalzman)

References

Details

Attachments

(5 files)

If a scale transform is applied to text with an emoji, the emoji changes size while pinch-zooming.

This looks similar to bug 1640120, but the fix there might not take into account transforms on the text itself?

Attached video emoji-scaling-bug.mov

For me the 'A' goes very blurry when zooming too, which could well be related

I've noticed scaled text get blurry while pinch-zooming as well, although it only happens intermittently, which is odd. I haven't figured out a good way to always reproduce it yet.

Assignee: nobody → lsalzman
Status: NEW → ASSIGNED

Loving the patches, quantization is one the deadly sins of snapping!

Severity: -- → S3
Pushed by lsalzman@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5955d6350316 represent font size as f32 to avoid quantization issues. r=aosmond https://hg.mozilla.org/integration/autoland/rev/d1cf46887bec fold device scale back into font size since it is no longer quantized. r=aosmond https://hg.mozilla.org/integration/autoland/rev/0b168eb24806 move FontInstance bools into FontInstanceFlags. r=aosmond
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: