Lift fallback font unittests to share them across platforms
This CL is lifting the parameterized unittests originally wrote for windows to a common file to be available to other platforms. Test from KnownExpectedFonts will now also run on Linux. * Added the test cases for linux. Test from Glyphs are now running on every platforms. Adding a matching_glyphs count to font_fallback_linux.cc. Previously, a default font was returned for a single character even if it was not matching the character, it was still the best match. If no codepoints are found, the font is considered a no match. Change-Id: Ie4f871281737e254bbdbea9e04f8e527f1049569 Fixed: 3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1879956 Commit-Queue: Etienne Bergeron <etienneb@chromium.org> Reviewed-by:Alexei Svitkine <asvitkine@chromium.org> Reviewed-by:
Robert Liao <robliao@chromium.org> Cr-Commit-Position: refs/heads/master@{#710364}
Showing
This diff is collapsed.
Please register or sign in to comment