Fix ring mark size and clearance

This commit is contained in:
be5invis 2021-09-03 23:27:03 -07:00
parent 35d0f7d540
commit a6052e1a1c
2 changed files with 3 additions and 4 deletions

View file

@ -47,8 +47,8 @@ glyph-block Mark-Above : begin
include : DotAt (markMiddle + markExtend) aboveMarkMid markDotsRadius
define [RingDims] : begin
local radiusIn : AccentHeight * 0.2
local radiusOut : radiusIn + markFine * [linreg 16 2 90 1.75 (markHalfStroke * 2)]
local radiusOut : AccentHeight * [linreg 16 0.5 90 0.75 (markHalfStroke * 2)]
local radiusIn : radiusOut - markFine * [linreg 16 2 90 1.75 (markHalfStroke * 2)]
return [object radiusIn radiusOut]
create-glyph 'ringAbove' 0x30A : glyph-proc
@ -60,7 +60,6 @@ glyph-block Mark-Above : begin
include : difference
DotAt markMiddle aboveMarkMid radiusOut
DotAt markMiddle aboveMarkMid radiusIn
include : ApparentTranslate 0 (-markFine * 0.75)
create-glyph 'dblRingAbove' 0x1AB2 : glyph-proc
set-width 0

View file

@ -30,7 +30,7 @@ slopeAngle = 0 # slope angle, in degrees.
derivedSlopeAngle = 10 # Slope angle of derived letters requiring italics
accentWidth = 200 # Width of accent marks.
accentClearance = 48 # Vertical clearance of accent marks to the base.
accentClearance = 80 # Vertical clearance of accent marks to the base.
accentHeight = 140 # Height of accent marks.
accentStackOffset = 205 # Offset height of accent mark stack.
overshoot = -8 # Vertical overshoot for arcs.