shithub: freetype+ttf2subf

Download patch

ref: b18f5e7c62c0aa6f8d17cbb9a8fe687ed402569a
parent: a698dbf868326ea5eead14190a2192d6f018d23c
author: Werner Lemberg <[email protected]>
date: Mon Jun 11 05:02:06 EDT 2018

Minor doc fixes.

git/fs: mount .git/fs: mount/attach disallowed
--- a/include/freetype/ftcolor.h
+++ b/include/freetype/ftcolor.h
@@ -238,10 +238,10 @@
    *     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_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_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 ::