From e651d8799ed4cda110a8db0008c83fd175afe6d6 Mon Sep 17 00:00:00 2001 From: Santiago Etchebehere Date: Tue, 8 Jan 2019 14:32:51 -0800 Subject: Remove character from font that was breaking When ag/5928763 was merged, it broke the build because fontchain_linter found that this font includes U+2600. So using fonttools, the character was removed and fontchain_linter is now happy. Bug: 118756857 Test: m fontchain_lint Test: m Test: Visual test on device Change-Id: I75f1a5e8bf6876f5aea80961b5374f0e977a64ca --- Lato-Bold.ttf | Bin 656544 -> 587864 bytes Lato-BoldItalic.ttf | Bin 698364 -> 618416 bytes Lato-Italic.ttf | Bin 722900 -> 643648 bytes Lato-Regular.ttf | Bin 656568 -> 589720 bytes README.android | 7 +++++++ 5 files changed, 7 insertions(+) create mode 100644 README.android diff --git a/Lato-Bold.ttf b/Lato-Bold.ttf index 1d23c70..d674075 100644 Binary files a/Lato-Bold.ttf and b/Lato-Bold.ttf differ diff --git a/Lato-BoldItalic.ttf b/Lato-BoldItalic.ttf index a3b8e33..31f9f51 100644 Binary files a/Lato-BoldItalic.ttf and b/Lato-BoldItalic.ttf differ diff --git a/Lato-Italic.ttf b/Lato-Italic.ttf index 70a870f..f32cc5c 100644 Binary files a/Lato-Italic.ttf and b/Lato-Italic.ttf differ diff --git a/Lato-Regular.ttf b/Lato-Regular.ttf index 0f3d0f8..a0a25ff 100644 Binary files a/Lato-Regular.ttf and b/Lato-Regular.ttf differ diff --git a/README.android b/README.android new file mode 100644 index 0000000..73ccfdf --- /dev/null +++ b/README.android @@ -0,0 +1,7 @@ +Source URL: http://www.latofonts.com/ +License: OFL 1.1 +License File: NOTICE + +Local Modifications: +The character corresponding to U+2600 was removed using fonttools (https://github.com/fonttools/fonttools) to comply with Android font requirements. +A Python script was created that used fonttools Subsetter oobject to create a copy of the font with a subset including all characters but U+2600. \ No newline at end of file -- cgit v1.2.3