Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change advs to adws for less potential confusion #2659

Merged
merged 1 commit into from
Jan 27, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions packages/font-glyphs/src/auto-build/composite.ptl
Original file line number Diff line number Diff line change
Expand Up @@ -1529,8 +1529,8 @@ glyph-block Autobuild-Pnonetic-Ligatures : begin
glyph-block-import Autobuild-Enclosure-Shared : CollectJobs CreateDerivedFontFromJobs EnsureComponentGlyphT applyRelations
glyph-block-import Autobuild-Transformed-Shared : ToSuperscript ToSubscript

define [createPhoneticLigatures tfm prefix advs mockNParts _shrink kKern demands] : begin
local ww0 : Width * advs
define [createPhoneticLigatures tfm prefix adws mockNParts _shrink kKern demands] : begin
local ww0 : Width * adws
local wwM : ww0 / [fallback tfm.crowdAdjScale 1]
local jobs : CollectJobs DECOMPOSABLE NOT-CENTERED ALLOW-PROPORTIONAL prefix "" demands
local shrink : clamp 0 1 _shrink
Expand All @@ -1548,10 +1548,10 @@ glyph-block Autobuild-Pnonetic-Ligatures : begin
if [query-glyph gni] : return gni
create-glyph gni : glyph-proc
set-width aw
if mak : include : [DivFrame advs].markSet.(mak)
if mak : include : [DivFrame adws].markSet.(mak)
set-base-anchor 'enclosureInner' markPlacement 0
set-base-anchor 'slash' (aw / 2) (Ascender / 2)
include : tfm advs
include : tfm adws
return gni

define [LigaturePartImpl thinFont compress markDist maskPos] : lambda [gidPart] : begin
Expand All @@ -1566,7 +1566,7 @@ glyph-block Autobuild-Pnonetic-Ligatures : begin
include : Scale compress 1
include : Regizmo
set-mark-anchor 'enclosureInner' 0 0 markDist 0
include : tfm advs
include : tfm adws
return gni

define [LigatureImpl job decomposable] : if [not : query-glyph gn] : begin
Expand Down Expand Up @@ -1675,8 +1675,8 @@ glyph-block Autobuild-Double-Emotions : begin
glyph-block-import Recursive-Build : Thinner
glyph-block-import Autobuild-Enclosure-Shared : CollectJobs CreateDerivedFontFromJobs EnsureComponentGlyphT applyRelations

define [createDoubleEmotions prefix advs _shrink1 _shrink2 wadj1 wadj2 demands] : for-width-kinds WideWidth2
define CWidth : if FMosaicWide MosaicWidth (Width * advs)
define [createDoubleEmotions prefix adws _shrink1 _shrink2 wadj1 wadj2 demands] : for-width-kinds WideWidth2
define CWidth : if FMosaicWide MosaicWidth (Width * adws)
define shrink1 : if FMosaicWide 1 _shrink1
define shrink2 : if FMosaicWide 1 _shrink2
define kern : SB * shrink1 + SB * shrink2 + HalfStroke * [mix shrink1 shrink2 0.5] - OX * 2
Expand Down
8 changes: 4 additions & 4 deletions packages/font-glyphs/src/auto-build/transformed.ptl
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ glyph-block Autobuild-Transformed-Shared : begin
[query-glyph origDstName].tryBecomeMirrorOf [query-glyph relDstName] rs

glyph-block-export ToSuperscript
define [ToSuperscript advs] : glyph-proc
local df : DivFrame advs
define [ToSuperscript adws] : glyph-proc
local df : DivFrame adws
include [Ungizmo] true
include [Translate (-df.middle) (-CAP)] true
include [Scale ToSuperscript.crowdAdjScale] true
Expand All @@ -91,8 +91,8 @@ glyph-block Autobuild-Transformed-Shared : begin
set ToSuperscript.crowdAdjScale 0.7

glyph-block-export ToSubscript
define [ToSubscript advs] : glyph-proc
local df : DivFrame advs
define [ToSubscript adws] : glyph-proc
local df : DivFrame adws
include [Ungizmo] true
include [Translate (-df.middle) 0] true
include [Scale ToSubscript.crowdAdjScale] true
Expand Down
4 changes: 2 additions & 2 deletions packages/font-glyphs/src/letter-like/fraktur/common.ptl
Original file line number Diff line number Diff line change
Expand Up @@ -188,10 +188,10 @@ glyph-block LetterLike-Fraktur-Common : begin
define PHexBot : 1 - PHexTop

glyph-block-export UpperDf
define [UpperDf advs m] : DivFrame [fallback advs 1] [fallback m 2] [Math.max 1 : DecoSizeX / SB]
define [UpperDf adws m] : DivFrame [fallback adws 1] [fallback m 2] [Math.max 1 : DecoSizeX / SB]

glyph-block-export LowerDf
define [LowerDf advs m] : DivFrame [fallback advs 1] [fallback m 2] [Math.max 1 : (1.75 * DecoSizeX - 0.5 * S.thick) / SB]
define [LowerDf adws m] : DivFrame [fallback adws 1] [fallback m 2] [Math.max 1 : (1.75 * DecoSizeX - 0.5 * S.thick) / SB]

glyph-block-export RBDecoration
define [RBDecoration cx cy limy] : lift-@ : list
Expand Down
2 changes: 1 addition & 1 deletion packages/font-glyphs/src/letter/armenian/eh-liun-hiun.ptl
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ glyph-block Letter-Armenian-Eh-Liun-Hiun : begin
local df : include : DivFrame : if SLAB para.advanceScaleI para.advanceScaleII
include : df.markSet.p
local xMiddle : df.middle - [IBalance2 df]
local longJut : if (df.advs < 1) (jut * [if SLAB 1.5 1]) LongJut
local longJut : if (df.adws < 1) (jut * [if SLAB 1.5 1]) LongJut
include : VBar.m xMiddle Descender XH df.mvs
include : HBar.b xMiddle (xMiddle + longJut) Descender df.mvs
if SLAB : include : HSerif.lt xMiddle XH Jut df.mvs
Expand Down
4 changes: 2 additions & 2 deletions packages/font-glyphs/src/letter/armenian/feh.ptl
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ glyph-block Letter-Armenian-Feh : begin
create-glyph 'armn/Feh' 0x556 : glyph-proc
local df : include : DivFrame para.advanceScaleM 3
include : df.markSet.capital
local sw : Math.min df.mvs : AdviceStroke2 3 3 CAP df.advs
local sw : Math.min df.mvs : AdviceStroke2 3 3 CAP df.adws
local ada : df.archDepthAOf ArchDepth sw
local adb : df.archDepthBOf ArchDepth sw
include : FehBody df CAP 0 sw Hook ada adb
Expand All @@ -44,7 +44,7 @@ glyph-block Letter-Armenian-Feh : begin
create-glyph 'armn/feh' 0x586 : glyph-proc
local df : include : DivFrame para.advanceScaleM 3
include : df.markSet.bp
local sw : Math.min df.mvs : AdviceStroke2 3 3 Ascender df.advs
local sw : Math.min df.mvs : AdviceStroke2 3 3 Ascender df.adws
local ada : df.archDepthAOf SmallArchDepth sw
local adb : df.archDepthBOf SmallArchDepth sw
include : FehBody df Ascender 0 sw Hook ada adb
Expand Down
2 changes: 1 addition & 1 deletion packages/font-glyphs/src/letter/armenian/shared.ptl
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ glyph-block Letter-Armenian-Shared-Shapes : begin
-- df.leftSB
define right : match hPos
[Just JUT.RIGHT] (df.rightSB + (jut * [if SLAB 1.5 1]) - [HSwToV : 0.5 * df.mvs])
[Just JUT.SHORT] (df.rightSB - (jut - [HSwToV : 0.5 * df.mvs]) * df.advs)
[Just JUT.SHORT] (df.rightSB - (jut - [HSwToV : 0.5 * df.mvs]) * df.adws)
[Just JUT.LEFT] df.leftSB
-- df.rightSB

Expand Down
8 changes: 4 additions & 4 deletions packages/font-glyphs/src/letter/cyrillic/big-yus.ptl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ glyph-block Letter-Cyrillic-BigYus : begin
glyph-block-import Letter-Cyrillic-Iotified-A : Iotified

