Skip to content

Commit 6de1457

Browse files
authored
Fix build break (stack overflow) for no-cv-ss building (be5invis#2500)
1 parent 9d17e38 commit 6de1457

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

.github/workflows/pr-build-validation.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010

1111
strategy:
1212
matrix:
13-
fontName: ["Iosevka", "IosevkaSlab", "IosevkaAile", "IosevkaEtoile"]
13+
fontName: ["Iosevka", "IosevkaSlab", "IosevkaAile", "IosevkaEtoile", "IosevkaNoVarTest"]
1414

1515
steps:
1616
# Checkout repository into `iosevka` sub directory

build-plans.toml

+7
Original file line numberDiff line numberDiff line change
@@ -875,6 +875,13 @@ shape = 700
875875
menu = 700
876876
css = 700
877877

878+
[buildPlans.IosevkaNoVarTest]
879+
family = "IosevkaNoVarTest"
880+
spacing = "normal"
881+
serifs = "sans"
882+
noCvSs = true
883+
exportGlyphNames = false
884+
878885
###################################################################################################
879886
# Collect plans
880887

packages/glyph/src/glyph.mjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ export class Glyph {
145145

146146
tryBecomeMirrorOf(dst, rankSet) {
147147
if (rankSet.has(this) || rankSet.has(dst)) return;
148-
if (dst.hasDependency(this)) return;
148+
if (this === dst || dst.hasDependency(this)) return;
149149
const csThis = Geom.hashGeometry(this.geometry);
150150
const csDst = Geom.hashGeometry(dst.geometry);
151151
if (csThis && csDst && csThis === csDst) {

0 commit comments

Comments
 (0)