freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[freetype2] master 4458051: Minor.


From: Werner LEMBERG
Subject: [freetype2] master 4458051: Minor.
Date: Thu, 7 Jun 2018 00:49:56 -0400 (EDT)

branch: master
commit 44580515d8e1bbb9077274137221603ca746ee54
Author: Werner Lemberg <address@hidden>
Commit: Werner Lemberg <address@hidden>

    Minor.
---
 include/freetype/ftcolor.h | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/include/freetype/ftcolor.h b/include/freetype/ftcolor.h
index 3abe402..559069d 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'.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]