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 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,14 +10,21 @@ glyph-block Letter-Greek-Lower-Mu : begin
glyph-block-import Common-Derivatives
glyph-block-import Letter-Latin-U
create-glyph 'grek/mu' 0x3BC : glyph-proc
include : MarkSet.p
include : refer-glyph 'u.seriflessTailed'
include : dispiro
widths.rhs
flat SB Descender [heading Upward]
curl SB (Descender / 2) [heading Upward]
straight.up.end SB SmallSmoothB [widths.heading 0 [AdviceStroke 4] Upward]
if SLAB : begin
include : LeftwardTopSerif SB XH SideJut
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 : refer-glyph uPartName
include : dispiro
widths.rhs
flat SB Descender [heading Upward]
curl SB (Descender / 2) [heading Upward]
straight.up.end SB SmallSmoothB [widths.heading 0 [AdviceStroke 4] Upward]
if SLAB : begin
include : LeftwardTopSerif SB XH SideJut
select-variant 'grek/mu' 0x3BC
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]
sampler = "ξ"
samplerExplain = "Greek lower Xi"
@ -6296,10 +6313,11 @@ turn-v = "straight"
latn-phi = "serifless"
lower-alpha = "crossing"
lower-delta = "rounded"
lower-xi = "flat-top"
capital-gamma = "serifless"
lower-mu = "tailed"
lower-iota = "serifed-flat-tailed"
lower-lambda = "straight"
lower-xi = "flat-top"
cyrl-capital-ze = "serifless"
cyrl-ze = "serifless"
cyrl-capital-ka = "symmetric-connected-serifless"
@ -6708,6 +6726,7 @@ y = "straight-turn"
eszet = "longs-s-lig"
lower-iota = "tailed-serifed"
lower-lambda = "straight-turn"
lower-mu = "tailless"
cyrl-capital-ka = "symmetric-connected-serifless"
cyrl-ka = "symmetric-connected-serifless"
cyrl-capital-u = "straight-turn"

View file

@ -29,7 +29,7 @@ const captureCallbacks = {
const ssStrings = [
["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 ,._-+= >< ¯-¬_ >~–÷+×<", "{}[]()<>`+-=$*/#_%^@\\&|~?'\" !,.;:"],
["!iIlL17|¦ coO08BbDQ $5SZ2zsz 96G&", [..."dbqp E3 g9q CGQ vvw VVW /V ", "<=", " ", ">="]]
];