More glyph ID saves

This commit is contained in:
be5invis 2023-07-11 01:03:46 -07:00
parent 96c3389f4d
commit 2f35f6f04f
2 changed files with 10 additions and 10 deletions

View file

@ -339,14 +339,18 @@ export function createGrDisplaySheet(glyphStore, gid) {
} else {
queryCvFeatureTagsOf(charVariantFeatures, gid, glyph, null);
}
sortFeatureDisplaySheet(typographicFeatures);
sortFeatureDisplaySheet(charVariantFeatures);
return [typographicFeatures, charVariantFeatures];
}
function sortFeatureDisplaySheet(sheet) {
return sheet.sort((a, b) => (a.name < b.name ? -1 : a.name > b.name ? 1 : 0));
}
function FeatureSeries(name, groups) {
return {
name,
groups
};
return { name, groups };
}
function displayQueryPairFeatures(gs, gid, name, grCis, grTrans, sink) {