define [BigYusLegMaskShape df top yp _fine] : begin
local fine : fallback _fine : AdviceStroke 3.3 df.advs
local fine : fallback _fine : AdviceStroke 3.3 df.adws
local midx : mix df.leftSB df.middle 0.3
local yb : top * yp
return : spiro-outline
Expand All @@ -21,7 +21,7 @@ glyph-block Letter-Cyrillic-BigYus : begin
corner midx yb

define [CyrBigYusShape df top yp _fine] : glyph-proc
local fine : fallback _fine : AdviceStroke 3.3 df.advs
local fine : fallback _fine : AdviceStroke 3.3 df.adws
local cor HVContrast
local midx : mix df.leftSB df.middle 0.3
local midx2 : Math.min (df.middle - fine * cor) [mix df.leftSB df.middle 0.75]
Expand Down Expand Up @@ -65,7 +65,7 @@ glyph-block Letter-Cyrillic-BigYus : begin
include : tagged 'serifMB' sf.mb.full

define [CyrBlendedYusShape df top yp yp2 _fine] : glyph-proc
local fine : fallback _fine : AdviceStroke 3.3 df.advs
local fine : fallback _fine : AdviceStroke 3.3 df.adws
include : CyrBigYusShape df top yp fine
eject-contour 'barM'

Expand Down Expand Up @@ -101,7 +101,7 @@ glyph-block Letter-Cyrillic-BigYus : begin
define dfSub : DivFrame divSub 3
include : CyrBigYusShape dfSub top yp df.mvs
eject-contour 'serifRB'
include : Translate (Width * (df.advs - divSub)) 0
include : Translate (Width * (df.adws - divSub)) 0

include : Iotified.outer df top
hBarRight -- [mix df.leftSB df.rightSB (2 / 3)]
Expand Down
2 changes: 1 addition & 1 deletion packages/font-glyphs/src/letter/cyrillic/che.ptl
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ glyph-block Letter-Cyrillic-Che : begin
define [CyrTcheShape] : with-params [df top pyBar bodyType slabType [teSerifs SLAB] [sw : AdviceStroke 2.75] [yBarOffset DToothlessRise]] : glyph-proc
local bar : top * [fallback pyBar 0.5] + yBarOffset

local left : [mix df.leftSB df.rightSB : if (df.advs > 1) 0.25 0.2] - [HSwToV : 0.25 * sw] + OX
local left : [mix df.leftSB df.rightSB : if (df.adws > 1) 0.25 0.2] - [HSwToV : 0.25 * sw] + OX
local right : df.rightSB - OX

include : tagged 'strokeR' : match bodyType
Expand Down
2 changes: 1 addition & 1 deletion packages/font-glyphs/src/letter/cyrillic/de.ptl
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ glyph-block Letter-Cyrillic-De : begin
local sw : fallback _sw Stroke
local xm : if SLAB
[mix df.leftSB df.rightSB 0.625] + [HSwToV : 0.25 * sw]
mix df.leftSB df.rightSB : if (df.advs > 1) (2 / 3) (3 / 4)
mix df.leftSB df.rightSB : if (df.adws > 1) (2 / 3) (3 / 4)
local xTopRight : mix df.leftSB xm : StrokeWidthBlend 0.95 0.96
local xTopBarRightEnd : mix df.width df.rightSB : if vSlab 0.25 0.375

Expand Down
2 changes: 1 addition & 1 deletion packages/font-glyphs/src/letter/cyrillic/dje.ptl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ glyph-block Letter-Cyrillic-Dje : begin
include : df.markSet.capital

local sw : AdviceStroke 2.75
local left : [mix df.leftSB df.rightSB : if (df.advs <= 1) 0.2 : if SLAB 0.3 0.25] + OX
local left : [mix df.leftSB df.rightSB : if (df.adws <= 1) 0.2 : if SLAB 0.3 0.25] + OX
local right : df.rightSB - OX

