Alexei Podtelezhnikov pushed to branch master at FreeType / FreeType
Commits:
-
74ea5454
by Alex Ringlein at 2023-02-16T22:38:35-05:00
1 changed file:
Changes:
... | ... | @@ -556,6 +556,10 @@ |
556 | 556 | {
|
557 | 557 | last = outline->contours[n];
|
558 | 558 | |
559 | + /* keep the first contour point as is and swap points around it */
|
|
560 | + /* to guarantee that the cubic arches stay valid after reverse */
|
|
561 | + first++;
|
|
562 | + |
|
559 | 563 | /* reverse point table */
|
560 | 564 | {
|
561 | 565 | FT_Vector* p = outline->points + first;
|