Skip to content

Commit

Permalink
Fix typo in getFeatureParams (#139)
Browse files Browse the repository at this point in the history
  • Loading branch information
robertjanes authored Jul 4, 2024
1 parent 9fcab1c commit 158e44e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/opentype/tables/advanced/shared/feature.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class FeatureTable extends ParsedData {
p.currentPosition = this.start + this.featureParams;
const tag = this.featureTag;
if (tag === `size`) return new Size(p);
if (tag.startsWith(`cc`)) return new CharacterVariant(p);
if (tag.startsWith(`cv`)) return new CharacterVariant(p);
if (tag.startsWith(`ss`)) return new StylisticSet(p);
}
}
Expand Down

0 comments on commit 158e44e

Please sign in to comment.