local xTopBarLeft : df.leftSB - SideJut
Expand Down
2 changes: 1 addition & 1 deletion packages/font-glyphs/src/letter/cyrillic/dzzhe-zhwe.ptl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ glyph-block Letter-Cyrillic-Dzzhe-Zhwe : begin
local subDf : df.slice 4 keeps _o
local subDfFullShift : (df.rightSB - subDf.rightSB) / (4 - keeps)
local shift : pShift * subDfFullShift
local sw : AdviceStroke 3.3 [df.slice 4 3 _o].advs
local sw : AdviceStroke 3.3 [df.slice 4 3 _o].adws
return : object subDf shift sw

do "de subglyph"
Expand Down
6 changes: 3 additions & 3 deletions packages/font-glyphs/src/letter/cyrillic/e.ptl
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ glyph-block Letter-Cyrillic-E : begin
define dfSub : DivFrame divSub 2

local lf : CLetterForm dfSub sty styBot top 0
ada -- (ada * 0.7 * df.advs)
adb -- (adb * 0.7 * df.advs)
ada -- (ada * 0.7 * df.adws)
adb -- (adb * 0.7 * df.adws)
sw -- df.mvs
include : with-transform [ApparentTranslate (Width * (df.advs - divSub)) 0] : lf.full
include : with-transform [ApparentTranslate (Width * (df.adws - divSub)) 0] : lf.full

include : Iotified.full df top
hBarRight -- [mix df.leftSB df.rightSB (3 / 4)]
Expand Down
10 changes: 5 additions & 5 deletions packages/font-glyphs/src/letter/cyrillic/el.ptl
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ glyph-block Letter-Cyrillic-El : begin
local sw : fallback _sw Stroke
local xm : if SLAB
[mix df.leftSB df.rightSB 0.625] + [HSwToV : 0.25 * sw]
mix df.leftSB df.rightSB : if (df.advs > 1) (2 / 3) (3 / 4)
mix df.leftSB df.rightSB : if (df.adws > 1) (2 / 3) (3 / 4)
local xTopBarRightEnd : mix df.width df.rightSB : if vSlab 0.25 0.375

include : CyrElShape df.leftSB xm top bodyType slabType sw
Expand Down Expand Up @@ -160,8 +160,8 @@ glyph-block Letter-Cyrillic-El : begin
right -- df.rightSB
ybegin -- CAP
yend -- (CAP / 2)
ada -- (SmallArchDepthA * 0.6 * df.advs)
adb -- (SmallArchDepthB * 0.6 * df.advs)
ada -- (SmallArchDepthA * 0.6 * df.adws)
adb -- (SmallArchDepthB * 0.6 * df.adws)
sw -- df.mvs
local sf2 : [SerifFrame.fromDf df (CAP / 2) 0].slice 1 2
if SLAB : include sf2.rt.full
Expand All @@ -177,8 +177,8 @@ glyph-block Letter-Cyrillic-El : begin
right -- df.rightSB
ybegin -- XH
yend -- (XH / 2)
ada -- (SmallArchDepthA * 0.6 * df.advs)
adb -- (SmallArchDepthB * 0.6 * df.advs)
ada -- (SmallArchDepthA * 0.6 * df.adws)
adb -- (SmallArchDepthB * 0.6 * df.adws)
sw -- df.mvs
local sf2 : [SerifFrame.fromDf df (XH / 2) 0].slice 1 2
if SLAB : include sf2.rt.full
12 changes: 6 additions & 6 deletions packages/font-glyphs/src/letter/cyrillic/iotified-a.ptl
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ glyph-block Letter-Cyrillic-Iotified-A : begin
local divSub : (df.width - gap - df.mvs) / Width
local subDf : DivFrame divSub 2 (df.leftSB / SB) df.mvs 0

local shift : Width * (df.advs - divSub)
local shift : Width * (df.adws - divSub)
local xIotifiedBarRight : df.leftSB + [HSwToV df.mvs]
local botGap : Math.max ((df.rightSB - df.leftSB) * 0.08) [AdviceStroke 6]
include : difference
Expand All @@ -137,7 +137,7 @@ glyph-block Letter-Cyrillic-Iotified-A : begin
local divSub : (df.width - gap - df.mvs) / Width
local subDf : DivFrame divSub 2

