Include /product/fonts directory in local font matching
Include /product/fonts directory for scanning for local fonts. Since this is a change in what directories we are indexing, add a suffix to the Android build fingerprint so that a reindexing is triggered. Because after this change the previous build fingerprint that was persisted to the cache file does not match, a reindexing is triggered and the newly read font metadata is written to the same cache file, overwriting the old data, and storing it under the suffixed fingerprint. Manually tested using a page that includes "Google Sans" font using Google Fonts' CSS and confirming that the local font is used via DevTools chrome://inspect. Bug: 939729 Change-Id: Ic190b116c1395aa573382c33d9266af8a75d6535 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2050370Reviewed-by:Avi Drissman <avi@chromium.org> Commit-Queue: Dominik Röttsches <drott@chromium.org> Cr-Commit-Position: refs/heads/master@{#741005}
Showing
Please register or sign in to comment