Produce more meaningful glyph names
This commit is contained in:
parent
7f35523506
commit
dcc2de59f4
3 changed files with 82 additions and 28 deletions
|
@ -78,6 +78,9 @@ function DecompositionProp(key) {
|
|||
if (!Array.isArray(composition)) throw new Error("Must supply a GID array");
|
||||
if (!glyph.related) glyph.related = {};
|
||||
glyph.related[key] = composition;
|
||||
},
|
||||
amendOtName(baseName, index) {
|
||||
return `${baseName}.d${index}`;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue