Open Bug 1739117 Opened 4 years ago Updated 4 years ago

Letter spacing is sometimes slightly too much

Categories

(Core :: Layout: Text and Fonts, defect)

Other Branch
x86_64
Windows 10
defect

Tracking

()

Tracking Status
firefox96 --- affected

People

(Reporter: calixte, Unassigned)

References

()

Details

(Keywords: dupeme)

Attachments

(1 file)

I'm using firefox nightly 20211102213508.
Have a look on the screenshot, I underlined in red the spaces which are too large (from my point view of course).
From the devtools, if I unchecked html, body { letter-spacing: 0.01em then it looks correct.
if check/uncheck the letter-spacing property I've the impress that some letters don't get an extra spacing.

I suspect this is caused by glyph positions being rounded to integer pixels during textrun creation, which happens before letter-spacing has been applied. (I think we have similar examples already on file...)

Keywords: dupeme

I can't find the bug, though there are a couple of bugs with a negative later-spacing value.

Severity: -- → S4
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: