Stroking of the HTML text doesn't respect a mitre limit at sharp joins, whereas SVG text does

NEW
Assigned to

Status

()

Core
Layout: Text
2 years ago
2 years ago

People

(Reporter: jeremychen, Assigned: ethlin)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Per Bug1248708 comment 81, on linux platform, looks like the SVG stroke is respecting a mitre limit at the join, whereas the stroking of the HTML text doesn't have that feature and so the sharp angle becomes a long point. The comparison for stroking HTML text vs. SVG text can be referred in [1].

This is a question worth investigating. Is our behavior consistent across platforms for a given glyph shape? (Does it depend on the gfx backend being used, skia vs cairo?) And can we make the HTML glyph-stroking respect a mitre limit?

[1] https://treeherder.mozilla.org/#/jobs?repo=try&revision=d47e85f2596e
(Assignee)

Updated

2 years ago
Assignee: nobody → ethlin
You need to log in before you can comment on or make changes to this bug.