From e343467e1e0bb1c2471ac63f60a463c908ffb952 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20R=C3=B6ttsches?= Date: Tue, 24 Mar 2020 11:11:01 +0200 Subject: [PATCH] Add STAT table, fix name IDs (#22392) Concluding from the discussion in #22355 name ids should have values greater than 255, and the font should have a STAT table. The name id issue is something the Firefox prints out as an error on the command line. Add a STAT table, add a named instance for the regular instance, and move name ids in this change. Also add encoding headers in tests and references, and suppress font-synthesis as this is needed to help the test pass on Firefox. Fixes #22355 for Firefox. --- .../fixed-stretch-style-over-weight-ref.html | 1 + .../fixed-stretch-style-over-weight.html | 1 + css/css-fonts/matching/font-matching.css | 1 + .../resources/variabletest_matching.ttf | Bin 4544 -> 4648 bytes ...tch-distance-over-weight-distance-ref.html | 1 + ...stretch-distance-over-weight-distance.html | 1 + ...tyle-ranges-over-weight-direction-ref.html | 1 + .../style-ranges-over-weight-direction.html | 1 + 8 files changed, 7 insertions(+) diff --git a/css/css-fonts/matching/fixed-stretch-style-over-weight-ref.html b/css/css-fonts/matching/fixed-stretch-style-over-weight-ref.html index ccbd4efaee5458..16826307c8335c 100644 --- a/css/css-fonts/matching/fixed-stretch-style-over-weight-ref.html +++ b/css/css-fonts/matching/fixed-stretch-style-over-weight-ref.html @@ -1,5 +1,6 @@ +