Skip to content

Commit 637d34e

Browse files
Cleanup of be5invis#2571 .
1 parent 71ef1de commit 637d34e

File tree

4 files changed

+12
-13
lines changed

4 files changed

+12
-13
lines changed

packages/font-glyphs/src/letter/armenian/ca.ptl

+5-1
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,10 @@ glyph-block Letter-Armenian-Ca : begin
5151
local x3 : mix df.leftSB df.rightSB 0.1
5252
local x4 : mix df.leftSB df.rightSB 0.6
5353

54+
local rExt : Math.max df.rightSB : Math.min
55+
x4 + [HSwToV : 1.5 * df.mvs] + jut
56+
df.rightSB + jut - [HSwToV : 0.5 * df.mvs]
57+
5458
include : intersection [MaskBelowLine (x1 - xOffset) Ascender (x2 - xOffset) y2 100] : dispiro
5559
widths.rhs df.mvs
5660
flat (x3 + xOffset) Ascender
@@ -62,4 +66,4 @@ glyph-block Letter-Armenian-Ca : begin
6266
curl (df.leftSB + OX) (highBarPos - SmallArchDepthA)
6367
arcvh
6468
flat df.middle highBarPos
65-
curl (df.rightSB + jut - [HSwToV : 0.5 * df.mvs]) highBarPos
69+
curl rExt highBarPos

packages/font-glyphs/src/letter/armenian/to.ptl

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ glyph-block Letter-Armenian-To : begin
4343
local fine : df.adviceStroke2 6 3 XH
4444
include : df.markSet.p
4545
include : VBar.l df.leftSB Descender XH df.mvs
46-
local barPosT : XH / 2 + df.mvs / 2
46+
local barPosT : barPos + df.mvs / 2
4747
include : dispiro
4848
nShoulder.knots
4949
left -- (df.leftSB + [HSwToV df.mvs])

packages/font-glyphs/src/letter/latin/lower-g.ptl

+6-6
Original file line numberDiff line numberDiff line change
@@ -162,23 +162,23 @@ glyph-block Letter-Latin-Lower-G : begin
162162
local df : include : DivFrame 1
163163
include : df.markSet.p
164164
set-base-anchor 'overlay' Middle (XH / 2)
165-
set-base-anchor 'strike' Middle (XH / 2)
166-
include : bodyShape df XH
165+
set-base-anchor 'strike' Middle (XH / 2)
166+
include : bodyShape df XH
167167
include : hookShape df (XH - hookStart)
168168

169169
create-glyph "GScript.\(suffix)" : glyph-proc
170170
local df : include : DivFrame 1
171171
include : df.markSet.capDesc
172172
set-base-anchor 'overlay' Middle (CAP / 2)
173-
include : bodyShape df CAP
173+
include : bodyShape df CAP
174174
include : hookShape df (CAP - hookStart)
175175

176176
create-glyph "gScriptPalatalHook.\(suffix)" : glyph-proc
177177
local df : include : DivFrame para.diversityM 1
178178
include : df.markSet.p
179179
set-base-anchor 'overlay' Middle (XH / 2)
180180
local dfSub : DivFrame (0.75 * para.diversityM) 2
181-
include : bodyShape dfSub XH
181+
include : bodyShape dfSub XH
182182
include : hookShape dfSub (XH - hookStart)
183183
include : PalatalHook.r
184184
x -- df.rightSB
@@ -213,8 +213,8 @@ glyph-block Letter-Latin-Lower-G : begin
213213
include : MarkSet.p
214214
set-base-anchor 'overlay' Middle (XH / 2)
215215
define df : DivFrame 1
216-
include : SingleStorey.ScriptCutBody df XH
217-
include : SingleStorey.CrossedHook df (XH - HalfStroke)
216+
include : SingleStorey.ScriptCutBody df XH
217+
include : SingleStorey.CrossedHook df (XH - HalfStroke)
218218

219219
glyph-block-import Letter-Blackboard : BBS BBD BBBarRight
220220
create-glyph 'mathbb/g' 0x1D558 : glyph-proc

packages/font-glyphs/src/letter/latin/lower-j.ptl

-5
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,6 @@ glyph-block Letter-Latin-Lower-J : begin
8787
include : Serifless df top xMiddle
8888
include : LeaningAnchor.Above.At [mix df.middle xMiddle (7/8)]
8989

90-
export : define [AutoSerifed df top xMiddle] : glyph-proc
91-
include : if SLAB
92-
Serifed df top xMiddle
93-
Serifless df top xMiddle
94-
9590
define Div : namespace
9691
export : define BentHook 1
9792
export : define StraightSerifless para.diversityII

0 commit comments

Comments
 (0)