<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">Avoids the errors:

:info:build src/ft2font.cpp:207:29: error: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not
:info:build   207 |         tags = outline.tags + first;
:info:build       |                ~~~~~~~~~~~~~^~~~~~~
:info:build src/ft2font.cpp:323:29: error: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not
:info:build   323 |         tags = outline.tags + first;
:info:build       |                ~~~~~~~~~~~~~^~~~~~~
:info:build 2 errors generated.

--- src/ft2font.cpp.orig	2024-10-28 22:40:16
+++ src/ft2font.cpp	2024-10-28 22:40:28
@@ -204,7 +204,7 @@
         v_control = v_start;

         point = outline.points + first;
-        tags = outline.tags + first;
+        tags  = (char*)(outline.tags)  + first;
         tag = FT_CURVE_TAG(tags[0]);

         // A contour cannot start with a cubic control point!
@@ -320,7 +320,7 @@
         v_control = v_start;

         point = outline.points + first;
-        tags = outline.tags + first;
+        tags  = (char*)(outline.tags)  + first;
         tag = FT_CURVE_TAG(tags[0]);

         double x, y;
</pre></body></html>