mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 705594. Add script code for system font fallback. r=roc
This commit is contained in:
parent
ba9ce0c0f4
commit
e66ba11147
@ -454,6 +454,10 @@ gfxPlatformFontList::SystemFindFontForChar(const PRUint32 aCh,
|
||||
intElapsed);
|
||||
first = false;
|
||||
|
||||
// track the script for which fallback occurred (incremented one make it
|
||||
// 1-based)
|
||||
Telemetry::Accumulate(Telemetry::SYSTEM_FONT_FALLBACK_SCRIPT, aRunScript + 1);
|
||||
|
||||
return fontEntry;
|
||||
}
|
||||
|
||||
|
@ -135,6 +135,8 @@ HISTOGRAM(MAC_INITFONTLIST_TOTAL, 1, 30000, 10, EXPONENTIAL, "gfxMacPlatformFont
|
||||
|
||||
HISTOGRAM(SYSTEM_FONT_FALLBACK, 1, 100000, 50, EXPONENTIAL, "System font fallback (us)")
|
||||
HISTOGRAM(SYSTEM_FONT_FALLBACK_FIRST, 1, 40000, 20, EXPONENTIAL, "System font fallback, first call (ms)")
|
||||
HISTOGRAM(SYSTEM_FONT_FALLBACK_SCRIPT, 1, 110, 111, LINEAR, "System font fallback script")
|
||||
|
||||
HISTOGRAM(STARTUP_CACHE_AGE_HOURS, 1, 3000, 20, EXPONENTIAL, "Startup cache age (hours)")
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user