Break down currency/centSign to two parts using CvDecompose

This commit is contained in:
be5invis 2021-01-31 18:14:32 -08:00
parent 628ea11571
commit f916bb227a
3 changed files with 41 additions and 11 deletions

View file

@ -122,6 +122,9 @@ module.exports = class Glyph {
includeGlyphImpl(g, shiftX, shiftY) {
if (g._m_identifier) {
this.includeGlyphComponentImpl(g, shiftX, shiftY);
} else if (!g._m_identifier && g.isPureComposite()) {
for (const sr of g.semanticInclusions)
this.includeGlyphComponentImpl(sr.glyph, sr.x + shiftX, sr.y + shiftY);
} else {
this.includeGeometry(g, shiftX, shiftY);
}