summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWerner Lemberg <wl@gnu.org>2018-06-07 06:49:44 +0200
committerWerner Lemberg <wl@gnu.org>2018-06-07 06:49:44 +0200
commit44580515d8e1bbb9077274137221603ca746ee54 (patch)
tree1a0382d5de07477c82a33192a9bfd1ae99386b7d
parentf87ced9dc98c8f9178e2668b998e7a41d11406f8 (diff)
downloadfreetype2-44580515d8e1bbb9077274137221603ca746ee54.tar.gz
Minor.
-rw-r--r--include/freetype/ftcolor.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/freetype/ftcolor.h b/include/freetype/ftcolor.h
index 3abe40290..559069daa 100644
--- a/include/freetype/ftcolor.h
+++ b/include/freetype/ftcolor.h
@@ -286,7 +286,11 @@ FT_BEGIN_HEADER
*
* @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'.