italic komi tje (#1922)
This commit is contained in:
parent
a2b20884cc
commit
86c29b61ad
5 changed files with 39 additions and 5 deletions
|
@ -17,6 +17,7 @@ glyph-block Letter-Cyrillic-Orthography : begin
|
|||
orthographic-italic 'cyrl/teDescender' 0x4AD
|
||||
orthographic-italic 'cyrl/tse' 0x446
|
||||
orthographic-italic 'cyrl/tetse' 0x4B5
|
||||
orthographic-italic 'cyrl/tjeKomi' 0x50F
|
||||
orthographic-italic 'cyrl/yat' 0x463
|
||||
orthographic-italic 'cyrl/pe' 0x43F
|
||||
orthographic-italic 'cyrl/peMidHook' 0x4A7
|
||||
|
|
|
@ -11,7 +11,7 @@ glyph-block Letter-Latin-Lower-M : begin
|
|||
glyph-block-import Letter-Shared : CreateAccentedComposition
|
||||
glyph-block-import Letter-Shared-Shapes : SerifFrame RightwardTailedBar DToothlessRise DMBlend
|
||||
glyph-block-import Letter-Shared-Shapes : nShoulder nShoulderMask
|
||||
glyph-block-import Letter-Shared-Shapes : CyrDescender PalatalHook CurlyTail
|
||||
glyph-block-import Letter-Shared-Shapes : CyrDescender PalatalHook CurlyTail UpwardHookShape
|
||||
|
||||
define [SmallMSmooth df] : df.div * (0.5 * SmallArchDepth + 0.375 * Stroke)
|
||||
define [SmallMShoulderSpiro] : with-params [left right top bottom width fine df coBottom] : glyph-proc
|
||||
|
@ -248,11 +248,31 @@ glyph-block Letter-Latin-Lower-M : begin
|
|||
eject-contour 'serifMB'
|
||||
include sf.mb.left
|
||||
|
||||
if (Body === SmallMArches && shortLeg == 0 && tailed == 0) : begin
|
||||
create-glyph "cyrl/tjeKomi.italic.\(suffix)" : glyph-proc
|
||||
local df : DivFrame para.diversityM 4
|
||||
set-width df.width
|
||||
include : df.markSet.e
|
||||
local subDf : df.slice 4 3 0
|
||||
include : Body XH 0 0 (XH / 2) subDf
|
||||
include : UpwardHookShape
|
||||
left -- subDf.rightSB - [HSwToV subDf.mvs]
|
||||
right -- df.rightSB
|
||||
ybegin -- (XH / 2)
|
||||
yend -- (XH / 2)
|
||||
ada -- (SmallArchDepthA * 0.6 * df.div)
|
||||
adb -- (SmallArchDepthB * 0.6 * df.div)
|
||||
sw -- subDf.mvs
|
||||
include : Serifs subDf XH 0 0 (XH / 2) true false
|
||||
local sf2 : [SerifFrame.fromDf df (XH / 2) 0].slice 2 3
|
||||
if SLAB : include sf2.rt.full
|
||||
|
||||
select-variant 'm' 'm'
|
||||
select-variant 'm/tailless' (shapeFrom -- 'm')
|
||||
link-reduced-variant 'm/sansSerif' 'm' MathSansSerif
|
||||
|
||||
select-variant 'cyrl/te.italic' (shapeFrom -- 'm')
|
||||
select-variant 'cyrl/tjeKomi.italic'
|
||||
alias 'cyrl/te.BGR' null 'cyrl/te.italic'
|
||||
derive-composites 'cyrl/teDescender.italic' null 'cyrl/te.italic' : do
|
||||
local df : DivFrame para.diversityM 3
|
||||
|
|
|
@ -36,8 +36,8 @@ glyph-block Letter-Latin-Upper-T : begin
|
|||
local xTopBarLeft : df.leftSB - SideJut
|
||||
local xTopBarRightSym : 2 * left + [HSwToV df.mvs] - xTopBarLeft
|
||||
local xTopBarRight : Math.max xTopBarRightSym : mix left df.rightSB 0.475
|
||||
include : tagged 'strokeLT' : HBar.t xTopBarLeft mid top
|
||||
include : tagged 'strokeRT' : HBar.t mid xTopBarRight top
|
||||
include : tagged 'strokeLT' : HBar.t xTopBarLeft mid top df.mvs
|
||||
include : tagged 'strokeRT' : HBar.t mid xTopBarRight top df.mvs
|
||||
include : UpwardHookShape
|
||||
left -- left
|
||||
right -- df.rightSB
|
||||
|
@ -145,7 +145,7 @@ glyph-block Letter-Latin-Upper-T : begin
|
|||
include : df.markSet.capital
|
||||
include : TjeShape df CAP doST
|
||||
|
||||
create-glyph "cyrl/tjeKomi.\(suffix)" : glyph-proc
|
||||
create-glyph "cyrl/tjeKomi.upright.\(suffix)" : glyph-proc
|
||||
local df : DivFrame div 3
|
||||
set-width df.width
|
||||
include : df.markSet.e
|
||||
|
@ -170,7 +170,7 @@ glyph-block Letter-Latin-Upper-T : begin
|
|||
select-variant 'TRTailBR' 0x1AE (follow -- 'T/rtailBase')
|
||||
|
||||
select-variant 'cyrl/TjeKomi' 0x50E (follow -- 'T/rtailBase')
|
||||
select-variant 'cyrl/tjeKomi' 0x50F (follow -- 'T/rtailBase')
|
||||
select-variant 'cyrl/tjeKomi.upright' null (follow -- 'T/rtailBase')
|
||||
select-variant 'cyrl/Twe' 0xA68C (follow -- 'T/rtailBase')
|
||||
select-variant 'cyrl/twe' 0xA68D (follow -- 'T/rtailBase')
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue