@@ -9,6 +9,7 @@ glyph-block Letter-Latin-Lower-N : begin
9
9
glyph-block-import CommonShapes
10
10
glyph-block-import Common-Derivatives
11
11
glyph-block-import Mark-Shared-Metrics : markHalfStroke
12
+ glyph-block-import Mark-Adjustment : LeaningAnchor
12
13
glyph-block-import Letter-Shared-Shapes : CurlyTail nShoulder nShoulderKnots nShoulderMask
13
14
glyph-block-import Letter-Shared-Shapes : RightwardTailedBar DToothlessRise DMBlend MidHook
14
15
glyph-block-import Letter-Shared-Shapes : CyrDescender PalatalHook RetroflexHook EngHook
@@ -137,21 +138,21 @@ glyph-block Letter-Latin-Lower-N : begin
137
138
if sLB : include : sLB [DivFrame 1] 0
138
139
if sRB : include : sRB [DivFrame 1] 0
139
140
140
- create-glyph "eng.\(suffix)" : glyph-proc
141
+ if (!tailed) : create-glyph "eng.\(suffix)" : glyph-proc
141
142
include : MarkSet.p
142
143
include : Body XH SB RightSB 0 Stroke
143
144
include : EngHook RightSB 0 Descender
144
145
if sLT : include : sLT [DivFrame 1] XH
145
146
if sLB : include : sLB [DivFrame 1] 0
146
147
147
- create-glyph "nHookBottom.\(suffix)" : glyph-proc
148
+ if (!tailed) : create-glyph "nHookBottom.\(suffix)" : glyph-proc
148
149
include : MarkSet.e
149
150
include : Body XH SB RightSB 0 Stroke
150
151
include : RetroflexHook.rExt RightSB 0
151
152
if sLT : include : sLT [DivFrame 1] XH
152
153
if sLB : include : sLB [DivFrame 1] 0
153
154
154
- create-glyph "nCurlyTail.\(suffix)" : glyph-proc
155
+ if (!tailed) : create-glyph "nCurlyTail.\(suffix)" : glyph-proc
155
156
include : MarkSet.e
156
157
local fine : AdviceStroke 4
157
158
local rinner : clamp (Width * 0.065) (XH * 0.05) (fine * 0.35)
@@ -166,29 +167,27 @@ glyph-block Letter-Latin-Lower-N : begin
166
167
if sLT : include : sLT [DivFrame 1] XH
167
168
if sLB : include : sLB [DivFrame 1] 0
168
169
169
- create-glyph "NExt .\(suffix)" : glyph-proc
170
+ create-glyph "latn/Eta .\(suffix)" : glyph-proc
170
171
include : MarkSet.capDesc
171
172
include : Body CAP SB RightSB [if tailed (CAP - SmallArchDepthB + O) Descender] Stroke
172
173
if tailed : include : EndingTail RightSB Descender (CAP - SmallArchDepthB) Stroke
173
174
if sLT : include : sLT [DivFrame 1] CAP
174
175
if sLB : include : sLB [DivFrame 1] 0
175
176
if sRB : include : sRB [DivFrame 1] Descender
176
177
177
- create-glyph "nExt .\(suffix)" : glyph-proc
178
+ create-glyph "latn/eta .\(suffix)" : glyph-proc
178
179
include : MarkSet.p
179
180
include : Body XH SB RightSB [if tailed (XH - SmallArchDepthB + O) Descender] Stroke
180
181
if tailed : include : EndingTail RightSB Descender (XH - SmallArchDepthB) Stroke
181
182
if sLT : include : sLT [DivFrame 1] XH
182
183
if sLB : include : sLB [DivFrame 1] 0
183
184
if sRB : include : sRB [DivFrame 1] Descender
184
185
185
- create-glyph "grek/eta.\(suffix)" : glyph-proc
186
- include : MarkSet.p
186
+ if (!tailed && !sRB) : create-glyph "grek/eta.\(suffix)" : glyph-proc
187
+ include [refer-glyph "latn/eta.\(suffix)"] AS_BASE ALSO_METRICS
187
188
set-base-anchor 'lf' (SB + HalfStroke) 0
188
- include : Body XH SB RightSB Descender Stroke
189
- if sLT : include : sLT [DivFrame 1] XH
190
189
191
- create-glyph "nCrossedTail.\(suffix)" : glyph-proc
190
+ if (!tailed) : create-glyph "nCrossedTail.\(suffix)" : glyph-proc
192
191
include : MarkSet.e
193
192
local fine : AdviceStroke 4
194
193
local rinner : XH * 0.15 - fine * 0.75
@@ -206,7 +205,7 @@ glyph-block Letter-Latin-Lower-N : begin
206
205
NBottomLeftSerif [DivFrame 1] 0
207
206
NBottomLeftOuterSerif [DivFrame 1] 0
208
207
209
- create-glyph "engCrossedTail.\(suffix)" : glyph-proc
208
+ if (!tailed) : create-glyph "engCrossedTail.\(suffix)" : glyph-proc
210
209
include : MarkSet.p
211
210
include : Body XH SB RightSB 0 Stroke
212
211
local fine : AdviceStroke 3.5
@@ -220,15 +219,17 @@ glyph-block Letter-Latin-Lower-N : begin
220
219
if sLT : include : sLT [DivFrame 1] XH
221
220
if sLB : include : sLB [DivFrame 1] 0
222
221
223
- create-glyph "RInsular.\(suffix)" : glyph-proc
222
+ if (!tailed && !sRB) : create-glyph "RInsular.\(suffix)" : glyph-proc
224
223
include : MarkSet.capDesc
224
+ include : LeaningAnchor.Below.VBar.l SB
225
225
include : Body CAP SB RightSB (-Descender) Stroke
226
226
include : RetroflexHook.rExt RightSB (-Descender)
227
227
include : VBar.l SB Descender 0
228
228
if sLT : include : sLT [DivFrame 1] CAP
229
229
230
- create-glyph "rInsular.\(suffix)" : glyph-proc
230
+ if (!tailed && !sRB) : create-glyph "rInsular.\(suffix)" : glyph-proc
231
231
include : MarkSet.p
232
+ include : LeaningAnchor.Below.VBar.l SB
232
233
include : Body XH SB RightSB (-Descender) Stroke
233
234
include : RetroflexHook.rExt RightSB (-Descender)
234
235
include : VBar.l SB Descender 0
@@ -247,7 +248,7 @@ glyph-block Letter-Latin-Lower-N : begin
247
248
248
249
include : MidHook.m df XH
249
250
250
- create-glyph "cyrl/yat.italic/base.\(suffix)" : glyph-proc
251
+ if (!tailed) : create-glyph "cyrl/yat.italic/base.\(suffix)" : glyph-proc
251
252
local df : include : DivFrame para.diversityM 3
252
253
include : df.markSet.e
253
254
@@ -273,14 +274,13 @@ glyph-block Letter-Latin-Lower-N : begin
273
274
select-variant 'nCrossedTail' 0xAB3B (follow -- 'eng')
274
275
select-variant 'engCrossedTail' 0xAB3C (follow -- 'eng')
275
276
276
- select-variant 'eng/lTailBase' (shapeFrom -- 'eng')
277
277
select-variant 'RInsular' 0xA782 (follow -- 'eng/lTailBase')
278
278
select-variant 'rInsular' 0xA783 (follow -- 'eng/lTailBase')
279
279
280
280
select-variant 'grek/eta' 0x3B7
281
281
link-reduced-variant 'grek/eta/sansSerif' 'grek/eta' MathSansSerif
282
- select-variant 'NExt ' 0x220 (follow -- 'n')
283
- select-variant 'nExt ' 0x19E (follow -- 'n')
282
+ select-variant 'latn/Eta ' 0x220 (follow -- 'n')
283
+ select-variant 'latn/eta ' 0x19E (follow -- 'n')
284
284
285
285
derive-composites 'nDescender' 0xA791 'n/descBase' [CyrDescender.rSideJut RightSB 0]
286
286
derive-composites 'nPalatalHook' 0x1D87 'n/descBase' [PalatalHook.rSideJut RightSB 0]
0 commit comments