Add CSSTest-*.ttf test fonts to third_party test_fonts Enables improved testing of system font matching, see WPT tests: css/css-fonts/font-family-name-* Fonts from https://www.w3.org/Style/CSS/Test/Fonts/CSSTest/ Removed local() sources from font-weight-matching.html to address discrepancy between cssTest fonts published in [1] and WPT, compare [2]. [1] https://www.w3.org/Style/CSS/Test/Fonts/CSSTest/ [2] https://github.com/web-platform-tests/wpt/pull/9373 Fixed: 414312056 Change-Id: If13bc9e63900f583549f52decf4244bee3e695df Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6512831 Reviewed-by: Thomas Anderson <thomasanderson@chromium.org> Commit-Queue: Dominik Röttsches <drott@chromium.org> Auto-Submit: Dominik Röttsches <drott@chromium.org> Cr-Commit-Position: refs/heads/main@{#1459911} NOKEYCHECK=True GitOrigin-RevId: 0e2120266980b2e448859cfe42d15cfcd2adc07c
diff --git a/BUILD.gn b/BUILD.gn index 47bfb8c..4b78412 100644 --- a/BUILD.gn +++ b/BUILD.gn
@@ -36,6 +36,58 @@ "test_fonts/Tinos-BoldItalic.ttf", "test_fonts/Tinos-Italic.ttf", "test_fonts/Tinos-Regular.ttf", + "test_fonts/csstest-ascii.ttf", + "test_fonts/csstest-basic-bold.ttf", + "test_fonts/csstest-basic-bolditalic.ttf", + "test_fonts/csstest-basic-italic.ttf", + "test_fonts/csstest-basic-regular.ttf", + "test_fonts/csstest-fallback.ttf", + "test_fonts/csstest-familyname-bold.ttf", + "test_fonts/csstest-familyname-funkyA.ttf", + "test_fonts/csstest-familyname-funkyB.ttf", + "test_fonts/csstest-familyname-funkyC.ttf", + "test_fonts/csstest-familyname.ttf", + "test_fonts/csstest-verify.ttf", + "test_fonts/csstest-weights-100.ttf", + "test_fonts/csstest-weights-1479-w1.ttf", + "test_fonts/csstest-weights-1479-w4.ttf", + "test_fonts/csstest-weights-1479-w7.ttf", + "test_fonts/csstest-weights-1479-w9.ttf", + "test_fonts/csstest-weights-15-w1.ttf", + "test_fonts/csstest-weights-15-w5.ttf", + "test_fonts/csstest-weights-200.ttf", + "test_fonts/csstest-weights-24-w2.ttf", + "test_fonts/csstest-weights-24-w4.ttf", + "test_fonts/csstest-weights-2569-w2.ttf", + "test_fonts/csstest-weights-2569-w5.ttf", + "test_fonts/csstest-weights-2569-w6.ttf", + "test_fonts/csstest-weights-2569-w9.ttf", + "test_fonts/csstest-weights-258-w2.ttf", + "test_fonts/csstest-weights-258-w5.ttf", + "test_fonts/csstest-weights-258-w8.ttf", + "test_fonts/csstest-weights-300.ttf", + "test_fonts/csstest-weights-3589-w3.ttf", + "test_fonts/csstest-weights-3589-w5.ttf", + "test_fonts/csstest-weights-3589-w8.ttf", + "test_fonts/csstest-weights-3589-w9.ttf", + "test_fonts/csstest-weights-400.ttf", + "test_fonts/csstest-weights-47-w4.ttf", + "test_fonts/csstest-weights-47-w7.ttf", + "test_fonts/csstest-weights-500.ttf", + "test_fonts/csstest-weights-600.ttf", + "test_fonts/csstest-weights-700.ttf", + "test_fonts/csstest-weights-800.ttf", + "test_fonts/csstest-weights-900.ttf", + "test_fonts/csstest-weights-full-w1.ttf", + "test_fonts/csstest-weights-full-w2.ttf", + "test_fonts/csstest-weights-full-w3.ttf", + "test_fonts/csstest-weights-full-w4.ttf", + "test_fonts/csstest-weights-full-w5.ttf", + "test_fonts/csstest-weights-full-w6.ttf", + "test_fonts/csstest-weights-full-w7.ttf", + "test_fonts/csstest-weights-full-w8.ttf", + "test_fonts/csstest-weights-full-w9.ttf", + "test_fonts/csstest-weights.ttf", ] outputs = [ "$root_out_dir/test_fonts/{{source_file_part}}" ]
diff --git a/LICENSE b/LICENSE index a3289f4..0366f49 100644 --- a/LICENSE +++ b/LICENSE
@@ -6,6 +6,7 @@ Lohit-Devanagari.ttf Lohit-Gurmukhi.ttf Lohit-Tamil.ttf +csstest-* Copyright 2011-13 Lohit Fonts Project contributors
diff --git a/README.chromium b/README.chromium index c42a23c..d841362 100644 --- a/README.chromium +++ b/README.chromium
@@ -68,3 +68,4 @@ Tinos-BoldItalic.ttf https://github.com/google/fonts/tree/master/apache/tinos Tinos-Italic.ttf https://github.com/google/fonts/tree/master/apache/tinos Tinos-Regular.ttf https://github.com/google/fonts/tree/master/apache/tinos +csstest-* https://www.w3.org/Style/CSS/Test/Fonts/CSSTest/