hb-font: Document length limit for glyph names

This is useful information for users of the
hb_font_get_glyph_name() API.
This commit is contained in:
Matthias Clasen 2023-01-24 20:24:27 -05:00 committed by Behdad Esfahbod
parent dd64266ea4
commit c89aebc40b
1 changed files with 3 additions and 0 deletions

View File

@ -1343,6 +1343,9 @@ hb_font_get_glyph_contour_point (hb_font_t *font,
* *
* Fetches the glyph-name string for a glyph ID in the specified @font. * Fetches the glyph-name string for a glyph ID in the specified @font.
* *
* According to the OpenType specification, glyph names are limited to 63
* characters and can only contain (a subset of) ASCII.
*
* Return value: `true` if data found, `false` otherwise * Return value: `true` if data found, `false` otherwise
* *
* Since: 0.9.2 * Since: 0.9.2