local shift : Width * (df.advs - divSub)
local shift : Width * (df.adws - divSub)
include : with-transform [ApparentTranslate shift 0]
body subDf hookStyle df.mvs

Expand All @@ -155,7 +155,7 @@ glyph-block Letter-Cyrillic-Iotified-A : begin
local divSub : (df.width - gap - df.mvs) / Width
local subDf : DivFrame divSub 2

local shift : Width * (df.advs - divSub)
local shift : Width * (df.adws - divSub)
include : with-transform [ApparentTranslate shift 0]
body subDf XH bar df.mvs

Expand All @@ -179,12 +179,12 @@ glyph-block Letter-Cyrillic-Iotified-A : begin
local divSub : (df.width - gap - df.mvs) / Width
local subDf : DivFrame divSub 2

local shift : Width * (df.advs - divSub)
local shift : Width * (df.adws - divSub)
include : with-transform [ApparentTranslate shift 0]
body subDf XH
stroke -- df.mvs
ada -- (SmallArchDepthA * 0.7 * df.advs)
adb -- (SmallArchDepthB * 0.7 * df.advs)
ada -- (SmallArchDepthA * 0.7 * df.adws)
adb -- (SmallArchDepthB * 0.7 * df.adws)

include : Iotified.full df XH (shift + subDf.leftSB + [HSwToV : 0.5 * df.mvs]) (XH / 2)

Expand Down
2 changes: 1 addition & 1 deletion packages/font-glyphs/src/letter/cyrillic/lje.ptl
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ glyph-block Letter-Cyrillic-Lje : begin
local r : rightSB - 0
local middle : df.width / 2
local xTopLeft : mix l r 0.025
local jut : Math.min Jut : Jut * 0.75 * df.advs
local jut : Math.min Jut : Jut * 0.75 * df.adws
include : LegShape
ztop -- [Point.fromXY Point.Type.Corner xTopLeft top]
zbot -- [Point.fromXY Point.Type.Corner [mix l 0 [if SLAB 1 0.75]] 0]
Expand Down
6 changes: 3 additions & 3 deletions packages/font-glyphs/src/letter/cyrillic/omega.ptl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ glyph-block Letter-Cyrillic-Omega : begin
glyph-block-import Letter-Cyrillic-Te-Comb

define [CyrlOmegaShape df top p1 p2] : glyph-proc
local fine : AdviceStroke 3 df.advs
local fine : AdviceStroke 3 df.adws
local mfine : fine * CThin

local minHookDepth : Math.min (0.625 * (df.middle - df.leftSB - [HSwToV fine])) ((1 / 3) * (df.rightSB - df.leftSB))
Expand Down Expand Up @@ -50,10 +50,10 @@ glyph-block Letter-Cyrillic-Omega : begin

create-glyph 'cyrl/BroadOmega' 0xA64C : glyph-proc
define df : include : DivFrame para.advanceScaleMM 3
include : [DivFrame df.advs].markSet.capital
include : [DivFrame df.adws].markSet.capital
include : CyrlOmegaShape df CAP 0.30 0.31

create-glyph 'cyrl/broadOmega' 0xA64D : glyph-proc
define df : include : DivFrame para.advanceScaleM 3
include : [DivFrame df.advs].markSet.e
include : [DivFrame df.adws].markSet.e
include : CyrlOmegaShape df XH 0.30 0.31
6 changes: 3 additions & 3 deletions packages/font-glyphs/src/letter/cyrillic/small-yus.ptl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ glyph-block Letter-Cyrillic-SmallYus : begin
glyph-block-import Letter-Cyrillic-Iotified-A : Iotified

define [CyrSmallYusShape df top straightBar _fine] : glyph-proc
local fine : fallback _fine : AdviceStroke 3.3 df.advs
local fine : fallback _fine : AdviceStroke 3.3 df.adws
include : LambdaShape
df -- df
fBarStraight -- straightBar
Expand All @@ -33,7 +33,7 @@ glyph-block Letter-Cyrillic-SmallYus : begin
include : tagged 'serifMB' sf.mb.full

