From d64df7e24f099c15fe8c00b3b7d7e9f14c8bd055 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Danny=E8=AE=B8?= Date: Wed, 26 Jun 2024 09:23:19 +0800 Subject: [PATCH] Update ttf2mesh.c --- ttf2mesh.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ttf2mesh.c b/ttf2mesh.c index 9269ab3..3e05a2c 100644 --- a/ttf2mesh.c +++ b/ttf2mesh.c @@ -3393,6 +3393,7 @@ static int find_triangles_track(mesher_t *m, mvs_t *v1, mvs_t *v2, mes_t *root) mts_t *t = v2l->edge->tr[i]; if (t == NULL) continue; mes_t *e = OPPOSITE_EDGE(t, v1); + if (IS_CONTOUR_EDGE(e)) continue; if (!lines_has_common_point(&v1->x, &v2->x, &e->v1->x, &e->v2->x)) continue; tcurr = t; ecurr = e;