ot_name_get_utf8
Description:
[ Version ( since = "2.1.0" ) ]
public uint ot_name_get_utf8 (Face face, OtNameId name_id, Language language, out unowned char[] text)
Fetches a font name from the OpenType 'name' table.
If language is HB_LANGUAGE_INVALID, English ("en") is assumed. Returns string in UTF-8 encoding. A NUL terminator is
always written for convenience, and isn't included in the output text.length.
Parameters:
| face |
font face. |
| name_id |
OpenType name identifier to fetch. |
| language |
language to fetch the name for. |
| text |
buffer to write fetched name into. |
| text_size |
input size of |
Returns:
|
full length of the requested string, or 0 if not found. |
Namespace: HarfBuzz
Package: harfbuzz-gobject