define [CyrClosedSmallYusShape df top straightBar _fine] : glyph-proc
local fine : fallback _fine : AdviceStroke 2.75 df.advs
local fine : fallback _fine : AdviceStroke 2.75 df.adws
include : DeltaShape
df -- df
top -- top
Expand Down Expand Up @@ -86,7 +86,7 @@ glyph-block Letter-Cyrillic-SmallYus : begin
include : CyrClosedSmallYusShape dfSub top straightBar df.mvs
include : CyrSmallYusShape dfSub top straightBar df.mvs
eject-contour 'serifRB'
include : Translate (Width * (df.advs - divSub)) 0
include : Translate (Width * (df.adws - divSub)) 0

include : Iotified.A df top
hBarRight -- [mix df.leftSB df.rightSB (2 / 3)]
Expand Down
6 changes: 3 additions & 3 deletions packages/font-glyphs/src/letter/cyrillic/te-midhook.ptl
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@ glyph-block Letter-Cyrillic-Te-MidHook : begin
MaskLeft : mix (left + [HSwToV sw]) (df.rightSB - [HSwToV sw]) 0.625
HSerif.mb (left + [HSwToV : 0.5 * sw]) 0 Jut

foreach { suffix { advs doST doSB } } [Object.entries TConfig] : do
foreach { suffix { adws doST doSB } } [Object.entries TConfig] : do
create-glyph "cyrl/TeMidHook.\(suffix)" : glyph-proc
local df : include : DivFrame advs
local df : include : DivFrame adws
include : df.markSet.capDesc
include : Shape df CAP 1 doST doSB

create-glyph "cyrl/teMidHook.upright.\(suffix)" : glyph-proc
local df : include : DivFrame advs
local df : include : DivFrame adws
include : df.markSet.p
include : Shape df XH (HBarPos ** 0.3) doST doSB

Expand Down
2 changes: 1 addition & 1 deletion packages/font-glyphs/src/letter/cyrillic/tje.ptl
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ glyph-block Letter-Cyrillic-Tje : begin
eject-contour 'serifYeriLT'
eject-contour 'serifYeriLB'

foreach { suffix { advs doST doSB } } [Object.entries TConfig] : do
foreach { suffix { adws doST doSB } } [Object.entries TConfig] : do
create-glyph "cyrl/Tje/leftHalf.\(suffix)" : glyph-proc
local df : include : DivFrame para.advanceScaleT 3
include : df.markSet.capital
Expand Down
2 changes: 1 addition & 1 deletion packages/font-glyphs/src/letter/cyrillic/tse.ptl
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ glyph-block Letter-Cyrillic-Tse : begin

define [CyrTeTseShape df top teSerifs] : glyph-proc
local sw : AdviceStroke 2.75
local left : [mix df.leftSB df.rightSB : if (df.advs > 1) 0.25 0.2] - [HSwToV : 0.25 * sw] + OX
local left : [mix df.leftSB df.rightSB : if (df.adws > 1) 0.25 0.2] - [HSwToV : 0.25 * sw] + OX
local right : df.rightSB - OX

local xTopBarLeft : df.leftSB - SideJut
Expand Down
2 changes: 1 addition & 1 deletion packages/font-glyphs/src/letter/cyrillic/tshe.ptl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ glyph-block Letter-Cyrillic-Tshe : begin
include : df.markSet.capital

local sw : AdviceStroke 2.75
local left : [mix df.leftSB df.rightSB : if (df.advs <= 1) 0.2 : if SLAB 0.3 0.25] + OX
local left : [mix df.leftSB df.rightSB : if (df.adws <= 1) 0.2 : if SLAB 0.3 0.25] + OX
local right : df.rightSB - OX

local xTopBarLeft : SB - SideJut
Expand Down
2 changes: 1 addition & 1 deletion packages/font-glyphs/src/letter/cyrillic/yat.ptl
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ glyph-block Letter-Cyrillic-Yat : begin
define divSub : (df.width - gap - sw) / Width
define dfSub : DivFrame divSub 2

local shift : Width * (df.advs - divSub)
local shift : Width * (df.adws - divSub)
include : with-transform [ApparentTranslate shift 0]
YatShape dfSub Yeri top
pBar -- pBar
Expand Down
Loading
Loading