Fix build break (stack overflow) for no-cv-ss building (#2500)
This commit is contained in:
parent
9d17e38ed9
commit
6de14570d6
3 changed files with 9 additions and 2 deletions
2
.github/workflows/pr-build-validation.yml
vendored
2
.github/workflows/pr-build-validation.yml
vendored
|
@ -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
|
||||
|
|
|
@ -875,6 +875,13 @@ shape = 700
|
|||
menu = 700
|
||||
css = 700
|
||||
|
||||
[buildPlans.IosevkaNoVarTest]
|
||||
family = "IosevkaNoVarTest"
|
||||
spacing = "normal"
|
||||
serifs = "sans"
|
||||
noCvSs = true
|
||||
exportGlyphNames = false
|
||||
|
||||
###################################################################################################
|
||||
# Collect plans
|
||||
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue