Minor documentation fixes.

This commit is contained in:
Werner Lemberg 2019-02-20 16:04:48 +01:00
parent de8de1ce0e
commit f92fa39341
2 changed files with 12 additions and 6 deletions

View File

@ -238,9 +238,10 @@ FT_BEGIN_HEADER
*
* @output:
* apalette ::
* An array of color entries for a palette with index `palette_index`.
* If `apalette` is set to NULL, no array gets returned (and no color
* entries can be modified).
* An array of color entries for a palette with index `palette_index`,
* having `num_palette_entries` elements (as found in the
* `FT_Palette_Data` structure). 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.
*

View File

@ -677,9 +677,14 @@ FT_BEGIN_HEADER
* Return the horizontal kerning value between two glyphs.
*
* @input:
* face :: A handle to the source face object. left_glyph :: The left
* glyph index.
* right_glyph :: The right glyph index.
* face ::
* A handle to the source face object.
*
* left_glyph ::
* The left glyph index.
*
* right_glyph ::
* The right glyph index.
*
* @return:
* The kerning value in font units.