freetype-commit
[Top][All Lists]
Advanced

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

[freetype2] master b18f5e7: Minor doc fixes.


From: Werner LEMBERG
Subject: [freetype2] master b18f5e7: Minor doc fixes.
Date: Mon, 11 Jun 2018 03:02:56 -0400 (EDT)

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

    Minor doc fixes.
---
 include/freetype/ftcolor.h | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/include/freetype/ftcolor.h b/include/freetype/ftcolor.h
index 1711877..d76a53f 100644
--- a/include/freetype/ftcolor.h
+++ b/include/freetype/ftcolor.h
@@ -238,10 +238,10 @@ FT_BEGIN_HEADER
    *     The palette index.
    *
    * @output:
-   *   apalette_entries ::
+   *   apalette ::
    *     An array of color entries for a palette with index `palette_index'.
-   *     If `apalette_entries' is set to NULL, no array gets returned (and
-   *     no color entries can be modified).
+   *     If `apalette' is set to NULL, no array gets returned (and no color
+   *     entries can be modified).
    *
    *     In case the font doesn't support color palettes, NULL is returned.
    *
@@ -264,7 +264,7 @@ FT_BEGIN_HEADER
   FT_EXPORT( FT_Error )
   FT_Palette_Select( FT_Face     face,
                      FT_UShort   palette_index,
-                     FT_Color*  *apalette_entries );
+                     FT_Color*  *apalette );
 
 
   /**************************************************************************
@@ -273,8 +273,8 @@ FT_BEGIN_HEADER
    *   FT_Palette_Set_Foreground_Color
    *
    * @description:
-   *   `CPAL' uses color index 0xFFFF to indicate a `text foreground color'.
-   *   This function sets this value.
+   *   `COLR' uses palette index 0xFFFF to indicate a `text foreground
+   *   color'.  This function sets this value.
    *
    * @input:
    *   face ::



reply via email to

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