Fix shape artifacts of Ka, Zhe with descender (#1518, #1521).

This commit is contained in:
be5invis 2023-01-10 19:41:42 -08:00
parent 8f86b934a8
commit 3178076c3d
16 changed files with 136 additions and 118 deletions

View file

@ -142,8 +142,7 @@ class QuadifySink {
beginShape() {}
endShape() {
if (this.lastContour.length > 2) {
// TT use CW for outline, being different from Clipper
let c = this.lastContour.reverse();
let c = this.lastContour;
c = this.alignHVKnots(c);
c = this.cleanupOccurrentKnots1(c);
c = this.cleanupOccurrentKnots2(c);