Commit 74ea5454cc2dee5cbd9c42e63cde8cb26f94beb9

Alex Ringlein 2023-02-16T22:38:35

* src/base/ftoutln.c (FT_Outline_Reverse): Anchor first contour points. A cubic contour has to always start from an on-point. Therefore, we should not swap the first with the last point, which might be off, and obtain an invalid contour. This does not matter for conic contours. If anything, it also saves one swap there. Fixes #1207.