shithub: freetype+ttf2subf

Download patch

ref: b532d7ce708cb5ca9bf88abaa2eb213ddcf9babb
parent: 0767d5362fdc2d14de842b264f24a6cb91d45d55
author: Werner Lemberg <[email protected]>
date: Thu Jul 5 19:13:35 EDT 2018

Fix typo (#54238).

* src/base/ftcolor.c (FT_Palette_Set_Foreground_Color)
[!TT_CONFIG_OPTION_COLOR_LAYERS]: Add return value.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2018-07-05  Werner Lemberg  <[email protected]>
 
+	Fix typo (#54238).
+
+	* src/base/ftcolor.c (FT_Palette_Set_Foreground_Color)
+	[!TT_CONFIG_OPTION_COLOR_LAYERS]: Add return value.
+
+2018-07-05  Werner Lemberg  <[email protected]>
+
 	Adjust table size comparisons (#54242).
 
 	* src/sfnt/ttcpal.c (tt_face_load_cpal): Implement it.
@@ -6,7 +13,7 @@
 
 2018-07-05  Werner Lemberg  <[email protected]>
 
-	Fix more 32bit issues (#54208)
+	Fix more 32bit issues (#54208).
 
 	* src/cff/cffload.c (cff_blend_build_vector): Convert assertion into
 	run-time error.
--- a/src/base/ftcolor.c
+++ b/src/base/ftcolor.c
@@ -146,6 +146,9 @@
   {
     FT_UNUSED( face );
     FT_UNUSED( foreground_color );
+
+
+    return FT_THROW( Unimplemented_Feature );
   }
 
 #endif /* !TT_CONFIG_OPTION_COLOR_LAYERS */