Fix detached palatal hook on U+01AB` when t is both hookless/tailless and asymmetric (#1910).

This commit is contained in:
be5invis 2023-08-11 12:30:56 -07:00
parent c5e1e1d3b2
commit e09bf21b14
2 changed files with 4 additions and 9 deletions

View file

@ -167,21 +167,15 @@ glyph-block Letter-Latin-Lower-T : begin
export : define [Body df sym top bot] : glyph-proc
local xLeft : BarLeftPos df sym
local { xcl xcr } : xCrossBarPos df sym
local xEnd : xLeft + [HSwToV : 1.75 * Stroke]
include : VBar.l xLeft 0 top
include : HCrossBar.top xcl xcr yCrossBar
set-base-anchor 'overlay' (xLeft + [HSwToV HalfStroke]) (XH * 0.58)
set-base-anchor 'hooktopAttach' (xLeft + [HSwToV HalfStroke]) top
set-base-anchor 'lTailHookAttach' xEnd (bot + Stroke)
export : define [Retroflex df sym top bot] : Flat.CrossRTBody df sym top bot
export : define [LTBody df sym top bot] : glyph-proc
include : Body df sym top bot
define xEnd : df.middle + [HSwToV : 1.25 * Stroke]
include : HBar.b df.middle xEnd 0
set-base-anchor 'bottomRight' xEnd bot
set-base-anchor 'lTailHookAttach' xEnd (bot + Stroke)
export : define [PLBody df sym top bot] : glyph-proc
include : Body df sym top bot
include : HBar.b df.middle RightSB 0
@ -237,7 +231,7 @@ glyph-block Letter-Latin-Lower-T : begin
create-glyph "tLTail.\(suffix)" : glyph-proc
set-width df.width
include : df.markSet.bp
include : (Style.LTBody || Style.Body) df sym top 0
include : Style.Body df sym top 0
local attach : currentGlyph.gizmo.unapply (currentGlyph.baseAnchors.lTailHookAttach || currentGlyph.baseAnchors.bottomRight)
include : PalatalHook.r