summaryrefslogtreecommitdiff
path: root/include/freetype/ftcolor.h
diff options
context:
space:
mode:
authorWerner Lemberg <wl@gnu.org>2018-06-21 00:21:09 +0200
committerWerner Lemberg <wl@gnu.org>2018-06-21 00:21:09 +0200
commit9027233f75647fbd56f0008aa07aef1b5a9a01b4 (patch)
treee692ba6dd32e0d39a029dd2696a0e2d226ebdfeb /include/freetype/ftcolor.h
parenta6b77ba2b39e379cd9295a9376fedf574a6ba15f (diff)
downloadfreetype2-9027233f75647fbd56f0008aa07aef1b5a9a01b4.tar.gz
s/FT_PALETTE_USABLE_WITH_/FT_PALETTE_FOR_/.
* include/freetype/ftcolor.h, include/freetype/internal/sfnt.h, src/sfnt/ttcolr.c: Do it.
Diffstat (limited to 'include/freetype/ftcolor.h')
-rw-r--r--include/freetype/ftcolor.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/include/freetype/ftcolor.h b/include/freetype/ftcolor.h
index 90015e3ec..497c2e778 100644
--- a/include/freetype/ftcolor.h
+++ b/include/freetype/ftcolor.h
@@ -97,19 +97,19 @@ FT_BEGIN_HEADER
* palette with a given index is usable.
*
* @values:
- * FT_PALETTE_USABLE_WITH_LIGHT_BACKGROUND ::
+ * FT_PALETTE_FOR_LIGHT_BACKGROUND ::
* The palette is appropriate to use when displaying the font on a
* light background such as white.
*
- * FT_PALETTE_USABLE_WITH_DARK_BACKGROUND ::
+ * FT_PALETTE_FOR_DARK_BACKGROUND ::
* The palette is appropriate to use when displaying the font on a
* dark background such as black.
*
* @since:
* 2.10
*/
-#define FT_PALETTE_USABLE_WITH_LIGHT_BACKGROUND 0x01
-#define FT_PALETTE_USABLE_WITH_DARK_BACKGROUND 0x02
+#define FT_PALETTE_FOR_LIGHT_BACKGROUND 0x01
+#define FT_PALETTE_FOR_DARK_BACKGROUND 0x02
/**************************************************************************
@@ -137,8 +137,8 @@ FT_BEGIN_HEADER
* palette_types ::
* A read-only array of palette types with `num_palettes' elements.
* Possible values are an ORed combination of
- * @FT_PALETTE_USABLE_WITH_LIGHT_BACKGROUND and
- * @FT_PALETTE_USABLE_WITH_DARK_BACKGROUND.
+ * @FT_PALETTE_FOR_LIGHT_BACKGROUND and
+ * @FT_PALETTE_FOR_DARK_BACKGROUND.
*
* NULL if the font's `CPAL' table doesn't contain appropriate data.
*
@@ -289,7 +289,7 @@ FT_BEGIN_HEADER
* @note:
* If this function isn't called, the text foreground color is set to
* white opaque (BGRA value 0xFFFFFFFF) if
- * @FT_PALETTE_USABLE_WITH_DARK_BACKGROUND is present for the current
+ * @FT_PALETTE_FOR_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.