ref: 44580515d8e1bbb9077274137221603ca746ee54
parent: f87ced9dc98c8f9178e2668b998e7a41d11406f8
author: Werner Lemberg <[email protected]>
date: Thu Jun 7 02:49:44 EDT 2018
Minor.
--- a/include/freetype/ftcolor.h
+++ b/include/freetype/ftcolor.h
@@ -286,7 +286,11 @@
*
* @note:
* If this function isn't called, the text foreground color is set to
- * black (BGRA value 0xFFFFFFFF).
+ * white opaque (BGRA value 0xFFFFFFFF) if
+ * @FT_PALETTE_USABLE_WITH_DARK_BACKGROUND is present for the current
+ * palette, and black opaque (BGRA value 0x000000FF) otherwise,
+ * including the case that no palette types are available in the `CPAL'
+ * table.
*
* This function always returns an error if the config macro
* `TT_CONFIG_OPTION_COLOR_LAYERS' is not defined in `ftoption.h'.