Optimize arch depth of Greek Lower Psi (ψ
). (#2797)
This commit is contained in:
parent
df20c354fc
commit
ab2cfd29dd
2 changed files with 7 additions and 5 deletions
|
@ -1,5 +1,7 @@
|
||||||
* Refine shape of the following characters:
|
* Refine shape of the following characters:
|
||||||
- LATIN SMALL LETTER RAMS HORN (`U+0264`).
|
- LATIN SMALL LETTER RAMS HORN (`U+0264`).
|
||||||
|
- GREEK SMALL LETTER PSI (`U+03C8`).
|
||||||
|
- CYRILLIC SMALL LETTER PSI (`U+0471`).
|
||||||
- LATIN LETTER AIN (`U+1D25`).
|
- LATIN LETTER AIN (`U+1D25`).
|
||||||
- MODIFIER LETTER SMALL AIN (`U+1D5C`).
|
- MODIFIER LETTER SMALL AIN (`U+1D5C`).
|
||||||
- TURKISH LIRA SIGN (`U+20BA`).
|
- TURKISH LIRA SIGN (`U+20BA`).
|
||||||
|
|
|
@ -10,8 +10,8 @@ glyph-block Letter-Greek-Psi : begin
|
||||||
glyph-block-import CommonShapes
|
glyph-block-import CommonShapes
|
||||||
glyph-block-import Common-Derivatives
|
glyph-block-import Common-Derivatives
|
||||||
|
|
||||||
define [PsiBaseShape df y1 y2 y3 y4 doBotSerif doTopSerif doSideSerifL doSideSerifR] : glyph-proc
|
define [PsiShape df y1 y2 y3 y4 ada adb doBotSerif doTopSerif doSideSerifL doSideSerifR] : glyph-proc
|
||||||
include : UShape df y3 y2 df.mvs (ArchDepthA * df.adws) (ArchDepthB * df.adws)
|
include : UShape df y3 y2 df.mvs ada adb
|
||||||
include : VBar.m df.middle y2 y4 df.mvs
|
include : VBar.m df.middle y2 y4 df.mvs
|
||||||
include : VBar.m df.middle y1 (y2 + HalfStroke)
|
include : VBar.m df.middle y1 (y2 + HalfStroke)
|
||||||
|
|
||||||
|
@ -23,14 +23,14 @@ glyph-block Letter-Greek-Psi : begin
|
||||||
create-glyph 'grek/Psi' 0x3A8 : glyph-proc
|
create-glyph 'grek/Psi' 0x3A8 : glyph-proc
|
||||||
local df : include : DivFrame para.advanceScaleM 3
|
local df : include : DivFrame para.advanceScaleM 3
|
||||||
include : df.markSet.capital
|
include : df.markSet.capital
|
||||||
include : PsiBaseShape df 0 (CAP * 0.3) CAP CAP SLAB (SLAB && (df.width > para.refJut * 7)) SLAB SLAB
|
include : PsiShape df 0 (CAP * 0.3) CAP CAP df.archDepthA df.archDepthB SLAB (SLAB && (df.width > para.refJut * 7)) SLAB SLAB
|
||||||
|
|
||||||
alias 'cyrl/Psi' 0x470 'grek/Psi'
|
alias 'cyrl/Psi' 0x470 'grek/Psi'
|
||||||
|
|
||||||
create-glyph 'smcpPsi' 0x1D2A : glyph-proc
|
create-glyph 'smcpPsi' 0x1D2A : glyph-proc
|
||||||
local df : include : DivFrame para.advanceScaleT 3
|
local df : include : DivFrame para.advanceScaleT 3
|
||||||
include : df.markSet.e
|
include : df.markSet.e
|
||||||
include : PsiBaseShape df 0 (XH * 0.3) XH XH SLAB false SLAB SLAB
|
include : PsiShape df 0 (XH * 0.3) XH XH df.archDepthA df.archDepthB SLAB false SLAB SLAB
|
||||||
|
|
||||||
define GrekLowerPsiConfig : SuffixCfg.weave
|
define GrekLowerPsiConfig : SuffixCfg.weave
|
||||||
object # top
|
object # top
|
||||||
|
@ -44,7 +44,7 @@ glyph-block Letter-Greek-Psi : begin
|
||||||
create-glyph "grek/psi.\(suffix)" : glyph-proc
|
create-glyph "grek/psi.\(suffix)" : glyph-proc
|
||||||
local df : include : DivFrame para.advanceScaleM 3
|
local df : include : DivFrame para.advanceScaleM 3
|
||||||
include : df.markSet.[if (top > XH) 'bp' 'p']
|
include : df.markSet.[if (top > XH) 'bp' 'p']
|
||||||
include : PsiBaseShape df Descender 0 XH top false false slab false
|
include : PsiShape df Descender 0 XH top df.smallArchDepthA df.smallArchDepthB false false slab false
|
||||||
|
|
||||||
select-variant 'grek/psi' 0x3C8
|
select-variant 'grek/psi' 0x3C8
|
||||||
link-reduced-variant 'grek/psi/sansSerif' 'grek/psi' MathSansSerif
|
link-reduced-variant 'grek/psi/sansSerif' 'grek/psi' MathSansSerif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue