{{002,004,036,021,021,021,021,000,000}, 0x0144, "nacute" },
{{012,004,021,031,025,023,021,000,000}, 0x0147, "Ncaron" },
{{012,004,036,021,021,021,021,000,000}, 0x0148, "ncaron" },
+ {{020,020,026,005,005,005,005,000,000}, 0x0149, "napostrophe" },
{{021,021,031,025,023,021,021,001,016}, 0x014a, "Eng" },
{{000,000,036,021,021,021,021,001,016}, 0x014b, "eng" },
{{016,000,016,021,021,021,016,000,000}, 0x014c, "Omacron" },
}
static void
-reverse_path(point *a)
+reverse_contour(point *a)
{
point *tmp;
}
}
-/* Join together two points each at the end of a path */
+/* Join together two points each at the end of a contour */
static void
join_ends(point *a, point *b)
{
tmp = a; a = b; b = tmp;
}
if (a->prev == NULL)
- reverse_path(a);
+ reverse_contour(a);
if (b->next == NULL)
- reverse_path(b);
+ reverse_contour(b);
assert(a->next == NULL);
assert(a->prev != NULL);
assert(b->prev == NULL);
clearpath();
for (x = 0; x < XSIZE; x++) {
for (y = 0; y < YSIZE; y++) {
+ bool connected = false;
+
if (GETPIX(x, y)) {
if (R) CONNECT(1, 0);
if (D) CONNECT(0, -1);
if (DR && !D && !R) CONNECT(1, -1);
if (DL && !D && !L) CONNECT(-1, -1);
+ if (!U && !D && !L && !R &&
+ !UL && !UR && !DL && !DR) {
+ /* draw a dot */
+ CONNECT(0, 0);
+ }
}
}
}