Add some more docs

This commit is contained in:
Matthias Clasen 2022-12-17 22:41:34 -05:00 committed by Behdad Esfahbod
parent 2d4678b647
commit 63fcb26c9b
1 changed files with 9 additions and 1 deletions

View File

@ -190,7 +190,15 @@ hb_ot_color_palette_get_colors (hb_face_t *face,
* hb_ot_color_has_layers:
* @face: #hb_face_t to work upon
*
* Tests whether a face includes any `COLR` color layers.
* Tests whether a face includes a `COLR` table.
*
* Note that the `COLR` table may contain layers
* or (for v1) more complicated paint graphs, so
* it is not guaranteed that hb_ot_color_get_layers()
* will return information for each color glyph,
* even if this function returns `true`. See
* hb_font_paint_glyph() for an API that will work
* in either case.
*
* Return value: `true` if data found, `false` otherwise
*