Refine names of dot variants (#927)
This commit is contained in:
parent
90bcf7fff8
commit
205cb5958a
11 changed files with 45 additions and 40 deletions
|
@ -79,6 +79,7 @@ class Prime {
|
|||
this.tag = cfg.tag;
|
||||
this.slopeDependent = !!cfg.slopeDependent;
|
||||
this.variants = new Map();
|
||||
this.hotChars = cfg.hotChars ? [...cfg.hotChars] : this.descSampleText;
|
||||
for (const varKey in cfg.variants) {
|
||||
const variant = cfg.variants[varKey];
|
||||
this.variants.set(varKey, new PrimeVariant(varKey, cfg.tag, variant));
|
||||
|
@ -100,6 +101,7 @@ class Prime {
|
|||
slopeDependent: this.slopeDependent,
|
||||
ligatureSampler: this.ligatureSampler,
|
||||
descSampleText: this.descSampleText,
|
||||
hotChars: this.hotChars,
|
||||
variants: []
|
||||
};
|
||||
for (const variant of this.variants.values()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue