Chromium Code Reviews
DescriptionReport new UseCounter metric when observing NotDef glyphs
When shaping fails to find at least one glyph, report this as a new
UseCounter metric "FontShapingNotDefGlyphObserved" for the current
document, which we can access via FontSelector. Measuring it as a ratio
against all UseCounter events should help us evaluate how frequently
.notdef glyphs occur in general. A separate histogram to be added later
will help find out for which characters or graphemes specifically we
fail to find glyphs for.
BUG=699578
Review-Url: https://codereview.chromium.org/2751163002
Cr-Commit-Position: refs/heads/master@{#470917}
Committed: https://chromium.googlesource.com/chromium/src/+/a3976985653410d2d753c268f8085873b6ed4a56
Patch Set 1 #Patch Set 2 : Don't insist on having a FontSelector #Patch Set 3 : Remove cross-Blink rename merge artifacts #Patch Set 4 : Relax num_glyphs assertion, not feasible on Mac #Messages
Total messages: 37 (24 generated)
|