diff options
author | Danny Lin <danny@kdrag0n.dev> | 2020-01-22 06:25:21 +0300 |
---|---|---|
committer | Danny Lin <danny@kdrag0n.dev> | 2020-04-15 07:15:25 +0300 |
commit | 472648655f8142e4b7d1f09751ca9e82d86e4fbf (patch) | |
tree | 5ba12721b5bb399ea22159c4ded86c882b4290b8 | |
parent | 5e8095f9baf6b46c9c7948dc4d88a680258f7a6f (diff) | |
download | inter-472648655f8142e4b7d1f09751ca9e82d86e4fbf.tar.xz |
Implement U+EE01 vertically-centered colon for Android
Android's default system font, Roboto, does not have a calt alternative
to vertically center the colon when it's next to a number. Instead, it
uses a Private Use Area codepoint, U+EE01, for its vertically-centered
colon symbol that is used on the lock screen clock.
This adds U+EE01 as simple glyph that embeds U+E092 (colon.case) as a
component, since that character is a vertically-centered colon --
exactly what we're looking for in this case.
This font is fully usable as an Android system font after this change.
-rwxr-xr-x | src/Inter.glyphs | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/src/Inter.glyphs b/src/Inter.glyphs index 5cda939d6..dfdc63e84 100755 --- a/src/Inter.glyphs +++ b/src/Inter.glyphs @@ -448205,6 +448205,76 @@ width = 0; unicode = E12A; }, { +color = 4; +glyphname = uniEE01; +lastChange = "2020-02-02 05:46:31 +0000"; +layers = ( +{ +components = ( +{ +alignment = 1; +name = colon.case; +} +); +layerId = "B1F27B51-9973-4381-9301-4FE46FE1CA59"; +width = 712; +}, +{ +components = ( +{ +alignment = 1; +name = colon.case; +} +); +layerId = "200BE2C5-40F6-4CF4-AF4F-A33C0CC0964F"; +width = 712; +}, +{ +components = ( +{ +alignment = 1; +name = colon.case; +} +); +layerId = "C698F293-3EC0-4A5A-A3A0-0FDB1F5CF265"; +width = 776; +}, +{ +components = ( +{ +alignment = 1; +name = colon.case; +} +); +layerId = "11F4534A-B963-4AB5-820F-DAF9A20CD933"; +width = 776; +}, +{ +components = ( +{ +alignment = 1; +name = colon.case; +} +); +layerId = "5C20EF92-B63D-42A8-8878-93C2863E0093"; +width = 880; +}, +{ +components = ( +{ +alignment = 1; +name = colon.case; +} +); +layerId = "D0EC06BF-13F9-4C88-A6F5-B8203AF6C77E"; +width = 880; +} +); +leftKerningGroup = colon; +rightKerningGroup = colon.case; +unicode = EE01; +}, +{ color = (222,222,222,1); export = 0; glyphname = circumflexacutecomb.cn; |