Open
Bug 1216021
Opened 10 years ago
Updated 3 years ago
simplify global font search to eliminate CalcStyleMatch
Categories
(Core :: Graphics: Text, defect)
Core
Graphics: Text
Tracking
()
NEW
| Tracking | Status | |
|---|---|---|
| firefox44 | --- | affected |
People
(Reporter: jtd, Unassigned)
References
Details
(Whiteboard: gfx-noted)
For style matching we use a function, WeightStyleStretchDistance for measuring the "closeness" of a given font to a set of target weight/style/stretch attributes. The code for global font fallback in gfxFontFamily::FindFontForChar and gfxFontFamily::SearchAllFontsForChar uses something very similar in CalcStyleMatch.
We should rework the global fallback code to simply use WeightStyleStretchDistance and eliminate CalcStyleMatch.
Updated•10 years ago
|
Whiteboard: gfx-noted
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•