diff options
author | Rasmus Andersson <rasmus@notion.se> | 2018-08-29 06:05:44 +0300 |
---|---|---|
committer | Rasmus Andersson <rasmus@notion.se> | 2018-08-29 06:05:44 +0300 |
commit | 5b246166f24d74daf4fa40d2b0f62dfe71b869d6 (patch) | |
tree | c70f5e50a2531076c52587689ca0c18eed8b8b4e /src/Inter-UI-Black.ufo | |
parent | 89786920744ef7717e6d49b6b3681d47279a0e27 (diff) | |
download | inter-5b246166f24d74daf4fa40d2b0f62dfe71b869d6.tar.xz |
Fixes tabular numbers for medium, bold and black weights. Closes #60
Diffstat (limited to 'src/Inter-UI-Black.ufo')
-rw-r--r-- | src/Inter-UI-Black.ufo/features.fea | 20 | ||||
-rw-r--r-- | src/Inter-UI-Black.ufo/glyphs/contents.plist | 2 | ||||
-rw-r--r-- | src/Inter-UI-Black.ufo/glyphs/four.tnum.glif | 18 | ||||
-rw-r--r-- | src/Inter-UI-Black.ufo/glyphs/zero.tnum.slash.glif | 8 | ||||
-rw-r--r-- | src/Inter-UI-Black.ufo/lib.plist | 2 |
5 files changed, 23 insertions, 27 deletions
diff --git a/src/Inter-UI-Black.ufo/features.fea b/src/Inter-UI-Black.ufo/features.fea index c1a3a4541..020cf69a1 100644 --- a/src/Inter-UI-Black.ufo/features.fea +++ b/src/Inter-UI-Black.ufo/features.fea @@ -1,21 +1 @@ include(../features.fea); - -@TNUM_L = [ - zero one two three five six seven eight nine - one.1 four.1 six.1 nine.1 - period comma -]; -@TNUM_R = [ - zero.tnum one.tnum two.tnum three.tnum five.tnum six.tnum seven.tnum eight.tnum nine.tnum - one.tnum.1 four.tnum.1 six.tnum.1 nine.tnum.1 - period.tnum comma.tnum -]; - -feature tnum { - sub @TNUM_L by @TNUM_R; -} tnum; - -feature zero { - sub zero by zero.slash; - sub zero.tnum by zero.tnum.slash; -} zero; diff --git a/src/Inter-UI-Black.ufo/glyphs/contents.plist b/src/Inter-UI-Black.ufo/glyphs/contents.plist index 50caf4a0b..e93bdcc53 100644 --- a/src/Inter-UI-Black.ufo/glyphs/contents.plist +++ b/src/Inter-UI-Black.ufo/glyphs/contents.plist @@ -938,6 +938,8 @@ <string>four.frac.glif</string> <key>four.sup</key> <string>four.sup.glif</string> + <key>four.tnum</key> + <string>four.tnum.glif</string> <key>four.tnum.1</key> <string>four.tnum.1.glif</string> <key>fourroman</key> diff --git a/src/Inter-UI-Black.ufo/glyphs/four.tnum.glif b/src/Inter-UI-Black.ufo/glyphs/four.tnum.glif new file mode 100644 index 000000000..de8b7f417 --- /dev/null +++ b/src/Inter-UI-Black.ufo/glyphs/four.tnum.glif @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<glyph name="four.tnum" format="1"> + <advance width="1824"/> + <outline> + <component base="four" xOffset="32"/> + </outline> + <lib> + <dict> + <key>com.typemytype.robofont.mark</key> + <array> + <real>0.9230863777</real> + <real>0.9647658846</real> + <real>0.7857136537</real> + <real>1.0</real> + </array> + </dict> + </lib> +</glyph> diff --git a/src/Inter-UI-Black.ufo/glyphs/zero.tnum.slash.glif b/src/Inter-UI-Black.ufo/glyphs/zero.tnum.slash.glif index 56e6016e7..2a47a3770 100644 --- a/src/Inter-UI-Black.ufo/glyphs/zero.tnum.slash.glif +++ b/src/Inter-UI-Black.ufo/glyphs/zero.tnum.slash.glif @@ -2,13 +2,7 @@ <glyph name="zero.tnum.slash" format="1"> <advance width="1824"/> <outline> - <contour> - <point x="1156" y="1848" type="line"/> - <point x="412" y="336" type="line"/> - <point x="660" y="160" type="line"/> - <point x="1412" y="1680" type="line"/> - </contour> - <component base="zero" xOffset="64"/> + <component base="zero.slash" xOffset="64"/> </outline> <lib> <dict> diff --git a/src/Inter-UI-Black.ufo/lib.plist b/src/Inter-UI-Black.ufo/lib.plist index 4dbb1b8ee..1d1ab5c2e 100644 --- a/src/Inter-UI-Black.ufo/lib.plist +++ b/src/Inter-UI-Black.ufo/lib.plist @@ -511,6 +511,7 @@ <string>three.tnum</string> <string>four</string> <string>four.1</string> + <string>four.tnum</string> <string>four.tnum.1</string> <string>five</string> <string>five.tnum</string> @@ -1828,6 +1829,7 @@ <string>three.tnum</string> <string>four</string> <string>four.1</string> + <string>four.tnum</string> <string>four.tnum.1</string> <string>five</string> <string>five.tnum</string> |