2
0
Эх сурвалжийг харах

updated subs & sups features

Chris Simpkins 10 жил өмнө
parent
commit
f93f2d307f

+ 0 - 7
CHANGELOG.md

@@ -2,13 +2,6 @@
 
 
 TODO:
 TODO:
 
 
-- e increased left SB
-- f SB changes
-- g increased left SB
-- i bring below baseline
-- j SB changes
-- l bring below baseline
-- t bring below baseline
 - remove fi & fl ligatures
 - remove fi & fl ligatures
 - fix punctuation
 - fix punctuation
 
 

+ 16 - 0
source/Hack-Regular.ufo/features.fea

@@ -8,6 +8,7 @@ languagesystem latn MOL;
 feature aalt {
 feature aalt {
 # automatic
 # automatic
 feature locl;
 feature locl;
+feature subs;
 feature sups;
 feature sups;
 feature frac;
 feature frac;
 feature ordn;
 feature ordn;
@@ -28,11 +29,26 @@ sub Scedilla by Scommaaccent;
 sub scedilla by scommaaccent;
 sub scedilla by scommaaccent;
 } locl;
 } locl;
 
 
+feature subs {
+# automatic
+sub zero by zeroinferior;
+sub one by oneinferior;
+sub two by twoinferior;
+sub three by threeinferior;
+sub four by fourinferior;
+sub five by fiveinferior;
+sub six by sixinferior;
+sub seven by seveninferior;
+sub eight by eightinferior;
+sub nine by nineinferior;
+} subs;
+
 feature sups {
 feature sups {
 # automatic
 # automatic
 sub one by onesuperior;
 sub one by onesuperior;
 sub two by twosuperior;
 sub two by twosuperior;
 sub three by threesuperior;
 sub three by threesuperior;
+sub zero by zerosuperior;
 sub four by foursuperior;
 sub four by foursuperior;
 sub five by fivesuperior;
 sub five by fivesuperior;
 sub six by sixsuperior;
 sub six by sixsuperior;

+ 22 - 22
source/Hack-Regular.ufo/glyphs/contents.plist

@@ -604,6 +604,8 @@
 	<string>egrave.glif</string>
 	<string>egrave.glif</string>
 	<key>eight</key>
 	<key>eight</key>
 	<string>eight.glif</string>
 	<string>eight.glif</string>
+	<key>eightinferior</key>
+	<string>eightinferior.glif</string>
 	<key>eightsuperior</key>
 	<key>eightsuperior</key>
 	<string>eightsuperior.glif</string>
 	<string>eightsuperior.glif</string>
 	<key>element</key>
 	<key>element</key>
@@ -662,6 +664,8 @@
 	<string>five.glif</string>
 	<string>five.glif</string>
 	<key>fiveeighths</key>
 	<key>fiveeighths</key>
 	<string>fiveeighths.glif</string>
 	<string>fiveeighths.glif</string>
+	<key>fiveinferior</key>
+	<string>fiveinferior.glif</string>
 	<key>fivesuperior</key>
 	<key>fivesuperior</key>
 	<string>fivesuperior.glif</string>
 	<string>fivesuperior.glif</string>
 	<key>fl</key>
 	<key>fl</key>
@@ -670,6 +674,8 @@
 	<string>florin.glif</string>
 	<string>florin.glif</string>
 	<key>four</key>
 	<key>four</key>
 	<string>four.glif</string>
 	<string>four.glif</string>
+	<key>fourinferior</key>
+	<string>fourinferior.glif</string>
 	<key>foursuperior</key>
 	<key>foursuperior</key>
 	<string>foursuperior.glif</string>
 	<string>foursuperior.glif</string>
 	<key>fraction</key>
 	<key>fraction</key>
@@ -816,6 +822,8 @@
 	<string>ncommaaccent.glif</string>
 	<string>ncommaaccent.glif</string>
 	<key>nine</key>
 	<key>nine</key>
 	<string>nine.glif</string>
 	<string>nine.glif</string>
+	<key>nineinferior</key>
+	<string>nineinferior.glif</string>
 	<key>ninesuperior</key>
 	<key>ninesuperior</key>
 	<string>ninesuperior.glif</string>
 	<string>ninesuperior.glif</string>
 	<key>nonbreakingspace</key>
 	<key>nonbreakingspace</key>
@@ -870,6 +878,8 @@
 	<string>oneeighth.glif</string>
 	<string>oneeighth.glif</string>
 	<key>onehalf</key>
 	<key>onehalf</key>
 	<string>onehalf.glif</string>
 	<string>onehalf.glif</string>
+	<key>oneinferior</key>
+	<string>oneinferior.glif</string>
 	<key>onequarter</key>
 	<key>onequarter</key>
 	<string>onequarter.glif</string>
 	<string>onequarter.glif</string>
 	<key>onesuperior</key>
 	<key>onesuperior</key>
@@ -1002,6 +1012,8 @@
 	<string>seven.glif</string>
 	<string>seven.glif</string>
 	<key>seveneighths</key>
 	<key>seveneighths</key>
 	<string>seveneighths.glif</string>
 	<string>seveneighths.glif</string>
+	<key>seveninferior</key>
+	<string>seveninferior.glif</string>
 	<key>sevensuperior</key>
 	<key>sevensuperior</key>
 	<string>sevensuperior.glif</string>
 	<string>sevensuperior.glif</string>
 	<key>sfthyphen</key>
 	<key>sfthyphen</key>
@@ -1016,6 +1028,8 @@
 	<string>similar.glif</string>
 	<string>similar.glif</string>
 	<key>six</key>
 	<key>six</key>
 	<string>six.glif</string>
 	<string>six.glif</string>
+	<key>sixinferior</key>
+	<string>sixinferior.glif</string>
 	<key>sixsuperior</key>
 	<key>sixsuperior</key>
 	<string>sixsuperior.glif</string>
 	<string>sixsuperior.glif</string>
 	<key>slash</key>
 	<key>slash</key>
@@ -1050,6 +1064,8 @@
 	<string>three.glif</string>
 	<string>three.glif</string>
 	<key>threeeighths</key>
 	<key>threeeighths</key>
 	<string>threeeighths.glif</string>
 	<string>threeeighths.glif</string>
+	<key>threeinferior</key>
+	<string>threeinferior.glif</string>
 	<key>threequarters</key>
 	<key>threequarters</key>
 	<string>threequarters.glif</string>
 	<string>threequarters.glif</string>
 	<key>threesuperior</key>
 	<key>threesuperior</key>
@@ -1072,6 +1088,8 @@
 	<string>triagup.glif</string>
 	<string>triagup.glif</string>
 	<key>two</key>
 	<key>two</key>
 	<string>two.glif</string>
 	<string>two.glif</string>
+	<key>twoinferior</key>
+	<string>twoinferior.glif</string>
 	<key>twosuperior</key>
 	<key>twosuperior</key>
 	<string>twosuperior.glif</string>
 	<string>twosuperior.glif</string>
 	<key>twothirds</key>
 	<key>twothirds</key>
@@ -2576,8 +2594,6 @@
 	<string>uni204B_.glif</string>
 	<string>uni204B_.glif</string>
 	<key>uni205F</key>
 	<key>uni205F</key>
 	<string>uni205F_.glif</string>
 	<string>uni205F_.glif</string>
-	<key>uni2070</key>
-	<string>uni2070.glif</string>
 	<key>uni207A</key>
 	<key>uni207A</key>
 	<string>uni207A_.glif</string>
 	<string>uni207A_.glif</string>
 	<key>uni207B</key>
 	<key>uni207B</key>
@@ -2588,26 +2604,6 @@
 	<string>uni207D_.glif</string>
 	<string>uni207D_.glif</string>
 	<key>uni207E</key>
 	<key>uni207E</key>
 	<string>uni207E_.glif</string>
 	<string>uni207E_.glif</string>
-	<key>uni2080</key>
-	<string>uni2080.glif</string>
-	<key>uni2081</key>
-	<string>uni2081.glif</string>
-	<key>uni2082</key>
-	<string>uni2082.glif</string>
-	<key>uni2083</key>
-	<string>uni2083.glif</string>
-	<key>uni2084</key>
-	<string>uni2084.glif</string>
-	<key>uni2085</key>
-	<string>uni2085.glif</string>
-	<key>uni2086</key>
-	<string>uni2086.glif</string>
-	<key>uni2087</key>
-	<string>uni2087.glif</string>
-	<key>uni2088</key>
-	<string>uni2088.glif</string>
-	<key>uni2089</key>
-	<string>uni2089.glif</string>
 	<key>uni208A</key>
 	<key>uni208A</key>
 	<string>uni208A_.glif</string>
 	<string>uni208A_.glif</string>
 	<key>uni208B</key>
 	<key>uni208B</key>
@@ -4274,6 +4270,10 @@
 	<string>zdotaccent.glif</string>
 	<string>zdotaccent.glif</string>
 	<key>zero</key>
 	<key>zero</key>
 	<string>zero.glif</string>
 	<string>zero.glif</string>
+	<key>zeroinferior</key>
+	<string>zeroinferior.glif</string>
+	<key>zerosuperior</key>
+	<string>zerosuperior.glif</string>
 	<key>zeta</key>
 	<key>zeta</key>
 	<string>zeta.glif</string>
 	<string>zeta.glif</string>
 </dict>
 </dict>

+ 1 - 1
source/Hack-Regular.ufo/glyphs/uni2088.glif → source/Hack-Regular.ufo/glyphs/eightinferior.glif

@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <?xml version="1.0" encoding="UTF-8"?>
-<glyph name="uni2088" format="1">
+<glyph name="eightinferior" format="1">
   <advance width="1233"/>
   <advance width="1233"/>
   <unicode hex="2088"/>
   <unicode hex="2088"/>
   <note>
   <note>

+ 1 - 1
source/Hack-Regular.ufo/glyphs/uni2085.glif → source/Hack-Regular.ufo/glyphs/fiveinferior.glif

@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <?xml version="1.0" encoding="UTF-8"?>
-<glyph name="uni2085" format="1">
+<glyph name="fiveinferior" format="1">
   <advance width="1233"/>
   <advance width="1233"/>
   <unicode hex="2085"/>
   <unicode hex="2085"/>
   <note>
   <note>

+ 1 - 1
source/Hack-Regular.ufo/glyphs/uni2084.glif → source/Hack-Regular.ufo/glyphs/fourinferior.glif

@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <?xml version="1.0" encoding="UTF-8"?>
-<glyph name="uni2084" format="1">
+<glyph name="fourinferior" format="1">
   <advance width="1233"/>
   <advance width="1233"/>
   <unicode hex="2084"/>
   <unicode hex="2084"/>
   <note>
   <note>

+ 1 - 1
source/Hack-Regular.ufo/glyphs/uni2089.glif → source/Hack-Regular.ufo/glyphs/nineinferior.glif

@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <?xml version="1.0" encoding="UTF-8"?>
-<glyph name="uni2089" format="1">
+<glyph name="nineinferior" format="1">
   <advance width="1233"/>
   <advance width="1233"/>
   <unicode hex="2089"/>
   <unicode hex="2089"/>
   <note>
   <note>

+ 1 - 1
source/Hack-Regular.ufo/glyphs/uni2081.glif → source/Hack-Regular.ufo/glyphs/oneinferior.glif

@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <?xml version="1.0" encoding="UTF-8"?>
-<glyph name="uni2081" format="1">
+<glyph name="oneinferior" format="1">
   <advance width="1233"/>
   <advance width="1233"/>
   <unicode hex="2081"/>
   <unicode hex="2081"/>
   <note>
   <note>

+ 1 - 1
source/Hack-Regular.ufo/glyphs/uni2087.glif → source/Hack-Regular.ufo/glyphs/seveninferior.glif

@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <?xml version="1.0" encoding="UTF-8"?>
-<glyph name="uni2087" format="1">
+<glyph name="seveninferior" format="1">
   <advance width="1233"/>
   <advance width="1233"/>
   <unicode hex="2087"/>
   <unicode hex="2087"/>
   <note>
   <note>

+ 1 - 1
source/Hack-Regular.ufo/glyphs/uni2086.glif → source/Hack-Regular.ufo/glyphs/sixinferior.glif

@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <?xml version="1.0" encoding="UTF-8"?>
-<glyph name="uni2086" format="1">
+<glyph name="sixinferior" format="1">
   <advance width="1233"/>
   <advance width="1233"/>
   <unicode hex="2086"/>
   <unicode hex="2086"/>
   <note>
   <note>

+ 1 - 1
source/Hack-Regular.ufo/glyphs/uni2083.glif → source/Hack-Regular.ufo/glyphs/threeinferior.glif

@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <?xml version="1.0" encoding="UTF-8"?>
-<glyph name="uni2083" format="1">
+<glyph name="threeinferior" format="1">
   <advance width="1233"/>
   <advance width="1233"/>
   <unicode hex="2083"/>
   <unicode hex="2083"/>
   <note>
   <note>

+ 1 - 1
source/Hack-Regular.ufo/glyphs/uni2082.glif → source/Hack-Regular.ufo/glyphs/twoinferior.glif

@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <?xml version="1.0" encoding="UTF-8"?>
-<glyph name="uni2082" format="1">
+<glyph name="twoinferior" format="1">
   <advance width="1233"/>
   <advance width="1233"/>
   <unicode hex="2082"/>
   <unicode hex="2082"/>
   <note>
   <note>

+ 1 - 1
source/Hack-Regular.ufo/glyphs/uni2080.glif → source/Hack-Regular.ufo/glyphs/zeroinferior.glif

@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <?xml version="1.0" encoding="UTF-8"?>
-<glyph name="uni2080" format="1">
+<glyph name="zeroinferior" format="1">
   <advance width="1233"/>
   <advance width="1233"/>
   <unicode hex="2080"/>
   <unicode hex="2080"/>
   <note>
   <note>

+ 1 - 1
source/Hack-Regular.ufo/glyphs/uni2070.glif → source/Hack-Regular.ufo/glyphs/zerosuperior.glif

@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <?xml version="1.0" encoding="UTF-8"?>
-<glyph name="uni2070" format="1">
+<glyph name="zerosuperior" format="1">
   <advance width="1233"/>
   <advance width="1233"/>
   <unicode hex="2070"/>
   <unicode hex="2070"/>
   <note>
   <note>

+ 11 - 11
source/Hack-Regular.ufo/lib.plist

@@ -3340,17 +3340,6 @@
 		<string>fiveeighths</string>
 		<string>fiveeighths</string>
 		<string>seveneighths</string>
 		<string>seveneighths</string>
 		<string>uni2151</string>
 		<string>uni2151</string>
-		<string>uni2080</string>
-		<string>uni2081</string>
-		<string>uni2082</string>
-		<string>uni2083</string>
-		<string>uni2084</string>
-		<string>uni2085</string>
-		<string>uni2086</string>
-		<string>uni2087</string>
-		<string>uni2088</string>
-		<string>uni2089</string>
-		<string>uni2070</string>
 		<string>onesuperior</string>
 		<string>onesuperior</string>
 		<string>twosuperior</string>
 		<string>twosuperior</string>
 		<string>threesuperior</string>
 		<string>threesuperior</string>
@@ -4294,6 +4283,17 @@
 		<string>uniE0B1</string>
 		<string>uniE0B1</string>
 		<string>uniE0B2</string>
 		<string>uniE0B2</string>
 		<string>uniE0B3</string>
 		<string>uniE0B3</string>
+		<string>zeroinferior</string>
+		<string>oneinferior</string>
+		<string>twoinferior</string>
+		<string>threeinferior</string>
+		<string>fourinferior</string>
+		<string>fiveinferior</string>
+		<string>sixinferior</string>
+		<string>seveninferior</string>
+		<string>eightinferior</string>
+		<string>nineinferior</string>
+		<string>zerosuperior</string>
 		<string>foursuperior</string>
 		<string>foursuperior</string>
 		<string>fivesuperior</string>
 		<string>fivesuperior</string>
 		<string>sixsuperior</string>
 		<string>sixsuperior</string>