* Fix serifs of certain letters (#1458):

- LATIN CAPITAL LETTER GAMMA (`U+0194`);
  - LATIN CAPITAL LETTER OU (`U+0222`);
  - LATIN SMALL LETTER OU (`U+0223`);
  - LATIN SMALL LETTER ALPHA (`U+0251`);
  - LATIN SMALL LETTER GAMMA (`U+0263`);
  - LATIN SMALL LETTER RAMS HORN (`U+0264`);
  - LATIN SMALL LETTER TURNED OPEN E (`U+1D08`);
  - LATIN LETTER SMALL CAPITAL OU (`U+1D15`);
  - LATIN LETTER AIN (`U+1D25`);
This commit is contained in:
be5invis 2022-12-09 19:04:09 -08:00
parent 2ca7513f3e
commit 60cccc4ef1
9 changed files with 132 additions and 71 deletions

View file

@ -63,6 +63,8 @@ export class Glyph {
return this.applyTransform(component, copyAnchors);
} else if (component instanceof Glyph) {
return this.includeGlyph(component, copyAnchors, copyWidth);
} else if (component.__isNoShape) {
// Do nothing. By design.
} else {
throw new Error("Invalid component to be introduced.");
}