From 29f1fba107df9a94042d33ca9e3b03e8d02d52d9 Mon Sep 17 00:00:00 2001 From: Marek Z Jeziorek Date: Thu, 24 Sep 2020 04:08:09 +0000 Subject: 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) Test: to look at recovery `adb reboot recovery`, then use the button to select graphic test. Change-Id: I1a7e92cfd580bdb122c1038538afb007bfcf780f --- tools/image_generator/ImageGenerator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/image_generator/ImageGenerator.java b/tools/image_generator/ImageGenerator.java index fb68fd498..8251a414f 100644 --- a/tools/image_generator/ImageGenerator.java +++ b/tools/image_generator/ImageGenerator.java @@ -113,7 +113,7 @@ public class ImageGenerator { private static final Map LANGUAGE_TO_FONT_MAP = new TreeMap() { { - put("am", "NotoSansEthiopic-Regular"); + put("am", "NotoSansEthiopic-VF"); put("ar", "NotoNaskhArabicUI-Regular"); put("as", "NotoSansBengaliUI-Regular"); put("bn", "NotoSansBengaliUI-Regular"); -- cgit v1.2.3