shithub: freetype+ttf2subf

Download patch

ref: a81cf5aade126184e52ac6a2a9fd36b718b9038c
parent: 7482c98f1533d1b685113a060f4588f703a81b79
author: Alexei Podtelezhnikov <apodtele@gmail.com>
date: Thu Sep 2 18:10:57 EDT 2021

Cosmetic zeros.

git/fs: mount .git/fs: mount/attach disallowed
--- a/src/autofit/afglobal.c
+++ b/src/autofit/afglobal.c
@@ -477,7 +477,7 @@
             /* IMPORTANT: Clear the error code, see
              * https://gitlab.freedesktop.org/freetype/freetype/-/issues/1063
              */
-            error = 0;
+            error = FT_Err_Ok;
             goto Again;
           }
 
--- a/src/autofit/aflatin.c
+++ b/src/autofit/aflatin.c
@@ -2109,7 +2109,7 @@
       {
         if ( seg2->link != seg1 )
         {
-          seg1->link  = 0;
+          seg1->link  = NULL;
           seg1->serif = seg2->link;
         }
       }
--- a/src/bdf/bdflib.c
+++ b/src/bdf/bdflib.c
@@ -1924,7 +1924,7 @@
       p->font = font;
 
       font->memory = p->memory;
-      p->memory    = 0;
+      p->memory    = NULL;
 
       { /* setup */
         size_t           i;