Update Ethiopic fonts to a variable format

Bug: 169374341

Test: All tests below are manual.
Test: 0. Open a reference device with an existing set of fonts
Test: 1. Upload new fonts.xml and the new fonts to a test device
Test: 2. Change language to Ethiopic on both devices
Test: 3. Open settings on both devices and visually compare them (they
should be the same)
Test: 4. Open the following pages on the test device (and on a reference
device):
Test:  https://en.wikipedia.org/wiki/Ethiopic_(Unicode_block)
Test:  https://unicode.org/udhr/d/udhr_amh.html
Test:  https://www.wordproject.org/bibles/verses/amharic/26_peace.htm
Test:  ... and visually compare them (they should be the same)

Change-Id: I12488fb505ae7b3c506383c7cec7cdebe133994d
This commit is contained in:
Marek Z Jeziorek
2020-09-24 21:19:47 +00:00
committed by Marek Jeziorek
parent 254b86415e
commit 344c88e99d

View File

@@ -283,10 +283,30 @@
<font weight="700" style="normal">NotoNaskhArabicUI-Bold.ttf</font>
</family>
<family lang="und-Ethi">
<font weight="400" style="normal">NotoSansEthiopic-Regular.ttf</font>
<font weight="700" style="normal">NotoSansEthiopic-Bold.ttf</font>
<font weight="400" style="normal" fallbackFor="serif">NotoSerifEthiopic-Regular.otf</font>
<font weight="700" style="normal" fallbackFor="serif">NotoSerifEthiopic-Bold.otf</font>
<font weight="400" style="normal">NotoSansEthiopic-VF.ttf
<axis tag="wght" stylevalue="400" />
</font>
<font weight="500" style="normal">NotoSansEthiopic-VF.ttf
<axis tag="wght" stylevalue="500" />
</font>
<font weight="600" style="normal">NotoSansEthiopic-VF.ttf
<axis tag="wght" stylevalue="600" />
</font>
<font weight="700" style="normal">NotoSansEthiopic-VF.ttf
<axis tag="wght" stylevalue="700" />
</font>
<font weight="400" style="normal" fallbackFor="serif">NotoSerifEthiopic-VF.ttf
<axis tag="wght" stylevalue="400" />
</font>
<font weight="500" style="normal" fallbackFor="serif">NotoSerifEthiopic-VF.ttf
<axis tag="wght" stylevalue="500" />
</font>
<font weight="600" style="normal" fallbackFor="serif">NotoSerifEthiopic-VF.ttf
<axis tag="wght" stylevalue="600" />
</font>
<font weight="700" style="normal" fallbackFor="serif">NotoSerifEthiopic-VF.ttf
<axis tag="wght" stylevalue="700" />
</font>
</family>
<family lang="und-Hebr">
<font weight="400" style="normal">NotoSansHebrew-Regular.ttf</font>