Add tailless variants for Greek small Mu (μ) (#1211).

This commit is contained in:
be5invis 2021-09-02 20:50:16 -07:00
parent 5928127be7
commit 4ba5284868
4 changed files with 40 additions and 13 deletions

View file

@ -1,2 +1,3 @@
* Refine the size and placements of diacritics, to avoid stacking marks to collide (#1204). * Refine the size and placements of diacritics, to avoid stacking marks to collide (#1204).
* Refine the alignment of Number Sign (`#`) to align with numbers (#1210). * Refine the alignment of Number Sign (`#`) to align with numbers (#1210).
* Add tailless variants for Greek small Mu (`μ`) (#1211).

View file

@ -10,9 +10,14 @@ glyph-block Letter-Greek-Lower-Mu : begin
glyph-block-import Common-Derivatives glyph-block-import Common-Derivatives
glyph-block-import Letter-Latin-U glyph-block-import Letter-Latin-U
create-glyph 'grek/mu' 0x3BC : glyph-proc define SmallMuConfig : object
tailless { 'u.toothed' }
tailed { 'u.seriflessTailed' }
foreach { suffix { uPartName } } [Object.entries SmallMuConfig] : do
create-glyph "grek/mu.\(suffix)" : glyph-proc
include : MarkSet.p include : MarkSet.p
include : refer-glyph 'u.seriflessTailed' include : refer-glyph uPartName
include : dispiro include : dispiro
widths.rhs widths.rhs
flat SB Descender [heading Upward] flat SB Descender [heading Upward]
@ -20,4 +25,6 @@ glyph-block Letter-Greek-Lower-Mu : begin
straight.up.end SB SmallSmoothB [widths.heading 0 [AdviceStroke 4] Upward] straight.up.end SB SmallSmoothB [widths.heading 0 [AdviceStroke 4] Upward]
if SLAB : begin if SLAB : begin
include : LeftwardTopSerif SB XH SideJut include : LeftwardTopSerif SB XH SideJut
select-variant 'grek/mu' 0x3BC
alias 'micro' 0xB5 'grek/mu' alias 'micro' 0xB5 'grek/mu'

View file

@ -4694,6 +4694,23 @@ selector."grek/lambda" = "curlyTurn"
[prime.lower-mu]
sampler = "μ"
samplerExplain = "Greek small Mu"
tag = "VXAC"
[prime.lower-mu.variants.tailless]
rank = 1
description = "Tailless Greek small Mu (`μ`)"
selector."grek/mu" = "tailless"
[prime.lower-mu.variants.tailed]
rank = 2
description = "Tailed Greek small Mu (`μ`)"
selector."grek/mu" = "tailed"
[prime.lower-xi] [prime.lower-xi]
sampler = "ξ" sampler = "ξ"
samplerExplain = "Greek lower Xi" samplerExplain = "Greek lower Xi"
@ -6296,10 +6313,11 @@ turn-v = "straight"
latn-phi = "serifless" latn-phi = "serifless"
lower-alpha = "crossing" lower-alpha = "crossing"
lower-delta = "rounded" lower-delta = "rounded"
lower-xi = "flat-top"
capital-gamma = "serifless" capital-gamma = "serifless"
lower-mu = "tailed"
lower-iota = "serifed-flat-tailed" lower-iota = "serifed-flat-tailed"
lower-lambda = "straight" lower-lambda = "straight"
lower-xi = "flat-top"
cyrl-capital-ze = "serifless" cyrl-capital-ze = "serifless"
cyrl-ze = "serifless" cyrl-ze = "serifless"
cyrl-capital-ka = "symmetric-connected-serifless" cyrl-capital-ka = "symmetric-connected-serifless"
@ -6708,6 +6726,7 @@ y = "straight-turn"
eszet = "longs-s-lig" eszet = "longs-s-lig"
lower-iota = "tailed-serifed" lower-iota = "tailed-serifed"
lower-lambda = "straight-turn" lower-lambda = "straight-turn"
lower-mu = "tailless"
cyrl-capital-ka = "symmetric-connected-serifless" cyrl-capital-ka = "symmetric-connected-serifless"
cyrl-ka = "symmetric-connected-serifless" cyrl-ka = "symmetric-connected-serifless"
cyrl-capital-u = "straight-turn" cyrl-capital-u = "straight-turn"

View file

@ -29,7 +29,7 @@ const captureCallbacks = {
const ssStrings = [ const ssStrings = [
["ABC.DEF.GHI.JKL.MNO.PQRS.TUV.WXYZ", "abc.def.ghi.jkl.mno.pqrs.tuv.wxyz"], ["ABC.DEF.GHI.JKL.MNO.PQRS.TUV.WXYZ", "abc.def.ghi.jkl.mno.pqrs.tuv.wxyz"],
[ſ ß ΓΛΔ αδιλξ КУЗЯ эльф язычник", "float il1[]={1-2/3.4,5+6=7/8%90};"], [ſß ΓΛΔ αδιλμξ КУЗЯ эльф язычник", "float il1[]={1-2/3.4,5+6=7/8%90};"],
["1234567890 ,._-+= >< ¯-¬_ >~–÷+×<", "{}[]()<>`+-=$*/#_%^@\\&|~?'\" !,.;:"], ["1234567890 ,._-+= >< ¯-¬_ >~–÷+×<", "{}[]()<>`+-=$*/#_%^@\\&|~?'\" !,.;:"],
["!iIlL17|¦ coO08BbDQ $5SZ2zsz 96G&", [..."dbqp E3 g9q CGQ vvw VVW /V ", "<=", " ", ">="]] ["!iIlL17|¦ coO08BbDQ $5SZ2zsz 96G&", [..."dbqp E3 g9q CGQ vvw VVW /V ", "<=", " ", ">="]]
]; ];