shithub: freetype+ttf2subf

Download patch

ref: d2367abac0859b09d8defe034dd6ebbc0391a51a
parent: 30a82e1e5db9585ddde91c60a645cfb3356541e0
author: Werner Lemberg <wl@gnu.org>
date: Thu Jul 29 04:16:25 EDT 2021

src/sfnt/ttcolr.c: Minor formatting.

git/fs: mount .git/fs: mount/attach disallowed
--- a/src/sfnt/ttcolr.c
+++ b/src/sfnt/ttcolr.c
@@ -532,7 +532,7 @@
       apaint->u.sweep_gradient.center.y = FT_NEXT_SHORT( p );
 
       apaint->u.sweep_gradient.start_angle = FT_NEXT_SHORT( p ) << 2;
-      apaint->u.sweep_gradient.end_angle = FT_NEXT_SHORT( p ) << 2;
+      apaint->u.sweep_gradient.end_angle   = FT_NEXT_SHORT( p ) << 2;
 
       return 1;
     }
@@ -624,9 +624,9 @@
       return 1;
     }
 
-    else if ( apaint->format == FT_COLR_PAINTFORMAT_ROTATE  ||
+    else if ( apaint->format == FT_COLR_PAINTFORMAT_ROTATE ||
               (FT_PaintFormat_Internal)apaint->format ==
-                FT_COLR_PAINTFORMAT_INTERNAL_ROTATE_CENTER  )
+                FT_COLR_PAINTFORMAT_INTERNAL_ROTATE_CENTER )
     {
       apaint->u.rotate.paint.p                     = child_table_p;
       apaint->u.rotate.paint.insert_root_transform = 0;
@@ -654,9 +654,9 @@
       return 1;
     }
 
-    else if ( apaint->format == FT_COLR_PAINTFORMAT_SKEW  ||
+    else if ( apaint->format == FT_COLR_PAINTFORMAT_SKEW ||
               (FT_PaintFormat_Internal)apaint->format ==
-                FT_COLR_PAINTFORMAT_INTERNAL_SKEW_CENTER  )
+                FT_COLR_PAINTFORMAT_INTERNAL_SKEW_CENTER )
     {
       apaint->u.skew.paint.p                     = child_table_p;
       apaint->u.skew.paint.insert_root_transform = 0;