Odd jaggies when rendering lowercase w in helvetica with stroke.
Categories
(Core :: Graphics: Text, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox68 | --- | fixed |
People
(Reporter: bwinton, Assigned: jfkthame)
References
()
Details
Attachments
(1 file)
c, v, and 4 are also a little odd…
Reporter | ||
Comment 1•6 years ago
|
||
(Andrew Osmond said that you might know something about this, @jkew? 🙂)
Oh, other info:
- macOS 10.14.4 (18E226)
- Firefox Nightly 68.0a1 (2019-04-25) (64-bit)
- Fails with Webrender both on and off.
Huh, also fails on Safari, so maybe not something we can do much about?
Assignee | ||
Comment 2•6 years ago
|
||
Not specific to Helvetica, FWIW; try other sans-serifs like Arial or Impact.
It's a bit tricky to decide how best to handle sharp angles when stroking a path; see discussion of rounded vs beveled vs mitered joins, e.g. in cairo documentation, and parameters like the "miter limit". Possibly defaulting to rounded instead of mitered joins when stroking glyphs would be a safer option, although it's not obvious that there is any one "perfect" choice; alternatively, we could at least try reducing the miter limit.
Assignee | ||
Comment 3•6 years ago
|
||
Updated•6 years ago
|
Comment 5•6 years ago
|
||
Backed out changeset bd68b6dfd83e (bug 1546985) for Reftest failures. CLOSED TREE
Log:
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=242724072&repo=autoland&lineNumber=36877
Push with failures:
https://treeherder.mozilla.org/#/jobs?repo=autoland&revision=bd68b6dfd83e13a9ec3ff273b17fcb1992ae10ec
Backout:
https://hg.mozilla.org/integration/autoland/rev/d9e0ffa11ce7837c9dffbdeab702a37a50c9857f
Assignee | ||
Comment 6•6 years ago
|
||
Oops - I forgot we have reftests that compare -webkit-text-stroke against SVG stroking, sorry. So we'll need to add stroke-linejoin=round to the SVG references there in order to match the rendering. I'll push that fix through try before re-landing.
Comment 8•6 years ago
|
||
bugherder |
Description
•