Fix typo (#54238). * src/base/ftcolor.c (FT_Palette_Set_Foreground_Color) [!TT_CONFIG_OPTION_COLOR_LAYERS]: Add return value.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
diff --git a/ChangeLog b/ChangeLog
index f193f6f..772ea85 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,12 +1,19 @@
2018-07-05 Werner Lemberg <wl@gnu.org>
+ 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 <wl@gnu.org>
+
Adjust table size comparisons (#54242).
* src/sfnt/ttcpal.c (tt_face_load_cpal): Implement it.
2018-07-05 Werner Lemberg <wl@gnu.org>
- Fix more 32bit issues (#54208)
+ Fix more 32bit issues (#54208).
* src/cff/cffload.c (cff_blend_build_vector): Convert assertion into
run-time error.
diff --git a/src/base/ftcolor.c b/src/base/ftcolor.c
index 1c8b309..101e53e 100644
--- 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 */