Fix wrongly applied supportedAxes
The supportedAxes is for font node.
Bug; N/A
Flag: EXEMPT bugfix
Test: TreeHugger
Change-Id: Ibccbe2c7fbeba96ea3aa2ca5ce8a3e2210f3810f
Change-Id: Iefb53fbc222eae311abc5772c0c109745ded10f0
diff --git a/data/fonts/font_fallback.xml b/data/fonts/font_fallback.xml
index 53024ab..ae50da1 100644
--- a/data/fonts/font_fallback.xml
+++ b/data/fonts/font_fallback.xml
@@ -304,7 +304,7 @@
<font postScriptName="NotoSansBengali-Regular" supportedAxes="wght">
NotoSansBengali-VF.ttf
</font>
- <font fallbackFor="serif" postScriptName="NotoSerifBengali-Regular">
+ <font fallbackFor="serif" postScriptName="NotoSerifBengali-Regular" supportedAxes="wght">
NotoSerifBengali-VF.ttf
</font>
</family>
@@ -354,7 +354,7 @@
<font postScriptName="NotoSansSinhala-Regular" supportedAxes="wght">
NotoSansSinhala-VF.ttf
</font>
- <font fallbackFor="serif" postScriptName="NotoSerifSinhala-Regular">
+ <font fallbackFor="serif" postScriptName="NotoSerifSinhala-Regular" supportedAxes="wght">
NotoSerifSinhala-VF.ttf
</font>
</family>
@@ -927,23 +927,23 @@
NotoSansMedefaidrin-VF.ttf
</font>
</family>
- <family lang="und-Soyo" supportedAxes="wght">
- <font postScriptName="NotoSansSoyombo-Regular">
+ <family lang="und-Soyo">
+ <font postScriptName="NotoSansSoyombo-Regular" supportedAxes="wght">
NotoSansSoyombo-VF.ttf
</font>
</family>
- <family lang="und-Takr" supportedAxes="wght">
- <font postScriptName="NotoSansTakri-Regular">
+ <family lang="und-Takr">
+ <font postScriptName="NotoSansTakri-Regular" supportedAxes="wght">
NotoSansTakri-VF.ttf
</font>
</family>
- <family lang="und-Hmnp" supportedAxes="wght">
- <font postScriptName="NotoSerifHmongNyiakeng-Regular">
+ <family lang="und-Hmnp">
+ <font postScriptName="NotoSerifHmongNyiakeng-Regular" supportedAxes="wght">
NotoSerifNyiakengPuachueHmong-VF.ttf
</font>
</family>
- <family lang="und-Yezi" supportedAxes="wght">
- <font postScriptName="NotoSerifYezidi-Regular">
+ <family lang="und-Yezi">
+ <font postScriptName="NotoSerifYezidi-Regular" supportedAxes="wght">
NotoSerifYezidi-VF.ttf
</font>
</family>
diff --git a/data/fonts/font_fallback_cjkvf.xml b/data/fonts/font_fallback_cjkvf.xml
index a4ee825..407d704 100644
--- a/data/fonts/font_fallback_cjkvf.xml
+++ b/data/fonts/font_fallback_cjkvf.xml
@@ -304,7 +304,7 @@
<font postScriptName="NotoSansBengali-Regular" supportedAxes="wght">
NotoSansBengali-VF.ttf
</font>
- <font fallbackFor="serif" postScriptName="NotoSerifBengali-Regular">
+ <font fallbackFor="serif" postScriptName="NotoSerifBengali-Regular" supportedAxes="wght">
NotoSerifBengali-VF.ttf
</font>
</family>
@@ -354,7 +354,7 @@
<font postScriptName="NotoSansSinhala-Regular" supportedAxes="wght">
NotoSansSinhala-VF.ttf
</font>
- <font fallbackFor="serif" postScriptName="NotoSerifSinhala-Regular">
+ <font fallbackFor="serif" postScriptName="NotoSerifSinhala-Regular" supportedAxes="wght">
NotoSerifSinhala-VF.ttf
</font>
</family>
@@ -943,23 +943,23 @@
NotoSansMedefaidrin-VF.ttf
</font>
</family>
- <family lang="und-Soyo" supportedAxes="wght">
- <font postScriptName="NotoSansSoyombo-Regular">
+ <family lang="und-Soyo">
+ <font postScriptName="NotoSansSoyombo-Regular" supportedAxes="wght">
NotoSansSoyombo-VF.ttf
</font>
</family>
- <family lang="und-Takr" supportedAxes="wght">
- <font postScriptName="NotoSansTakri-Regular">
+ <family lang="und-Takr">
+ <font postScriptName="NotoSansTakri-Regular" supportedAxes="wght">
NotoSansTakri-VF.ttf
</font>
</family>
- <family lang="und-Hmnp" supportedAxes="wght">
- <font postScriptName="NotoSerifHmongNyiakeng-Regular">
+ <family lang="und-Hmnp">
+ <font postScriptName="NotoSerifHmongNyiakeng-Regular" supportedAxes="wght">
NotoSerifNyiakengPuachueHmong-VF.ttf
</font>
</family>
- <family lang="und-Yezi" supportedAxes="wght">
- <font postScriptName="NotoSerifYezidi-Regular">
+ <family lang="und-Yezi">
+ <font postScriptName="NotoSerifYezidi-Regular" supportedAxes="wght">
NotoSerifYezidi-VF.ttf
</font>
</family>