Make round grek/Alpha use SetGrekUpperTonos 0. (#2478)

This commit is contained in:
John McWilliams 2024-08-21 19:54:59 -04:00 committed by GitHub
parent 1c9c2e09a8
commit 499b97e3a1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 3 deletions

View file

@ -73,7 +73,7 @@ glyph-block Letter-Latin-Upper-AE-OE : begin
corner eleft 0 corner eleft 0
define [AEAHalfRoundTop df top eleft sw] : glyph-proc define [AEAHalfRoundTop df top eleft sw] : glyph-proc
include : HBar.t df.leftSB eleft (0.75 * XH * top / CAP) sw include : HBar.t df.leftSB eleft (XH * 0.75 / CAP * top) sw
include : dispiro include : dispiro
widths.rhs sw widths.rhs sw
flat df.leftSB 0 [heading Upward] flat df.leftSB 0 [heading Upward]

View file

@ -147,8 +147,9 @@ glyph-block Letter-Latin-Upper-A : begin
local df : DivFrame 1 local df : DivFrame 1
include : df.markSet.(mak) include : df.markSet.(mak)
set-base-anchor 'trailing' df.rightSB 0 set-base-anchor 'trailing' df.rightSB 0
if fGrek : include : SetGrekUpperTonos if fGrek : include : SetGrekUpperTonos : match bodyShape
(df.rightSB - df.leftSB) * [if [maskBits slabKind SLAB-TOP] 0 0.2] [Just BODY-ROUND-TOP] 0
__ : (df.rightSB - df.leftSB) * [if [maskBits slabKind SLAB-TOP] 0 0.2]
include : AShape.Letter df bodyShape slabKind top Stroke include : AShape.Letter df bodyShape slabKind top Stroke