Add m.longleg and m.shortleg, along with cv25 and cv26.

This commit is contained in:
be5invis 2016-08-03 05:20:31 +08:00
parent 0388e99548
commit e72af4f520
2 changed files with 17 additions and 4 deletions

View File

@ -2324,14 +2324,14 @@ export : define [apply] : begin
save 'cyrem' 0x43C
### m
define [SmallMShape top bot] : glyph-construction
define [SmallMShape top bot mbot] : glyph-construction
local m1 : mix (SB + O) (MIDDLE + MVERTSTROKE / 2 * HVCONTRAST) 0.5
local m2 : mix (RIGHTSB - O) (MIDDLE - MVERTSTROKE / 2 * HVCONTRAST) 0.5
include : mShoulderSpiro
left -- (SB + O + MVERTSTROKE * HVCONTRAST)
right -- (MIDDLE + MVERTSTROKE / 2 * HVCONTRAST)
top -- top
bottom -- bot
bottom -- mbot
width -- MVERTSTROKE
fine -- (MVERTSTROKE * SHOULDERFINE / STROKE)
include : mShoulderSpiro
@ -2352,9 +2352,18 @@ export : define [apply] : begin
sketch # m
set-width WIDTH
include markset.e
include : SmallMShape XH 0
save 'm' 'm'
include : SmallMShape XH 0 0
save 'm.longleg'
save 'cyrte.italic'
sketch # m
set-width WIDTH
include markset.e
include : SmallMShape XH 0 [XH * 0.2]
save 'm.shortleg'
select-variant 'm' 'm' 'longleg' {
.'cv25' 'm.longleg'
.'cv26' 'm.shortleg'
}
composite 'cyrtedescender.italic' glyphs.'cyrte.italic' [CyrDescender RIGHTSB] markset.e
sketch # mltail

View File

@ -592,3 +592,7 @@ underscore = 'low'
paragraph = 'high'
[v-paragraph-low.variantSelector]
paragraph = 'low'
[v-m-longleg]
m = 'longleg'
[v-m-shortleg]
m = 'shortleg'