fix: match Chrome's font fallback behavior (#15486)

* fix: match Chrome's font fallback behavior

Fixes #15481

* add a cache

* add test

* another test

* fix tests

* arial -> dejavu sans on linux apparently?
This commit is contained in:
Jeremy Apthorp 2018-11-08 06:51:51 -08:00 committed by John Kleinschmidt
parent ca2d74e118
commit 7e0e12b8a3
7 changed files with 264 additions and 0 deletions

View file

@ -143,12 +143,14 @@ template("electron_paks") {
}
source_patterns = [
"${root_gen_dir}/chrome/platform_locale_settings_",
"${root_gen_dir}/components/strings/components_strings_",
"${root_gen_dir}/content/app/strings/content_strings_",
"${root_gen_dir}/ui/strings/app_locale_settings_",
"${root_gen_dir}/ui/strings/ui_strings_",
]
deps = [
"//chrome/app/resources:platform_locale_settings",
"//components/strings:components_strings",
"//content/app/strings",
"//ui/strings:app_locale_settings",