Remove earless-rounded variants of hooktop letters (#2090)

This commit is contained in:
John McWilliams 2023-11-14 15:06:28 -05:00 committed by GitHub
parent fadc3603b3
commit 9f860ee92e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 18 additions and 29 deletions

View file

@ -18,3 +18,5 @@
* Add Characters: * Add Characters:
- CYRILLIC CAPITAL LETTER LHA (`U+0514`) ... CYRILLIC SMALL LETTER YAE (`U+0519`) (#2018). - CYRILLIC CAPITAL LETTER LHA (`U+0514`) ... CYRILLIC SMALL LETTER YAE (`U+0519`) (#2018).
* Add hook-inward-serifed variants for `a` (#2085). * Add hook-inward-serifed variants for `a` (#2085).
* Remove earless-rounded variants for `U+01A5`, `U+0256`, `U+02A0`, and `U+1D91`.
* Remove earless-corner variants for `U+027E`.

View file

@ -290,13 +290,6 @@ glyph-block Letter-Latin-C : begin
include : VBar.r RightSB Descender [ArcStartSerifDepth Hook] [ArcStartSerifWidth Stroke] include : VBar.r RightSB Descender [ArcStartSerifDepth Hook] [ArcStartSerifWidth Stroke]
if styBot : let [sf : SerifFrame.fromDf [DivFrame 1] CAP Descender] : include sf.rb.full if styBot : let [sf : SerifFrame.fromDf [DivFrame 1] CAP Descender] : include sf.rb.full
create-glyph "currency/somSign.\(suffix)" : glyph-proc
include : MarkSet.capital
local height : mix XH CAP (2 / 3)
local lf : CLetterForm [DivFrame 1] sty styBot height (height - XH)
include : lf.full
include : HBar.b SB RightSB 0 markStroke
select-variant 'C' 'C' select-variant 'C' 'C'
link-reduced-variant 'C/sansSerif' 'C' MathSansSerif link-reduced-variant 'C/sansSerif' 'C' MathSansSerif
select-variant 'revC' 0x2183 (follow -- 'C') select-variant 'revC' 0x2183 (follow -- 'C')
@ -346,8 +339,6 @@ glyph-block Letter-Latin-C : begin
CShapeT spiro-outline 0.1 [DivFrame 1] SLAB-NONE SLAB-NONE XH 0 SmallArchDepthA SmallArchDepthB Hook BBS CShapeT spiro-outline 0.1 [DivFrame 1] SLAB-NONE SLAB-NONE XH 0 SmallArchDepthA SmallArchDepthB Hook BBS
VBar.l (SB + BBD + OX) 0 CAP BBS VBar.l (SB + BBD + OX) 0 CAP BBS
select-variant 'currency/somSign' 0x20C0 (follow -- 'c')
create-glyph 'currency/euroSign/overlay' : union create-glyph 'currency/euroSign/overlay' : union
LetterBarOverlay.l SB (CAP * 0.4) LetterBarOverlay.l SB (CAP * 0.4)
LetterBarOverlay.l SB (CAP * 0.6) LetterBarOverlay.l SB (CAP * 0.6)

View file

@ -48,7 +48,7 @@ glyph-block Letter-Latin-Lower-B : begin
set-base-anchor 'overlayOnExtension' (SB + [HSwToV : 0.5 * Stroke]) yOverlay set-base-anchor 'overlayOnExtension' (SB + [HSwToV : 0.5 * Stroke]) yOverlay
set-base-anchor 'overlay' Middle (XH / 2) set-base-anchor 'overlay' Middle (XH / 2)
create-glyph "bBar.\(suffix)" : glyph-proc create-glyph "bStroke.\(suffix)" : glyph-proc
include [refer-glyph "b.\(suffix)"] AS_BASE ALSO_METRICS include [refer-glyph "b.\(suffix)"] AS_BASE ALSO_METRICS
include : LetterBarOverlay.l.in SB XH (Ascender - [if doTS Stroke 0]) include : LetterBarOverlay.l.in SB XH (Ascender - [if doTS Stroke 0])
@ -72,7 +72,7 @@ glyph-block Letter-Latin-Lower-B : begin
eject-contour 'serifLT' eject-contour 'serifLT'
select-variant 'b' 'b' select-variant 'b' 'b'
select-variant 'bBar' 0x180 (follow -- 'b') select-variant 'bStroke' 0x180 (follow -- 'b')
select-variant 'bSlash' 0x2422 (follow -- 'b') select-variant 'bSlash' 0x2422 (follow -- 'b')
select-variant 'latn/be' 0x183 (follow -- 'b') select-variant 'latn/be' 0x183 (follow -- 'b')

View file

@ -54,10 +54,6 @@ glyph-block Letter-Latin-Lower-D : begin
ada -- [df.archDepthA SmallArchDepth df.mvs] ada -- [df.archDepthA SmallArchDepth df.mvs]
adb -- [df.archDepthB SmallArchDepth df.mvs] adb -- [df.archDepthB SmallArchDepth df.mvs]
define [ToothlessRoundedHBBBody df yTop] : union
ToothlessRoundedBody df yTop
tagged 'rightBar' : VBar.r df.rightSB 0 yTop
define [TailedBody df yTop] : union define [TailedBody df yTop] : union
OBarRight.shape OBarRight.shape
left -- df.leftSB left -- df.leftSB
@ -79,7 +75,6 @@ glyph-block Letter-Latin-Lower-D : begin
toothlessCorner ToothlessCornerBody toothlessCorner ToothlessCornerBody
toothlessCornerHBB ToothlessCornerHBBBody toothlessCornerHBB ToothlessCornerHBBBody
toothlessRounded ToothlessRoundedBody toothlessRounded ToothlessRoundedBody
toothlessRoundedHBB ToothlessRoundedHBBBody
tailed TailedBody tailed TailedBody
function [body] : object # serifs function [body] : object # serifs
@ -102,7 +97,7 @@ glyph-block Letter-Latin-Lower-D : begin
include : LeaningAnchor.Above.VBar.r df.rightSB include : LeaningAnchor.Above.VBar.r df.rightSB
set-base-anchor 'overlayOnExtension' (df.rightSB - [HSwToV : 0.5 * Stroke]) yOverlay set-base-anchor 'overlayOnExtension' (df.rightSB - [HSwToV : 0.5 * Stroke]) yOverlay
create-glyph "dcroat.\(suffix)" : glyph-proc create-glyph "dStroke.\(suffix)" : glyph-proc
local df : DivFrame 1 local df : DivFrame 1
include [refer-glyph "d.\(suffix)"] AS_BASE ALSO_METRICS include [refer-glyph "d.\(suffix)"] AS_BASE ALSO_METRICS
include : LetterBarOverlay.r.in df.rightSB XH (Ascender - [if topSerif Stroke 0]) include : LetterBarOverlay.r.in df.rightSB XH (Ascender - [if topSerif Stroke 0])
@ -145,7 +140,7 @@ glyph-block Letter-Latin-Lower-D : begin
select-variant 'd' 'd' select-variant 'd' 'd'
select-variant 'dCaronBase' (follow -- 'd') select-variant 'dCaronBase' (follow -- 'd')
select-variant 'dcroat' 0x111 (follow -- 'd') select-variant 'dStroke' 0x111 (follow -- 'd')
select-variant 'latn/de' 0x18C (follow -- 'd') select-variant 'latn/de' 0x18C (follow -- 'd')
alias 'cyrl/deKomi' 0x501 'd' alias 'cyrl/deKomi' 0x501 'd'
link-reduced-variant 'd/sansSerif' 'd' MathSansSerif link-reduced-variant 'd/sansSerif' 'd' MathSansSerif

View file

@ -164,7 +164,6 @@ glyph-block Letter-Latin-Lower-G : begin
earlessCorner { SingleStorey.EarlessCornerBody DToothlessRise } earlessCorner { SingleStorey.EarlessCornerBody DToothlessRise }
earlessCornerHTB { SingleStorey.EarlessCornerBody 0 } earlessCornerHTB { SingleStorey.EarlessCornerBody 0 }
earlessRounded { SingleStorey.EarlessRoundedBody (XH - SmallArchDepthA) } earlessRounded { SingleStorey.EarlessRoundedBody (XH - SmallArchDepthA) }
earlessRoundedHTB { SingleStorey.EarlessRoundedBody 0 }
scriptCut { SingleStorey.ScriptCutBody (Stroke / 2) } scriptCut { SingleStorey.ScriptCutBody (Stroke / 2) }
foreach { suffix { hookShape {bodyShape hookStart} } } [Object.entries SingleStoreyConfig] : do foreach { suffix { hookShape {bodyShape hookStart} } } [Object.entries SingleStoreyConfig] : do

View file

@ -106,7 +106,7 @@ glyph-block Letter-Latin-Lower-P : begin
CreateAccentedComposition 'pTildeOver' 0x1D71 'p' 'tildeOverOnExension' CreateAccentedComposition 'pTildeOver' 0x1D71 'p' 'tildeOverOnExension'
derive-glyphs 'cyrl/rrTick' 0x48F 'cyrl/er' : lambda [src gr] : glyph-proc derive-glyphs 'cyrl/erTick' 0x48F 'cyrl/er' : lambda [src gr] : glyph-proc
include [refer-glyph src] AS_BASE ALSO_METRICS include [refer-glyph src] AS_BASE ALSO_METRICS
include : dispiro include : dispiro
widths.center [AdviceStroke 4] widths.center [AdviceStroke 4]

View file

@ -233,7 +233,7 @@ glyph-block Letter-Latin-Upper-B : begin
include : ItalicCyrveShape XH include : ItalicCyrveShape XH
create-glyph 'grek/betaSymbol' 0x3D0 : glyph-proc create-glyph 'grek/betaSymbol' 0x3D0 : glyph-proc
include : MarkSet.e include : MarkSet.b
include : ItalicCyrveShape Ascender include : ItalicCyrveShape Ascender
alias 'cyrl/ve.BGR' null 'grek/betaSymbol' alias 'cyrl/ve.BGR' null 'grek/betaSymbol'

View file

@ -99,7 +99,7 @@ glyph-block Letter-Latin-Upper-D : begin
include [refer-glyph src] AS_BASE ALSO_METRICS include [refer-glyph src] AS_BASE ALSO_METRICS
include : LetterBarOverlay.l.in SB Stroke (CAP - Stroke) include : LetterBarOverlay.l.in SB Stroke (CAP - Stroke)
space -- { 0 (RightSB - [HSwToV Stroke]) } space -- { 0 (RightSB - [HSwToV Stroke]) }
alias 'Dcroat' 0x110 'Eth' alias 'DStroke' 0x110 'Eth'
alias 'arficanD' 0x189 'Eth' alias 'arficanD' 0x189 'Eth'
select-variant 'Dhookleft' 0x18A select-variant 'Dhookleft' 0x18A

View file

@ -72,7 +72,7 @@ glyph-block Symbol-Currency-Letter-Derived : begin
derive-composites 'currency/wonSign' 0x20A9 'W' 'currency/overlay/W' derive-composites 'currency/wonSign' 0x20A9 'W' 'currency/overlay/W'
derive-composites 'currency/dongSign' 0x20AB 'dcroat' 'sbRsbUnderlineBelow' derive-composites 'currency/dongSign' 0x20AB 'dStroke' 'sbRsbUnderlineBelow'
derive-composites 'currency/kipSign' 0x20AD 'K' 'hStrike' derive-composites 'currency/kipSign' 0x20AD 'K' 'hStrike'
create-glyph 'currency/tugrikOverride' : glyph-proc create-glyph 'currency/tugrikOverride' : glyph-proc
@ -90,6 +90,8 @@ glyph-block Symbol-Currency-Letter-Derived : begin
derive-composites 'currency/guaraniSign' 0x20B2 'G' 'longVStrokeOver' derive-composites 'currency/guaraniSign' 0x20B2 'G' 'longVStrokeOver'
derive-composites 'currency/cediSign' 0x20B5 'C' 'longVStrokeOver' derive-composites 'currency/cediSign' 0x20B5 'C' 'longVStrokeOver'
derive-composites 'currency/somSign' 0x20C0 'cyrl/es' 'sbRsbUnderlineBelow'
glyph-block Symbol-Letter : begin glyph-block Symbol-Letter : begin
glyph-block-import CommonShapes glyph-block-import CommonShapes
glyph-block-import Common-Derivatives glyph-block-import Common-Derivatives

View file

@ -1832,10 +1832,10 @@ selectorAffix.d = "toothlessRounded"
selectorAffix."d/sansSerif" = "toothlessRounded" selectorAffix."d/sansSerif" = "toothlessRounded"
selectorAffix."d/phoneticLeft" = "toothed" selectorAffix."d/phoneticLeft" = "toothed"
selectorAffix."d/descBase" = "toothed" selectorAffix."d/descBase" = "toothed"
selectorAffix."d/hookBottomBase" = "toothlessRoundedHBB" selectorAffix."d/hookBottomBase" = "toothed"
selectorAffix.dCurlyTail = "toothed" selectorAffix.dCurlyTail = "toothed"
selectorAffix.dHookTop = "toothlessRounded" selectorAffix.dHookTop = "toothlessRounded"
selectorAffix."dHookTop/hookBottomBase" = "toothlessRoundedHBB" selectorAffix."dHookTop/hookBottomBase" = "toothed"
selectorAffix."cyrl/djeKomi" = "toothlessRounded" selectorAffix."cyrl/djeKomi" = "toothlessRounded"
[prime.d.variants-buildup.stages.body.tailed] [prime.d.variants-buildup.stages.body.tailed]
@ -2166,7 +2166,7 @@ descriptionAffix = "earless (cornered top-right)"
selectorAffix.g = "earlessCorner" selectorAffix.g = "earlessCorner"
selectorAffix."g/sansSerif" = "earlessCorner" selectorAffix."g/sansSerif" = "earlessCorner"
selectorAffix."gScript" = "scriptCut" selectorAffix."gScript" = "scriptCut"
selectorAffix."gScript/hookTopBase" = "serifless" selectorAffix."gScript/hookTopBase" = "earlessCornerHTB"
selectorAffix."gScriptCrossedTail" = "scriptCut" selectorAffix."gScriptCrossedTail" = "scriptCut"
selectorAffix."g/single" = "earlessCorner" selectorAffix."g/single" = "earlessCorner"
@ -3169,7 +3169,7 @@ rank = 3
descriptionAffix = "earless (rounded) shape" descriptionAffix = "earless (rounded) shape"
selectorAffix.p = "earlessRounded" selectorAffix.p = "earlessRounded"
selectorAffix."p/sansSerif" = "earlessRounded" selectorAffix."p/sansSerif" = "earlessRounded"
selectorAffix."p/hookTopBase" = "earlessRounded" selectorAffix."p/hookTopBase" = "eared"
[prime.p.variants-buildup.stages.serifs.serifless] [prime.p.variants-buildup.stages.serifs.serifless]
rank = 1 rank = 1
@ -3239,7 +3239,7 @@ rank = 3
descriptionAffix = "earless (rounded) shape" descriptionAffix = "earless (rounded) shape"
selectorAffix.q = "earlessRounded" selectorAffix.q = "earlessRounded"
selectorAffix."q/sansSerif" = "earlessRounded" selectorAffix."q/sansSerif" = "earlessRounded"
selectorAffix."q/hookTopBase" = "earlessRounded" selectorAffix."q/hookTopBase" = ""
selectorAffix.qRTail = "earlessRounded" selectorAffix.qRTail = "earlessRounded"
[prime.q.variants-buildup.stages.terminal."*"] [prime.q.variants-buildup.stages.terminal."*"]
@ -3339,7 +3339,7 @@ selectorAffix.r = "earlessCorner"
selectorAffix."r/sansSerif" = "earlessCorner" selectorAffix."r/sansSerif" = "earlessCorner"
selectorAffix.rRTail = "earlessCorner" selectorAffix.rRTail = "earlessCorner"
selectorAffix."rTurnRTail" = "" selectorAffix."rTurnRTail" = ""
selectorAffix."rFlap" = "earlessCorner" selectorAffix."rFlap" = "earlessRounded"
selectorAffix."iFishHook" = "" selectorAffix."iFishHook" = ""
[prime.r.variants-buildup.stages.body.earless-rounded] [prime.r.variants-buildup.stages.body.earless-rounded]