Skip to content

Commit

Permalink
Compare against the correct default glyph (sripped of location details)
Browse files Browse the repository at this point in the history
  • Loading branch information
justvanrossum committed Sep 16, 2023
1 parent 04fda29 commit a26fa2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fontra/client/core/glyph-controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ export class VariableGlyphController {
}
const defaultSourceIndex = this.model?.reverseMapping[0] || 0;
const defaultSourceGlyph =
this.layers[this.sources[defaultSourceIndex].layerName].glyph;
layerGlyphs[this.sources[defaultSourceIndex].layerName];
this._sourceInterpolationStatus = this.sources.map((source) => {
const sourceGlyph = layerGlyphs[source.layerName];
if (sourceGlyph !== defaultSourceGlyph) {
Expand Down

0 comments on commit a26fa2d

Please sign in to comment.