Fix overlay placement of Tugrik Sign (U+20AE) under Etoile (#2060).
This commit is contained in:
parent
189623b894
commit
e55ca5729c
1 changed files with 7 additions and 5 deletions
|
@ -75,11 +75,13 @@ glyph-block Symbol-Currency-Letter-Derived : begin
|
||||||
derive-composites 'currency/dongSign' 0x20AB 'dcroat' 'sbRsbUnderlineBelow'
|
derive-composites 'currency/dongSign' 0x20AB 'dcroat' 'sbRsbUnderlineBelow'
|
||||||
derive-composites 'currency/kipSign' 0x20AD 'K' 'hStrike'
|
derive-composites 'currency/kipSign' 0x20AD 'K' 'hStrike'
|
||||||
|
|
||||||
create-glyph 'currency/tugrikOverride' : let
|
create-glyph 'currency/tugrikOverride' : glyph-proc
|
||||||
l : mix (Middle - [HSwToV HalfStroke]) SB 0.75
|
local l : mix (Middle - [HSwToV HalfStroke]) SB 0.75
|
||||||
r : mix (Middle + [HSwToV HalfStroke]) RightSB 0.75
|
local r : mix (Middle + [HSwToV HalfStroke]) RightSB 0.75
|
||||||
kSlope 0.05
|
local kSlope 0.05
|
||||||
intersection [Rect 0 CAP l r] : union
|
set-width 0
|
||||||
|
set-mark-anchor 'overlay' [mix l r 0.5] (CAP * 0.5)
|
||||||
|
include : intersection [Rect 0 CAP l r] : union
|
||||||
ExtLineCenter 4 OverlayStroke l (CAP * (0.6 - kSlope)) r (CAP * (0.6 + kSlope))
|
ExtLineCenter 4 OverlayStroke l (CAP * (0.6 - kSlope)) r (CAP * (0.6 + kSlope))
|
||||||
ExtLineCenter 4 OverlayStroke l (CAP * (0.35 - kSlope)) r (CAP * (0.35 + kSlope))
|
ExtLineCenter 4 OverlayStroke l (CAP * (0.35 - kSlope)) r (CAP * (0.35 + kSlope))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue