Add italic form for cyrl/ge
. (#2654)
This commit is contained in:
parent
d81c0347f4
commit
d3d76e6fe6
7 changed files with 68 additions and 52 deletions
|
@ -10,3 +10,4 @@
|
||||||
- VERTICAL RESISTOR SEGMENT (`U+1CC0A`).
|
- VERTICAL RESISTOR SEGMENT (`U+1CC0A`).
|
||||||
- HORIZONTAL ZIGZAG LINE (`U+1CEB0`).
|
- HORIZONTAL ZIGZAG LINE (`U+1CEB0`).
|
||||||
* Optimize metrics for bowl of Cyrillic Lower Ef (`ф`) and Greek Small Letter Phi Symbol (`ϕ`).
|
* Optimize metrics for bowl of Cyrillic Lower Ef (`ф`) and Greek Small Letter Phi Symbol (`ϕ`).
|
||||||
|
* Add italic form for Cyrillic Small Letter Ghe with Upturn (`ґ`).
|
||||||
|
|
|
@ -11,7 +11,7 @@ glyph-block Letter-Cyrillic-De : begin
|
||||||
glyph-block-import Letter-Greek-Lower-Epsilon : CyrZe EpsilonConfig
|
glyph-block-import Letter-Greek-Lower-Epsilon : CyrZe EpsilonConfig
|
||||||
|
|
||||||
glyph-block-export BottomExtension
|
glyph-block-export BottomExtension
|
||||||
local BottomExtension : QuarterStroke - LongVJut
|
local BottomExtension : (-LongVJut) + QuarterStroke
|
||||||
|
|
||||||
glyph-block-export CyrDeBottom
|
glyph-block-export CyrDeBottom
|
||||||
define [CyrDeBottom left right _sw _desc] : glyph-proc
|
define [CyrDeBottom left right _sw _desc] : glyph-proc
|
||||||
|
@ -30,7 +30,7 @@ glyph-block Letter-Cyrillic-De : begin
|
||||||
VBar.r (right + descenderOverflow) desc 0.1 swOuter
|
VBar.r (right + descenderOverflow) desc 0.1 swOuter
|
||||||
|
|
||||||
glyph-block-export CyrDeShape
|
glyph-block-export CyrDeShape
|
||||||
define [CyrDeShape top left right _sw _desc] : glyph-proc
|
define [CyrDeShape top left right _sw _desc fLower] : glyph-proc
|
||||||
local descenderOverflow : if SLAB SideJut ((right - left) * 0.075)
|
local descenderOverflow : if SLAB SideJut ((right - left) * 0.075)
|
||||||
local xTopLeft : mix left right : StrokeWidthBlend 0.15 0.1
|
local xTopLeft : mix left right : StrokeWidthBlend 0.15 0.1
|
||||||
local xTopRight : mix left right : StrokeWidthBlend 0.95 0.96
|
local xTopRight : mix left right : StrokeWidthBlend 0.95 0.96
|
||||||
|
@ -50,13 +50,15 @@ glyph-block Letter-Cyrillic-De : begin
|
||||||
include : if SLAB
|
include : if SLAB
|
||||||
then : dispiro
|
then : dispiro
|
||||||
widths.rhs swOuter
|
widths.rhs swOuter
|
||||||
flat (xTopLeft - descenderOverflow) top
|
flat (xTopLeft - descenderOverflow) top
|
||||||
curl (xTopRight + descenderOverflow) top
|
if (fLower && para.isItalic)
|
||||||
|
then : list : curl xTopRight top [heading Rightward]
|
||||||
|
else : list : curl (xTopRight + descenderOverflow) top
|
||||||
else : HBar.t xTopLeft xTopRight top swOuter
|
else : HBar.t xTopLeft xTopRight top swOuter
|
||||||
|
|
||||||
return : object desc xTopLeft xTopRight
|
return : object desc xTopLeft xTopRight
|
||||||
|
|
||||||
define [CyrSoftDeShape df top _sw vSlab] : glyph-proc
|
define [CyrSoftDeShape df top _sw _desc fLower vSlab] : glyph-proc
|
||||||
local descenderOverflow : if SLAB SideJut ((df.rightSB - df.leftSB) * 0.075)
|
local descenderOverflow : if SLAB SideJut ((df.rightSB - df.leftSB) * 0.075)
|
||||||
local sw : fallback _sw Stroke
|
local sw : fallback _sw Stroke
|
||||||
local xm : if SLAB
|
local xm : if SLAB
|
||||||
|
@ -65,9 +67,9 @@ glyph-block Letter-Cyrillic-De : begin
|
||||||
local xTopRight : mix df.leftSB xm : StrokeWidthBlend 0.95 0.96
|
local xTopRight : mix df.leftSB xm : StrokeWidthBlend 0.95 0.96
|
||||||
local xTopBarRightEnd : mix df.width df.rightSB : if vSlab 0.25 0.375
|
local xTopBarRightEnd : mix df.width df.rightSB : if vSlab 0.25 0.375
|
||||||
|
|
||||||
include : CyrDeShape top df.leftSB xm sw
|
include : CyrDeShape top df.leftSB xm sw _desc fLower
|
||||||
|
|
||||||
include : if SLAB
|
include : if (SLAB && !(fLower && para.isItalic))
|
||||||
then : HBar.t (xTopRight + descenderOverflow) xTopBarRightEnd top sw
|
then : HBar.t (xTopRight + descenderOverflow) xTopBarRightEnd top sw
|
||||||
else : HBar.t xTopRight xTopBarRightEnd top sw
|
else : HBar.t xTopRight xTopBarRightEnd top sw
|
||||||
|
|
||||||
|
@ -85,19 +87,19 @@ glyph-block Letter-Cyrillic-De : begin
|
||||||
|
|
||||||
create-glyph 'cyrl/deLongLeg' 0x1C81 : glyph-proc
|
create-glyph 'cyrl/deLongLeg' 0x1C81 : glyph-proc
|
||||||
include : MarkSet.p
|
include : MarkSet.p
|
||||||
include : CyrDeShape XH SB RightSB Stroke Descender
|
include : CyrDeShape XH SB RightSB nothing Descender true
|
||||||
|
|
||||||
create-glyph 'cyrl/DeSoft.serifless' : glyph-proc
|
create-glyph 'cyrl/DeSoft.serifless' : glyph-proc
|
||||||
local df : include : DivFrame para.diversityM 3
|
local df : include : DivFrame para.diversityM 3
|
||||||
include : df.markSet.capital
|
include : df.markSet.capital
|
||||||
include : ExtendBelowBaseAnchors BottomExtension
|
include : ExtendBelowBaseAnchors BottomExtension
|
||||||
include : CyrSoftDeShape df CAP df.mvs false
|
include : CyrSoftDeShape df CAP df.mvs nothing false false
|
||||||
|
|
||||||
create-glyph 'cyrl/DeSoft.topRightSerifed' : glyph-proc
|
create-glyph 'cyrl/DeSoft.topRightSerifed' : glyph-proc
|
||||||
local df : include : DivFrame para.diversityM 3
|
local df : include : DivFrame para.diversityM 3
|
||||||
include : df.markSet.capital
|
include : df.markSet.capital
|
||||||
include : ExtendBelowBaseAnchors BottomExtension
|
include : ExtendBelowBaseAnchors BottomExtension
|
||||||
include : CyrSoftDeShape df CAP df.mvs true
|
include : CyrSoftDeShape df CAP df.mvs nothing false true
|
||||||
|
|
||||||
select-variant 'cyrl/DeSoft' 0xA662 (follow -- 'cyrl/EnGhe/GhePart')
|
select-variant 'cyrl/DeSoft' 0xA662 (follow -- 'cyrl/EnGhe/GhePart')
|
||||||
|
|
||||||
|
@ -105,13 +107,13 @@ glyph-block Letter-Cyrillic-De : begin
|
||||||
local df : include : DivFrame para.diversityM 3
|
local df : include : DivFrame para.diversityM 3
|
||||||
include : df.markSet.e
|
include : df.markSet.e
|
||||||
include : ExtendBelowBaseAnchors BottomExtension
|
include : ExtendBelowBaseAnchors BottomExtension
|
||||||
include : CyrSoftDeShape df XH df.mvs false
|
include : CyrSoftDeShape df XH df.mvs nothing true false
|
||||||
|
|
||||||
create-glyph 'cyrl/deSoft.topRightSerifed' : glyph-proc
|
create-glyph 'cyrl/deSoft.topRightSerifed' : glyph-proc
|
||||||
local df : include : DivFrame para.diversityM 3
|
local df : include : DivFrame para.diversityM 3
|
||||||
include : df.markSet.e
|
include : df.markSet.e
|
||||||
include : ExtendBelowBaseAnchors BottomExtension
|
include : ExtendBelowBaseAnchors BottomExtension
|
||||||
include : CyrSoftDeShape df XH df.mvs true
|
include : CyrSoftDeShape df XH df.mvs nothing true true
|
||||||
|
|
||||||
select-variant 'cyrl/deSoft' 0xA663 (follow -- 'cyrl/enghe/ghePart')
|
select-variant 'cyrl/deSoft' 0xA663 (follow -- 'cyrl/enghe/ghePart')
|
||||||
|
|
||||||
|
@ -170,8 +172,9 @@ glyph-block Letter-Cyrillic-De : begin
|
||||||
g4 (left + sw * 1.1) Ascender
|
g4 (left + sw * 1.1) Ascender
|
||||||
|
|
||||||
create-glyph 'cyrl/de.italic' : glyph-proc
|
create-glyph 'cyrl/de.italic' : glyph-proc
|
||||||
include : MarkSet.b
|
local df : include : DivFrame 1
|
||||||
include : CyrDeItalicShapeT dispiro [DivFrame 1]
|
include : df.markSet.b
|
||||||
|
include : CyrDeItalicShapeT dispiro df
|
||||||
|
|
||||||
foreach { suffix { st sb }} [Object.entries EpsilonConfig] : do
|
foreach { suffix { st sb }} [Object.entries EpsilonConfig] : do
|
||||||
create-glyph "cyrl/dzze.italic.\(suffix)" : glyph-proc
|
create-glyph "cyrl/dzze.italic.\(suffix)" : glyph-proc
|
||||||
|
@ -192,6 +195,6 @@ glyph-block Letter-Cyrillic-De : begin
|
||||||
stroke -- df.mvs
|
stroke -- df.mvs
|
||||||
include : union [ze.Shape] [ze.AutoEndSerifL]
|
include : union [ze.Shape] [ze.AutoEndSerifL]
|
||||||
|
|
||||||
select-variant 'cyrl/Dzze' 0xA688 (follow -- 'cyrl/ZeBottomSerifOnly')
|
select-variant 'cyrl/Dzze' 0xA688 (follow -- 'cyrl/ZeBottomSerifOnly')
|
||||||
select-variant 'cyrl/dzze.upright' (follow -- 'cyrl/zeBottomSerifOnly')
|
select-variant 'cyrl/dzze.upright' (follow -- 'cyrl/zeBottomSerifOnly')
|
||||||
select-variant 'cyrl/dzze.italic' (follow -- 'cyrl/zeBottomSerifOnly')
|
select-variant 'cyrl/dzze.italic' (follow -- 'cyrl/zeBottomSerifOnly')
|
||||||
|
|
|
@ -156,13 +156,13 @@ glyph-block Letter-Cyrillic-El : begin
|
||||||
local xm : df.middle + [HSwToV : 0.5 * df.mvs]
|
local xm : df.middle + [HSwToV : 0.5 * df.mvs]
|
||||||
include : CyrElShape df.leftSB xm CAP BODY-NONE [if SLAB SLAB-ALL SLAB-NONE] df.mvs
|
include : CyrElShape df.leftSB xm CAP BODY-NONE [if SLAB SLAB-ALL SLAB-NONE] df.mvs
|
||||||
include : UpwardHookShape
|
include : UpwardHookShape
|
||||||
left -- df.middle - [HSwToV : 0.5 * df.mvs]
|
left -- (df.middle - [HSwToV : 0.5 * df.mvs])
|
||||||
right -- df.rightSB
|
right -- df.rightSB
|
||||||
ybegin -- CAP
|
ybegin -- CAP
|
||||||
yend -- (CAP / 2)
|
yend -- (CAP / 2)
|
||||||
ada -- (SmallArchDepthA * 0.6 * df.div)
|
ada -- (SmallArchDepthA * 0.6 * df.div)
|
||||||
adb -- (SmallArchDepthB * 0.6 * df.div)
|
adb -- (SmallArchDepthB * 0.6 * df.div)
|
||||||
sw -- df.mvs
|
sw -- df.mvs
|
||||||
local sf2 : [SerifFrame.fromDf df (CAP / 2) 0].slice 1 2
|
local sf2 : [SerifFrame.fromDf df (CAP / 2) 0].slice 1 2
|
||||||
if SLAB : include sf2.rt.full
|
if SLAB : include sf2.rt.full
|
||||||
|
|
||||||
|
@ -173,12 +173,12 @@ glyph-block Letter-Cyrillic-El : begin
|
||||||
local xm : df.middle + [HSwToV : 0.5 * df.mvs]
|
local xm : df.middle + [HSwToV : 0.5 * df.mvs]
|
||||||
include : CyrElShape df.leftSB xm XH BODY-NONE [if SLAB [if para.isItalic SLAB-LOWER SLAB-ALL] SLAB-NONE] df.mvs
|
include : CyrElShape df.leftSB xm XH BODY-NONE [if SLAB [if para.isItalic SLAB-LOWER SLAB-ALL] SLAB-NONE] df.mvs
|
||||||
include : UpwardHookShape
|
include : UpwardHookShape
|
||||||
left -- df.middle - [HSwToV : 0.5 * df.mvs]
|
left -- (df.middle - [HSwToV : 0.5 * df.mvs])
|
||||||
right -- df.rightSB
|
right -- df.rightSB
|
||||||
ybegin -- XH
|
ybegin -- XH
|
||||||
yend -- (XH / 2)
|
yend -- (XH / 2)
|
||||||
ada -- (SmallArchDepthA * 0.6 * df.div)
|
ada -- (SmallArchDepthA * 0.6 * df.div)
|
||||||
adb -- (SmallArchDepthB * 0.6 * df.div)
|
adb -- (SmallArchDepthB * 0.6 * df.div)
|
||||||
sw -- df.mvs
|
sw -- df.mvs
|
||||||
local sf2 : [SerifFrame.fromDf df (XH / 2) 0].slice 1 2
|
local sf2 : [SerifFrame.fromDf df (XH / 2) 0].slice 1 2
|
||||||
if SLAB : include sf2.rt.full
|
if SLAB : include sf2.rt.full
|
||||||
|
|
|
@ -22,6 +22,7 @@ glyph-block Letter-Cyrillic-Orthography : begin
|
||||||
orthographic-italic 'cyrl/dzhe' 0x45F
|
orthographic-italic 'cyrl/dzhe' 0x45F
|
||||||
orthographic-italic 'cyrl/yat' 0x463
|
orthographic-italic 'cyrl/yat' 0x463
|
||||||
orthographic-italic 'cyrl/iShortTail' 0x48B
|
orthographic-italic 'cyrl/iShortTail' 0x48B
|
||||||
|
orthographic-italic 'cyrl/ge' 0x491
|
||||||
orthographic-italic 'cyrl/ghayn' 0x493
|
orthographic-italic 'cyrl/ghayn' 0x493
|
||||||
orthographic-italic 'cyrl/peMidHook' 0x4A7
|
orthographic-italic 'cyrl/peMidHook' 0x4A7
|
||||||
orthographic-italic 'cyrl/teDescender' 0x4AD
|
orthographic-italic 'cyrl/teDescender' 0x4AD
|
||||||
|
|
|
@ -40,8 +40,8 @@ glyph-block Letter-Greek-Lower-Gamma : begin
|
||||||
local xMid : [mix SB RightSB 0.46] + [HSwToV : 0.46 * swEqv]
|
local xMid : [mix SB RightSB 0.46] + [HSwToV : 0.46 * swEqv]
|
||||||
local xStart : SB + [HSwToV : 0.4 * swEqv]
|
local xStart : SB + [HSwToV : 0.4 * swEqv]
|
||||||
|
|
||||||
include : HBar.t (xStart - BBD) (xStart + (cor - 1) * BBD) XH BBS
|
include : HBar.t (xStart - BBD) (xStart + (cor - 1) * BBD) XH BBS
|
||||||
include : HBar.b (xMid - BBD) (xMid) Descender BBS
|
include : HBar.b (xMid - BBD) (xMid) Descender BBS
|
||||||
|
|
||||||
foreach {ob ot} [items-of {{ 0 (cor - 1) } { (-1) (-1) }}] : include : dispiro
|
foreach {ob ot} [items-of {{ 0 (cor - 1) } { (-1) (-1) }}] : include : dispiro
|
||||||
g4 (xStart + ot * BBD) XH [widths.rhs.heading BBS Downward]
|
g4 (xStart + ot * BBD) XH [widths.rhs.heading BBS Downward]
|
||||||
|
|
|
@ -26,26 +26,16 @@ glyph-block Letter-Greek-Pi : begin
|
||||||
local sf : SerifFrame top bottom (df.leftSB + shrink) (df.rightSB - shrink) (swRef -- fine)
|
local sf : SerifFrame top bottom (df.leftSB + shrink) (df.rightSB - shrink) (swRef -- fine)
|
||||||
include : composite-proc sf.lt.outer sf.rt.outer sf.lb.full sf.rb.full
|
include : composite-proc sf.lt.outer sf.rt.outer sf.lb.full sf.rb.full
|
||||||
|
|
||||||
define [MathBBPiShape] : with-params [df top bottom [shrinkRate 0.05] [endShrink 0]] : glyph-proc
|
|
||||||
local shrink : shrinkRate * (df.rightSB - df.leftSB)
|
|
||||||
local endexpand : (-endShrink) * (df.rightSB - df.leftSB) || shrink / 2
|
|
||||||
include : HBar.t (df.leftSB - endexpand) (df.rightSB + endexpand) top BBS
|
|
||||||
include : BBBarLeft (df.leftSB + shrink) bottom top
|
|
||||||
include : BBBarRight (df.rightSB - shrink) bottom top
|
|
||||||
|
|
||||||
create-glyph 'grek/Pi' 0x3A0 : glyph-proc
|
create-glyph 'grek/Pi' 0x3A0 : glyph-proc
|
||||||
include : MarkSet.capital
|
include : MarkSet.capital
|
||||||
include : PiShape [DivFrame 1] CAP 0 (shrinkRate -- 0) (doSerif -- SLAB)
|
include : PiShape [DivFrame 1] CAP 0 (shrinkRate -- 0) (doSerif -- SLAB)
|
||||||
|
|
||||||
alias 'cyrl/Pe' 0x41F 'grek/Pi'
|
alias 'cyrl/Pe' 0x41F 'grek/Pi'
|
||||||
|
|
||||||
create-glyph 'grek/smcpPi' 0x1D28 : glyph-proc
|
create-glyph 'grek/smcpPi' 0x1D28 : glyph-proc
|
||||||
include : MarkSet.e
|
include : MarkSet.e
|
||||||
include : PiShape [DivFrame 1] XH 0 (shrinkRate -- 0) (doSerif -- SLAB)
|
include : PiShape [DivFrame 1] XH 0 (shrinkRate -- 0) (doSerif -- SLAB)
|
||||||
|
|
||||||
create-glyph 'mathbb/grek/Pi' 0x213F : glyph-proc
|
|
||||||
include : MarkSet.capital
|
|
||||||
include : MathBBPiShape [DivFrame 1] CAP 0 (shrinkRate -- 0)
|
|
||||||
|
|
||||||
create-glyph 'cyrl/pe.upright' : glyph-proc
|
create-glyph 'cyrl/pe.upright' : glyph-proc
|
||||||
include : MarkSet.e
|
include : MarkSet.e
|
||||||
include : PiShape [DivFrame 1] XH 0 (shrinkRate -- 0) (doSerif -- SLAB)
|
include : PiShape [DivFrame 1] XH 0 (shrinkRate -- 0) (doSerif -- SLAB)
|
||||||
|
@ -68,10 +58,6 @@ glyph-block Letter-Greek-Pi : begin
|
||||||
|
|
||||||
select-variant 'grek/pi' 0x3C0
|
select-variant 'grek/pi' 0x3C0
|
||||||
|
|
||||||
create-glyph 'mathbb/grek/pi' 0x213C : glyph-proc
|
|
||||||
include : MarkSet.e
|
|
||||||
include : MathBBPiShape [DivFrame 1] XH 0 (shrinkRate -- 0.06)
|
|
||||||
|
|
||||||
define [CyrlPeHookShape df top] : glyph-proc
|
define [CyrlPeHookShape df top] : glyph-proc
|
||||||
local xm : df.middle + [HSwToV : 0.5 * df.mvs]
|
local xm : df.middle + [HSwToV : 0.5 * df.mvs]
|
||||||
include : HBar.t df.leftSB xm top df.mvs
|
include : HBar.t df.leftSB xm top df.mvs
|
||||||
|
@ -102,3 +88,18 @@ glyph-block Letter-Greek-Pi : begin
|
||||||
define df : include : DivFrame para.diversityMM 3
|
define df : include : DivFrame para.diversityMM 3
|
||||||
include : df.markSet.p
|
include : df.markSet.p
|
||||||
include : CyrlPeHookShape df XH
|
include : CyrlPeHookShape df XH
|
||||||
|
|
||||||
|
define [MathBBPiShape] : with-params [df top bottom [shrinkRate 0.05] [endShrink 0]] : glyph-proc
|
||||||
|
local shrink : shrinkRate * (df.rightSB - df.leftSB)
|
||||||
|
local endexpand : (-endShrink) * (df.rightSB - df.leftSB) || shrink / 2
|
||||||
|
include : HBar.t (df.leftSB - endexpand) (df.rightSB + endexpand) top BBS
|
||||||
|
include : BBBarLeft (df.leftSB + shrink) bottom top
|
||||||
|
include : BBBarRight (df.rightSB - shrink) bottom top
|
||||||
|
|
||||||
|
create-glyph 'mathbb/grek/Pi' 0x213F : glyph-proc
|
||||||
|
include : MarkSet.capital
|
||||||
|
include : MathBBPiShape [DivFrame 1] CAP 0 (shrinkRate -- 0)
|
||||||
|
|
||||||
|
create-glyph 'mathbb/grek/pi' 0x213C : glyph-proc
|
||||||
|
include : MarkSet.e
|
||||||
|
include : MathBBPiShape [DivFrame 1] XH 0 (shrinkRate -- 0.06)
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
$$include '../../meta/macros.ptl'
|
$$include '../../meta/macros.ptl'
|
||||||
|
|
||||||
import [mix linreg clamp fallback] from "@iosevka/util"
|
import [mix linreg clamp fallback] from "@iosevka/util"
|
||||||
|
import [Point] from "@iosevka/geometry/point"
|
||||||
import [MathSansSerif] from "@iosevka/glyph/relation"
|
import [MathSansSerif] from "@iosevka/glyph/relation"
|
||||||
import [DesignParameters] from "../../meta/aesthetics.mjs"
|
import [DesignParameters] from "../../meta/aesthetics.mjs"
|
||||||
|
|
||||||
|
@ -9,7 +10,7 @@ glyph-module
|
||||||
glyph-block Letter-Greek-Upper-Gamma: begin
|
glyph-block Letter-Greek-Upper-Gamma: begin
|
||||||
glyph-block-import CommonShapes
|
glyph-block-import CommonShapes
|
||||||
glyph-block-import Common-Derivatives
|
glyph-block-import Common-Derivatives
|
||||||
glyph-block-import Letter-Shared-Shapes : CyrDescender MidHook
|
glyph-block-import Letter-Shared-Shapes : CyrDescender MidHook LegShape
|
||||||
glyph-block-import Letter-Shared-Shapes : LetterBarOverlay PalatalHook
|
glyph-block-import Letter-Shared-Shapes : LetterBarOverlay PalatalHook
|
||||||
glyph-block-import Letter-Blackboard : BBS BBD BBBarLeft
|
glyph-block-import Letter-Blackboard : BBS BBD BBBarLeft
|
||||||
glyph-block-import Letter-Latin-Upper-F : xMidBarShrink
|
glyph-block-import Letter-Latin-Upper-F : xMidBarShrink
|
||||||
|
@ -23,8 +24,8 @@ glyph-block Letter-Greek-Upper-Gamma: begin
|
||||||
define GammaBarLeft : SB * 1.5
|
define GammaBarLeft : SB * 1.5
|
||||||
define [GammaShape top bot slabType] : glyph-proc
|
define [GammaShape top bot slabType] : glyph-proc
|
||||||
include : LeaningAnchor.Below.VBar.l GammaBarLeft
|
include : LeaningAnchor.Below.VBar.l GammaBarLeft
|
||||||
include : VBar.l GammaBarLeft bot top
|
include : tagged 'strokeV' : VBar.l GammaBarLeft bot top
|
||||||
include : HBar.t (GammaBarLeft - O) (RightSB - OX) top
|
include : tagged 'strokeH' : HBar.t (GammaBarLeft - O) (RightSB - OX) top
|
||||||
match slabType
|
match slabType
|
||||||
[Just SLAB-ALL] : begin
|
[Just SLAB-ALL] : begin
|
||||||
include : HSerif.lt GammaBarLeft top SideJut
|
include : HSerif.lt GammaBarLeft top SideJut
|
||||||
|
@ -95,13 +96,21 @@ glyph-block Letter-Greek-Upper-Gamma: begin
|
||||||
eject-contour 'serifRT'
|
eject-contour 'serifRT'
|
||||||
include : VBar.r (RightSB - OX) CAP (CAP + LongVJut - QuarterStroke) VJutStroke
|
include : VBar.r (RightSB - OX) CAP (CAP + LongVJut - QuarterStroke) VJutStroke
|
||||||
|
|
||||||
create-glyph "cyrl/ge.\(suffix)" : glyph-proc
|
create-glyph "cyrl/ge.upright.\(suffix)" : glyph-proc
|
||||||
include : MarkSet.e
|
include : MarkSet.e
|
||||||
include : ExtendAboveBaseAnchors (XH + LongVJut - QuarterStroke)
|
include : ExtendAboveBaseAnchors (XH + LongVJut - QuarterStroke)
|
||||||
include : GammaShape XH 0 slabType
|
include : GammaShape XH 0 slabType
|
||||||
eject-contour 'serifRT'
|
eject-contour 'serifRT'
|
||||||
include : VBar.r (RightSB - OX) XH (XH + LongVJut - QuarterStroke) VJutStroke
|
include : VBar.r (RightSB - OX) XH (XH + LongVJut - QuarterStroke) VJutStroke
|
||||||
if para.isItalic : eject-contour 'serifLB'
|
|
||||||
|
create-glyph "cyrl/ge.italic.\(suffix)" : glyph-proc
|
||||||
|
include [refer-glyph "cyrl/ge.upright.\(suffix)"] AS_BASE ALSO_METRICS
|
||||||
|
eject-contour 'serifLB'
|
||||||
|
eject-contour 'strokeV'
|
||||||
|
include : LegShape
|
||||||
|
ztop -- [Point.fromXY Point.Type.Corner GammaBarLeft XH]
|
||||||
|
zbot -- [Point.fromXY Point.Type.Corner [mix SB 0 : if doST 1 0.75] 0]
|
||||||
|
xb -- GammaBarLeft
|
||||||
|
|
||||||
create-glyph "cyrl/GheMidHook.\(suffix)" : glyph-proc
|
create-glyph "cyrl/GheMidHook.\(suffix)" : glyph-proc
|
||||||
include [refer-glyph "grek/Gamma.\(suffix)"] AS_BASE ALSO_METRICS
|
include [refer-glyph "grek/Gamma.\(suffix)"] AS_BASE ALSO_METRICS
|
||||||
|
@ -135,9 +144,10 @@ glyph-block Letter-Greek-Upper-Gamma: begin
|
||||||
select-variant 'cyrl/ghe.upright'
|
select-variant 'cyrl/ghe.upright'
|
||||||
select-variant 'cyrl/gheDescender.upright' (follow -- 'cyrl/ghe.upright')
|
select-variant 'cyrl/gheDescender.upright' (follow -- 'cyrl/ghe.upright')
|
||||||
select-variant 'cyrl/gheDHook.upright' (follow -- 'cyrl/ghe.upright')
|
select-variant 'cyrl/gheDHook.upright' (follow -- 'cyrl/ghe.upright')
|
||||||
select-variant 'grek/smcpGamma' 0x1D26 (shapeFrom -- 'cyrl/ghe.upright') (follow -- 'grek/Gamma')
|
select-variant 'cyrl/ge.upright' (follow -- 'cyrl/ge')
|
||||||
select-variant 'cyrl/ge' 0x491
|
select-variant 'cyrl/ge.italic' (follow -- 'cyrl/ge')
|
||||||
select-variant 'cyrl/gheMidHook' 0x495 (follow -- 'cyrl/ghe.upright')
|
select-variant 'cyrl/gheMidHook' 0x495 (follow -- 'cyrl/ghe.upright')
|
||||||
|
select-variant 'grek/smcpGamma' 0x1D26 (shapeFrom -- 'cyrl/ghe.upright') (follow -- 'grek/Gamma')
|
||||||
|
|
||||||
select-variant 'grek/Digamma' 0x3DC (follow -- 'grek/Gamma')
|
select-variant 'grek/Digamma' 0x3DC (follow -- 'grek/Gamma')
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue