Skip to content

Commit

Permalink
Fix build break (stack overflow) for no-cv-ss building (#2500)
Browse files Browse the repository at this point in the history
  • Loading branch information
be5invis authored Sep 13, 2024
1 parent 9d17e38 commit 6de1457
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr-build-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:

strategy:
matrix:
fontName: ["Iosevka", "IosevkaSlab", "IosevkaAile", "IosevkaEtoile"]
fontName: ["Iosevka", "IosevkaSlab", "IosevkaAile", "IosevkaEtoile", "IosevkaNoVarTest"]

steps:
# Checkout repository into `iosevka` sub directory
Expand Down
7 changes: 7 additions & 0 deletions build-plans.toml
Original file line number Diff line number Diff line change
Expand Up @@ -875,6 +875,13 @@ shape = 700
menu = 700
css = 700

[buildPlans.IosevkaNoVarTest]
family = "IosevkaNoVarTest"
spacing = "normal"
serifs = "sans"
noCvSs = true
exportGlyphNames = false

###################################################################################################
# Collect plans

Expand Down
2 changes: 1 addition & 1 deletion packages/glyph/src/glyph.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export class Glyph {

tryBecomeMirrorOf(dst, rankSet) {
if (rankSet.has(this) || rankSet.has(dst)) return;
if (dst.hasDependency(this)) return;
if (this === dst || dst.hasDependency(this)) return;
const csThis = Geom.hashGeometry(this.geometry);
const csDst = Geom.hashGeometry(dst.geometry);
if (csThis && csDst && csThis === csDst) {
Expand Down

0 comments on commit 6de1457

Please sign in to comment.