Fix internal seams of variants of outlined letters U+1CCE6 and U+1CCEF (#2509). (#2512)

Closes #2509
This commit is contained in:
Belleve 2024-09-21 14:25:18 -10:00 committed by GitHub
parent 902068448a
commit ad42410219
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 44 additions and 44 deletions

View file

@ -771,6 +771,18 @@ export class SimplifyGeometry extends CachedGeometry {
h.embed(this.m_geom);
h.endStruct();
}
static wrapWithGizmo(g, gizmo) {
const needsTransform = !Transform.isTranslate(gizmo);
if (needsTransform) {
return new TransformedGeometry(
gizmo,
new SimplifyGeometry(new TransformedGeometry(gizmo.inverse(), g)),
);
} else {
return new SimplifyGeometry(g);
}
}
}
// Utility functions