Skip to content

Commit 348dfb5

Browse files
committed
Rename glyphs from unicode to symbolic names in ttf hinting (see source-foundry#500)
1 parent 7a6967d commit 348dfb5

File tree

4 files changed

+38
-38
lines changed

4 files changed

+38
-38
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11

22
# U+0021 exclam glyph ID 580
3-
uni0021 touch 22,23,24,25 y -0.5 @14
3+
exclam touch 22,23,24,25 y -0.5 @14
44

55
# U+0025 percent glyph ID 762
6-
uni0025 touch 0,1,16 y 0.75 @10,11
7-
uni0025 touch 23,24,25 y 0.25 @10,11
8-
uni0025 touch 17,18,32,46,47,48 y 0.5 @10,11
9-
uni0025 touch 57,58,71 y -0.25 @10,11
10-
uni0025 touch 33,34,35,36 y 0.5 @10,11
11-
uni0025 touch 63,64,65 y 0.75 @10,11
6+
percent touch 0,1,16 y 0.75 @10,11
7+
percent touch 23,24,25 y 0.25 @10,11
8+
percent touch 17,18,32,46,47,48 y 0.5 @10,11
9+
percent touch 57,58,71 y -0.25 @10,11
10+
percent touch 33,34,35,36 y 0.5 @10,11
11+
percent touch 63,64,65 y 0.75 @10,11
1212

13-
uni0025 touch 23,24,25,63,64,65 y 0.5 @14
14-
uni0025 touch 17,18,32,57,58,71 y -0.5 @14
13+
percent touch 23,24,25,63,64,65 y 0.5 @14
14+
percent touch 17,18,32,57,58,71 y -0.5 @14
1515

1616
# U+002B plus glyph ID 765
17-
uni002B touch 0,1,2,3,6,7,8,9 y 0.5 @10,11
17+
plus touch 0,1,2,3,6,7,8,9 y 0.5 @10,11
1818

1919
# U+0038 eight glyph ID 556
20-
uni0038 touch 41,42,43 y 0.25 @12,13,14
21-
uni0038 touch 34,35,48 y -0.25 @12,13,14
20+
eight touch 41,42,43 y 0.25 @12,13,14
21+
eight touch 34,35,48 y -0.25 @12,13,14
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11

22
# U+002B plus glyph ID 751
3-
uni002B touch 0,1,2,3,6,7,8,9 y 0.5 @10,11
3+
plus touch 0,1,2,3,6,7,8,9 y 0.5 @10,11
44

postbuild_processing/tt-hinting/Hack-Italic-TA.txt

+10-10
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@
77
# bar touch 0,3 y -1 @ 10,14
88

99
# # U+0025 percent glyph 750
10-
uni0025 touch 0,1,21,22,23,39 y 0.5 @10
11-
uni0025 touch 40 y 0.75 @10
12-
uni0025 touch 41,42,43 y 0.5 @10
13-
uni0025 touch 51,52,53,72,73,74 y 0.5 @10
10+
percent touch 0,1,21,22,23,39 y 0.5 @10
11+
percent touch 40 y 0.75 @10
12+
percent touch 41,42,43 y 0.5 @10
13+
percent touch 51,52,53,72,73,74 y 0.5 @10
1414

15-
uni0025 touch 40,43 y -0.75 @11
16-
uni0025 touch 41,42 y 0.75 @11
15+
percent touch 40,43 y -0.75 @11
16+
percent touch 41,42 y 0.75 @11
1717

18-
uni0025 touch 0,1,21,22,23,39 y -0.25 @14
19-
uni0025 touch 8,9,10,30,31,32 y 0.25 @14
20-
uni0025 touch 51,52,53,72,73,74 y -0.5 @14
21-
uni0025 touch 40,41,42,43 y -0.25 @14
18+
percent touch 0,1,21,22,23,39 y -0.25 @14
19+
percent touch 8,9,10,30,31,32 y 0.25 @14
20+
percent touch 51,52,53,72,73,74 y -0.5 @14
21+
percent touch 40,41,42,43 y -0.25 @14
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11

22
# U+0023 numbersign glyph ID 582
3-
uni0023 touch 0,1,2,3,18,19,20,21,22,23,24,25,26,27,28,31 x 0.25 @ 13
3+
numbersign touch 0,1,2,3,18,19,20,21,22,23,24,25,26,27,28,31 x 0.25 @ 13
44

55
# U+0025 percent glyph 761
6-
uni0025 touch 0,1,21,22,23,39 y 0.5 @10
7-
uni0025 touch 40 y 0.75 @10
8-
uni0025 touch 41,42,43 y 0.5 @10
9-
uni0025 touch 51,52,53,70,71,72 y 0.5 @10
6+
percent touch 0,1,21,22,23,39 y 0.5 @10
7+
percent touch 40 y 0.75 @10
8+
percent touch 41,42,43 y 0.5 @10
9+
percent touch 51,52,53,70,71,72 y 0.5 @10
1010

11-
uni0025 touch 40,43 y -0.75 @11
12-
uni0025 touch 41,42 y 0.75 @11
11+
percent touch 40,43 y -0.75 @11
12+
percent touch 41,42 y 0.75 @11
1313

14-
uni0025 touch 0,1,21,22,23,39 y -0.25 @14
15-
uni0025 touch 8,9,10,30,31,32 y 0.25 @14
16-
uni0025 touch 51,52,53,70,71,72 y -0.5 @14
17-
uni0025 touch 40,41,42,43 y -0.25 @14
14+
percent touch 0,1,21,22,23,39 y -0.25 @14
15+
percent touch 8,9,10,30,31,32 y 0.25 @14
16+
percent touch 51,52,53,70,71,72 y -0.5 @14
17+
percent touch 40,41,42,43 y -0.25 @14
1818

1919
# U+002B plus glyph ID 764
20-
uni002B touch 4,5,10,11 y 0.5 @12
21-
uni002B touch 4,5 y 1.0 @13
20+
plus touch 4,5,10,11 y 0.5 @12
21+
plus touch 4,5 y 1.0 @13
2222

2323
# U+0030 zero glyph ID 548
24-
uni0030 touch 35,36,45,46,47,56 y -0.5 @8
25-
uni0030 touch 35,36,56 y -1.0 @12,13,14
24+
zero touch 35,36,45,46,47,56 y -0.5 @8
25+
zero touch 35,36,56 y -1.0 @12,13,14

0 commit comments

Comments
 (0)