Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Unicode code points for standard ligatures. #7

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 52 additions & 0 deletions source/Raleway Thin.ufo/features.fea
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
languagesystem DFLT dflt;
languagesystem latn dflt;

#feature aalt {
# XX
#} aalt;

#feature aalt {
# XX
#} aalt;

lookup lining {
sub [zero one two three four five six seven eight nine] by [zero.alt one.alt two.alt three.alt four.alt five.alt six.alt seven.alt eight.alt nine.alt];
} lining;

feature lnum {
lookup lining;
} lnum;

feature onum {
sub [zero.alt one.alt two.alt three.alt four.alt five.alt six.alt seven.alt eight.alt nine.alt] by [zero one two three four five six seven eight nine];
} onum;

feature smcp {
sub [a-z] by [A.sc-Z.sc];
} smcp;

feature c2sc {
sub [A-Z] by [A.sc-Z.sc];
} c2sc;

feature case {
lookup lining;
} case;

feature salt {
lookup lining;
sub [a d G j l q t u w W y] by [a.alt d.alt G.alt j.alt l.alt q.alt t.alt u.alt w.alt W.alt y.alt];
} salt;

feature liga {
sub f f i by ffi;
sub f f l by ffl;
sub f f by ff;
sub f i by fi;
sub f l by fl;
} liga;

feature dlig {
sub c t by ct;
sub s t by st;
} dlig;
1 change: 1 addition & 0 deletions source/Raleway Thin.ufo/glyphs/ff.glif
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<glyph name="ff" format="1">
<advance width="520"/>
<unicode hex="FB00"/>
<outline>
<contour>
<point x="517" y="720"/>
Expand Down
1 change: 1 addition & 0 deletions source/Raleway Thin.ufo/glyphs/ffi.glif
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<glyph name="ffi" format="1">
<advance width="616"/>
<unicode hex="FB03"/>
<outline>
<contour>
<point x="517" y="720"/>
Expand Down
1 change: 1 addition & 0 deletions source/Raleway Thin.ufo/glyphs/ffl.glif
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<glyph name="ffl" format="1">
<advance width="760"/>
<unicode hex="FB04"/>
<outline>
<contour>
<point x="730" y="23" type="line"/>
Expand Down
46 changes: 23 additions & 23 deletions source/Raleway Thin.ufo/groups.plist
Original file line number Diff line number Diff line change
Expand Up @@ -4,53 +4,53 @@
<dict>
<key>@MMK_L_Aacute</key>
<array>
<string>A'</string>
<string>A</string>
<string>Aacute</string>
<string>Acircumflex</string>
<string>Agrave</string>
<string>Atilde</string>
</array>
<key>@MMK_L_E</key>
<array>
<string>E'</string>
<string>E</string>
<string>Ecircumflex</string>
<string>Edieresis</string>
<string>Egrave</string>
</array>
<key>@MMK_L_Y</key>
<array>
<string>Y'</string>
<string>Y</string>
<string>Yacute</string>
</array>
<key>@MMK_L_Z</key>
<array>
<string>Z'</string>
<string>Z</string>
<string>Zcaron</string>
</array>
<key>@MMK_L_e</key>
<array>
<string>e'</string>
<string>e</string>
<string>eacute</string>
<string>ecircumflex</string>
<string>edieresis</string>
<string>egrave</string>
</array>
<key>@MMK_L_i</key>
<array>
<string>i'</string>
<string>i</string>
<string>iacute</string>
<string>icircumflex</string>
<string>idieresis</string>
<string>igrave</string>
</array>
<key>@MMK_L_n</key>
<array>
<string>n'</string>
<string>n</string>
<string>ntilde</string>
</array>
<key>@MMK_L_o</key>
<array>
<string>o'</string>
<string>o</string>
<string>oacute</string>
<string>ocircumflex</string>
<string>odieresis</string>
Expand All @@ -59,28 +59,28 @@
</array>
<key>@MMK_L_p</key>
<array>
<string>p'</string>
<string>p</string>
<string>thorn</string>
</array>
<key>@MMK_L_s</key>
<array>
<string>s'</string>
<string>s</string>
<string>scaron</string>
</array>
<key>@MMK_L_y</key>
<array>
<string>y'</string>
<string>y</string>
<string>yacute</string>
<string>y.alt</string>
</array>
<key>@MMK_L_z</key>
<array>
<string>z'</string>
<string>z</string>
<string>zcaron</string>
</array>
<key>@MMK_R_a</key>
<array>
<string>a'</string>
<string>a</string>
<string>aacute</string>
<string>acircumflex</string>
<string>adieresis</string>
Expand All @@ -92,33 +92,33 @@
</array>
<key>@MMK_R_c</key>
<array>
<string>c'</string>
<string>c</string>
<string>ccedilla</string>
</array>
<key>@MMK_R_e</key>
<array>
<string>e'</string>
<string>e</string>
<string>eacute</string>
<string>ecircumflex</string>
<string>edieresis</string>
<string>egrave</string>
</array>
<key>@MMK_R_i</key>
<array>
<string>i'</string>
<string>i</string>
<string>iacute</string>
<string>icircumflex</string>
<string>idieresis</string>
<string>igrave</string>
</array>
<key>@MMK_R_n</key>
<array>
<string>n'</string>
<string>n</string>
<string>ntilde</string>
</array>
<key>@MMK_R_o</key>
<array>
<string>o'</string>
<string>o</string>
<string>oacute</string>
<string>ocircumflex</string>
<string>odieresis</string>
Expand All @@ -127,31 +127,31 @@
</array>
<key>@MMK_R_p</key>
<array>
<string>p'</string>
<string>p</string>
<string>thorn</string>
</array>
<key>@MMK_R_s</key>
<array>
<string>s'</string>
<string>s</string>
<string>scaron</string>
</array>
<key>@MMK_R_u</key>
<array>
<string>u'</string>
<string>u</string>
<string>uacute</string>
<string>ucircumflex</string>
<string>udieresis</string>
<string>ugrave</string>
</array>
<key>@MMK_R_y</key>
<array>
<string>y'</string>
<string>y</string>
<string>yacute</string>
<string>y.alt</string>
</array>
<key>@MMK_R_z</key>
<array>
<string>z'</string>
<string>z</string>
<string>zcaron</string>
</array>
</dict>
Expand Down