Closed Bug 1877286 Opened 1 year ago Closed 1 year ago

Canvas.measureText returns zeroed actualBoundingBox for emoji

Categories

(Core :: Graphics: Canvas2D, defect)

Firefox 118
Unspecified
Linux
defect

Tracking

()

RESOLVED DUPLICATE of bug 1873708

People

(Reporter: joaobzzr, Unassigned)

References

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/118.0

Steps to reproduce:

  1. Run this: https://gist.github.com/joaobzrr/e01a7c46f83312949b99cfcd1e8ba4cb

Actual results:

The console.assert lines throw an error.

Expected results:

Program should run without errors.

The Bugbug bot thinks this bug should belong to the 'Core::Graphics: Canvas2D' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Graphics: Canvas2D
Product: Firefox → Core

Jonathan, is this related to bug 1873708?

Severity: -- → S3
OS: Unspecified → Linux
See Also: → 1873708

(In reply to Lee Salzman [:lsalzman] from comment #2)

Jonathan, is this related to bug 1873708?
Yes, it sounds like a symptom of the same issue, in which case the patch there should have fixed it.

joaobzzr, can you try this with Firefox Beta (v.123) or Nightly (v.124)?

Flags: needinfo?(joaobzzr)

Indeed this seems to be fixed on Firefox Beta (v.123).

Flags: needinfo?(joaobzzr)

Great, thanks for confirming that! Let's resolve this as a dupe of bug 1873708, then.

Status: UNCONFIRMED → RESOLVED
Closed: 1 year ago
Duplicate of bug: 1873708
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.