Skip to content

Commit 9f06bbc

Browse files
committed
Version 2.2
* Redrew all glyphs with regular cubic contours, leading to smaller filesize * Added "of", "and" and "the" discretionary ligatures
1 parent da13b34 commit 9f06bbc

9 files changed

Lines changed: 12119 additions & 7753 deletions

File tree

Chomsky.sfd

Lines changed: 12103 additions & 7706 deletions
Large diffs are not rendered by default.

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
all:
2+
./build.sh

build.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,12 @@ fontforge -lang=py -script build.py
88
if [[ "$STOP" =~ ^[Yy]$ ]]; then
99
exit
1010
fi
11-
# Generate a WOFF, if posssible
11+
# Generate WOFF/WOFF2, if posssible
1212
hash sfnt2woff 2>/dev/null && sfnt2woff dist/Chomsky.otf
13+
hash woff2_compress 2>/dev/null && woff2_compress dist/Chomsky.otf
14+
# Compress if possible
15+
hash compreffor 2>/dev/null && compreffor dist/Chomsky.otf
16+
mv dist/Chomsky.compressed.otf dist/Chomsky.otf
1317

1418
INSTALLDIR=$HOME/.fonts/c
1519
if [[ "$INSTALL" =~ ^[Yy]$ ]]; then

dist/Chomsky.otf

-62.7 KB
Binary file not shown.

dist/Chomsky.woff

-19.7 KB
Binary file not shown.

features.fea

Lines changed: 7 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ feature dlig {
77
sub n d by nd.dlig;
88
sub r d by rd.dlig;
99
sub t h by th.dlig;
10+
sub t h e by the.dlig;
11+
sub a n d by and.dlig;
12+
sub o f by of.dlig;
1013
} dlig1;
1114
} dlig;
1215

@@ -89,56 +92,16 @@ feature salt {
8992
sub uni2E17 by uni2E17.alt;
9093
} salt;
9194

95+
@combiningmarks = [gravecomb acutecomb circumflexcomb tildecomb macroncomb overlinecomb brevecomb periodcomb dieresiscomb ringabovecomb hungarumlautcomb caroncomb doublegravecomb uni0315 cedillacomb ogonekcomb uni0364];
9296
feature ccmp {
93-
sub [i j]' uni0364 by [dotlessi dotlessj];
97+
sub [i j]' @combiningmarks by [dotlessi dotlessj];
9498
} ccmp;
9599

96-
#feature kern {
97-
# # Kerns which affect large groups
98-
# pos @lowerA @lowerA -30; # (A)
99-
# pos @lowerA [@c] 10;
100-
# pos @lowerA [@s] 5;
101-
# pos @upper_groupC @lowerA -30;
102-
#
103-
# # Kerns which affect specific letters
104-
# pos @N @f_lowers -80;
105-
# pos @T @lowerA 10;
106-
# pos [@f f_f] [@f_lowers @r @t] -110;
107-
# pos [@f f_f] space -80;
108-
# pos @F @f_lowers -110;
109-
# pos @F @r -90;
110-
# pos [@lower_no_f @upper_no_f_N] @a 10; # (B) This partially cancels out (A)
111-
# #pos [@r] @a -65;
112-
# pos [@t] @a -45;
113-
# pos @a [@n @m] -45;
114-
# pos [@n @m] @a -20;
115-
# pos [@b @o] [@q @d] 30;
116-
# pos [@S @o @e] [@c @d @e] 30;
117-
# pos [@e] [@e] -30;
118-
# pos [@b @o] @lowerA 10;
119-
# pos @e @a -15;
120-
# pos [@S @s] @lowerA 15;
121-
# pos [@S] [@c] 50;
122-
# pos [@o] [@c @d] 50;
123-
# pos [@a @l @r] [@d] 30;
124-
#
125-
# # This is mostly for handling many repeating `f`'s, as in, "Oofffff!"
126-
# pos [f_f] [@f f_f f_l f_f_l f_i f_f_i] -185;
127-
# pos [@f] [@f f_f f_l f_f_l f_i f_f_i] -175;
128-
#} kern;
129-
130-
#markClass [gravecomb acutecomb tildecomb] <anchor 273 353> @mark_top;
131-
#feature mark {
132-
# lookup mark1 {
133-
# pos base [a n] <anchor 307 573> mark @mark_top;
134-
# } mark1;
135-
#} mark;
136-
137-
@roundlc = [ @b @d @h @o @p eth thorn ];
100+
@roundlc = [@b @d @h @o @p eth thorn];
138101

139102
feature hist {
140103
lookup hist1 {
141104
lookupflag 0;
142-
sub [ @roundlc ] [\r ]' by [\uniA75B ];
105+
sub @roundlc r' by uniA75B;
143106
} hist1;
144107
} hist;

tex/v2.0.pdf

-8.02 KB
Binary file not shown.

tex/v2.0.png

-14.7 KB
Loading

tex/v2.0.sil

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ New in version 2.1:
99

1010
Mark Shoulson:
1111
* Added ƿ and Ƿ
12-
* Added `hist` feature automatically enabling Nikita's r-rotunda. E.g.:
12+
* Added `hist` feature automatically enabling Nikita's r rotunda. E.g.:
1313
\kern[width=0.33em]\rebox[phantom=y]{ *} \font[features=+hist]{New York, Newark, Madrid}
1414

1515
New in version 2.0:
@@ -23,7 +23,7 @@ Fredrick Brennan:
2323
Nikita Moor:
2424
* Gave `m` a top mark anchor (m̃m̂ḿ);
2525
* Drew a combining e above (mͤiͤ);
26-
* Drew an r-rotunda (ꝛ)
26+
* Drew an r rotunda (ꝛ)
2727
* Drew an alternate double oblique hyphen (-).
2828
}}
2929
\end{document}

0 commit comments

Comments
 (0)