Open Bug 1628032 Opened 5 years ago Updated 7 months ago

Canvas measureText bug

Categories

(Core :: Graphics: Canvas2D, defect, P3)

77 Branch
defect

Tracking

()

UNCONFIRMED

People

(Reporter: matias.kenig, Unassigned)

Details

Attachments

(1 file, 1 obsolete file)

750 bytes, text/html
Details
Attached file test.htm

User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36

Steps to reproduce:

Open test.html
Look the console prints

Expected results:

The width returned of the measureText function for the special chars:
carriage return and line feed (new line), must be zero

Component: Untriaged → Canvas: 2D
Product: Firefox → Core

Sorry, the FIRST print is: console.log("Width of Blank Space " ": " + this.ctx.measureText(" ").width, " - THIS IS OK!!!" );

Priority: -- → P3

Because this bug's Severity has not been changed from the default since it was filed, and it's Priority is P3 (Backlog,) indicating it has been triaged, the bug's Severity is being updated to S3 (normal.)

Severity: normal → S3
Attachment #9387485 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: