1
1
mirror of https://github.com/rsms/inter.git synced 2024-09-11 10:55:24 +03:00

adds t.1 for /t/t "ligature" via calt

This commit is contained in:
Rasmus Andersson 2022-05-28 11:25:02 -07:00
parent 50b2401be0
commit 8126164a64
4 changed files with 376 additions and 7 deletions

View File

@ -980,6 +980,7 @@ germandbls,
germandbls.1,
_part.t_base,
t,
t.1,
tpalatalhook,
trthook,
tcurl,
@ -2159,6 +2160,14 @@ languagesystem latn MOL;
languagesystem latn CAT;
";
name = Languagesystems;
},
{
code = "# used by calt
lookup sub_tt2 {
sub t by t.1;
} sub_tt2;
";
name = Subs;
}
);
features = (
@ -2613,6 +2622,11 @@ pos = (0,1304);
locked = 1;
name = "p bottom";
pos = (0,-418);
},
{
locked = 1;
name = "Top mark center";
pos = (0,1368);
}
);
id = "B1F27B51-9973-4381-9301-4FE46FE1CA59";
@ -2892,6 +2906,11 @@ pos = (0,1510);
locked = 1;
name = "Top anchors";
pos = (0,1304);
},
{
locked = 1;
name = "Top mark center";
pos = (0,1420);
}
);
id = "C698F293-3EC0-4A5A-A3A0-0FDB1F5CF265";
@ -3445,6 +3464,11 @@ pos = (0,-418);
locked = 1;
name = "Top anchors";
pos = (0,1676);
},
{
locked = 1;
name = "Top mark center";
pos = (0,1416);
}
);
iconName = Bold;
@ -3547,12 +3571,6 @@ size = "-16";
);
guides = (
{
orientation = center;
angle = 90;
locked = 1;
pos = (890,0);
},
{
locked = 1;
name = "Cap height";
pos = (0,1490);
@ -3581,6 +3599,11 @@ pos = (0,744);
locked = 1;
name = "Top anchors";
pos = (0,1676);
},
{
locked = 1;
name = "Top mark center";
pos = (0,1336);
}
);
iconName = Bold;
@ -23047,7 +23070,7 @@ zeta = -128;
"@MMK_R_Z" = -69.81818;
"@MMK_R_a" = -52.36364;
"@MMK_R_a.sups" = 69.81818;
"@MMK_R_c" = -64;
"@MMK_R_c" = -24;
"@MMK_R_comma" = -128;
"@MMK_R_eight.sups" = 34.90909;
"@MMK_R_f" = 46.54546;

View File

@ -0,0 +1,328 @@
{
color = 9;
glyphname = t.1;
kernLeft = B;
kernRight = t;
layers = (
{
anchors = (
{
name = raccent;
pos = (386,1562);
}
);
layerId = "B1F27B51-9973-4381-9301-4FE46FE1CA59";
shapes = (
{
pos = (-70,0);
ref = _part.t_base;
},
{
closed = 1;
nodes = (
(225,1118,l),
(225,1072,l),
(476,1072,l),
(476,1118,l)
);
}
);
width = 642;
},
{
anchors = (
{
name = raccent;
pos = (552,1562);
}
);
layerId = "200BE2C5-40F6-4CF4-AF4F-A33C0CC0964F";
shapes = (
{
pos = (-70,0);
ref = _part.t_base;
},
{
closed = 1;
nodes = (
(317,1118,l),
(309,1070,l),
(562,1070,l),
(570,1118,l)
);
}
);
width = 642;
},
{
anchors = (
{
name = raccent;
pos = (454,1562);
}
);
layerId = "C698F293-3EC0-4A5A-A3A0-0FDB1F5CF265";
shapes = (
{
pos = (-74,0);
ref = _part.t_base;
},
{
closed = 1;
nodes = (
(238,1118,l),
(238,972,l),
(568,972,l),
(568,1118,l)
);
}
);
width = 670;
},
{
anchors = (
{
name = raccent;
pos = (454,1490);
}
);
layerId = m007;
shapes = (
{
pos = (-74,0);
ref = _part.t_base;
},
{
closed = 1;
nodes = (
(246,1056,l),
(246,910,l),
(542,910,l),
(542,1056,l)
);
}
);
width = 622;
},
{
anchors = (
{
name = raccent;
pos = (616,1562);
}
);
layerId = "11F4534A-B963-4AB5-820F-DAF9A20CD933";
shapes = (
{
pos = (-76,0);
ref = _part.t_base;
},
{
closed = 1;
nodes = (
(334,1118,l),
(310,972,l),
(636,972,l),
(660,1118,l)
);
}
);
width = 668;
},
{
anchors = (
{
name = raccent;
pos = (615,1562);
}
);
layerId = m008;
shapes = (
{
pos = (-77,0);
ref = _part.t_base;
},
{
closed = 1;
nodes = (
(332,1118,l),
(308,972,l),
(635,972,l),
(659,1118,l)
);
}
);
width = 667;
},
{
anchors = (
{
name = raccent;
pos = (634,1562);
}
);
layerId = "5C20EF92-B63D-42A8-8878-93C2863E0093";
shapes = (
{
pos = (-72,0);
ref = _part.t_base;
},
{
closed = 1;
nodes = (
(311,1118,l),
(311,826,l),
(696,826,l),
(696,1118,l)
);
}
);
width = 758;
},
{
anchors = (
{
name = raccent;
pos = (634,1562);
}
);
layerId = m009;
shapes = (
{
pos = (-72,0);
ref = _part.t_base;
},
{
closed = 1;
nodes = (
(302,1056,l),
(302,752,l),
(720,752,l),
(720,1056,l)
);
}
);
width = 768;
},
{
anchors = (
{
name = raccent;
pos = (798,1562);
}
);
layerId = "D0EC06BF-13F9-4C88-A6F5-B8203AF6C77E";
shapes = (
{
pos = (-74,0);
ref = _part.t_base;
},
{
closed = 1;
nodes = (
(403,1118,l),
(353,826,l),
(738,826,l),
(788,1118,l)
);
}
);
width = 756;
},
{
anchors = (
{
name = raccent;
pos = (797,1562);
}
);
layerId = m010;
shapes = (
{
pos = (-75,0);
ref = _part.t_base;
},
{
closed = 1;
nodes = (
(400,1118,l),
(350,826,l),
(737,826,l),
(787,1118,l)
);
}
);
width = 755;
},
{
anchors = (
{
name = raccent;
pos = (380,1562);
}
);
associatedMasterId = "B1F27B51-9973-4381-9301-4FE46FE1CA59";
attr = {
coordinates = (
100,
0,
72
);
};
layerId = "6E690B16-3551-4340-8E99-D77F14D955DF";
name = opsz;
shapes = (
{
pos = (-76,0);
ref = _part.t_base;
},
{
closed = 1;
nodes = (
(219,1118,l),
(219,1072,l),
(470,1072,l),
(470,1118,l)
);
}
);
width = 636;
},
{
anchors = (
{
name = raccent;
pos = (542,1562);
}
);
associatedMasterId = "200BE2C5-40F6-4CF4-AF4F-A33C0CC0964F";
attr = {
coordinates = (
100,
-10,
72
);
};
layerId = "BD867A0B-FE0D-4027-B6D6-0896CBCACBC6";
name = opsz;
shapes = (
{
pos = (-80,0);
ref = _part.t_base;
},
{
closed = 1;
nodes = (
(309,1118,l),
(301,1070,l),
(552,1070,l),
(560,1118,l)
);
}
);
width = 632;
}
);
metricLeft = l;
metricRight = t;
}

View File

@ -885,6 +885,7 @@ germandbls,
germandbls.1,
_part.t_base,
t,
t.1,
tpalatalhook,
trthook,
tcurl,

View File

@ -365,3 +365,20 @@ sub @Numeral @Whitespace @Whitespace x' @Whitespace @Whitespace @Numeral by mult
# END NxN
# -------------------------------------------------------------------------------------
# BEGIN /t/t => /t/t.1 (horizonal stem on left side cut short)
lookup sub_tt {
# glyphs that when followed by SUB_TT_SRC triggers substitution of the 2nd glyph
@SUB_TT_PREV1 = [
f
r
t tbar tcaron tccurl tcedilla
tcircumflexbelow tcommaaccent tcurl tdieresis
tdotaccent tdotbelow tlinebelow tpalatalhook trthook
t.1
];
@SUB_TT_SRC = [
t
];
sub @SUB_TT_PREV1 @SUB_TT_SRC' lookup sub_tt2;
} sub_tt;