Small docs improvement
Mention that the returned strings are always nul terminated for convenience.
This commit is contained in:
parent
04cf6212d7
commit
5fadf4c85e
|
@ -156,7 +156,8 @@ hb_ot_name_get_utf (hb_face_t *face,
|
||||||
*
|
*
|
||||||
* Fetches a font name from the OpenType 'name' table.
|
* Fetches a font name from the OpenType 'name' table.
|
||||||
* If @language is #HB_LANGUAGE_INVALID, English ("en") is assumed.
|
* If @language is #HB_LANGUAGE_INVALID, English ("en") is assumed.
|
||||||
* Returns string in UTF-8 encoding.
|
* Returns string in UTF-8 encoding. A NUL terminator is always written
|
||||||
|
* for convenience, and isn't included in the output @text_size.
|
||||||
*
|
*
|
||||||
* Returns: full length of the requested string, or 0 if not found.
|
* Returns: full length of the requested string, or 0 if not found.
|
||||||
* Since: 2.1.0
|
* Since: 2.1.0
|
||||||
|
@ -183,7 +184,8 @@ hb_ot_name_get_utf8 (hb_face_t *face,
|
||||||
*
|
*
|
||||||
* Fetches a font name from the OpenType 'name' table.
|
* Fetches a font name from the OpenType 'name' table.
|
||||||
* If @language is #HB_LANGUAGE_INVALID, English ("en") is assumed.
|
* If @language is #HB_LANGUAGE_INVALID, English ("en") is assumed.
|
||||||
* Returns string in UTF-16 encoding.
|
* Returns string in UTF-16 encoding. A NUL terminator is always written
|
||||||
|
* for convenience, and isn't included in the output @text_size.
|
||||||
*
|
*
|
||||||
* Returns: full length of the requested string, or 0 if not found.
|
* Returns: full length of the requested string, or 0 if not found.
|
||||||
* Since: 2.1.0
|
* Since: 2.1.0
|
||||||
|
@ -209,7 +211,8 @@ hb_ot_name_get_utf16 (hb_face_t *face,
|
||||||
*
|
*
|
||||||
* Fetches a font name from the OpenType 'name' table.
|
* Fetches a font name from the OpenType 'name' table.
|
||||||
* If @language is #HB_LANGUAGE_INVALID, English ("en") is assumed.
|
* If @language is #HB_LANGUAGE_INVALID, English ("en") is assumed.
|
||||||
* Returns string in UTF-32 encoding.
|
* Returns string in UTF-32 encoding. A NUL terminator is always written
|
||||||
|
* for convenience, and isn't included in the output @text_size.
|
||||||
*
|
*
|
||||||
* Returns: full length of the requested string, or 0 if not found.
|
* Returns: full length of the requested string, or 0 if not found.
|
||||||
* Since: 2.1.0
|
* Since: 2.1.0
|
||||||
|
|
Loading…
Reference in New Issue