/** * SECTION:hb-glib * @title: hb-glib * @short_description: GLib integration * @include: hb-glib.h * * Functions for using HarfBuzz with the GLib library. * * HarfBuzz supports using GLib to provide Unicode data, by attaching * GLib functions to the virtual methods in a #hb_unicode_funcs_t function * structure.
**/
/** * hb_glib_script_to_script: * @script: The GUnicodeScript identifier to query * * Fetches the #hb_script_t script that corresponds to the * specified GUnicodeScript identifier. * * Return value: the #hb_script_t script found * * Since: 0.9.38
**/
hb_script_t
hb_glib_script_to_script (GUnicodeScript script)
{ return (hb_script_t) g_unicode_script_to_iso15924 (script);
}
/** * hb_glib_script_from_script: * @script: The #hb_script_t to query * * Fetches the GUnicodeScript identifier that corresponds to the * specified #hb_script_t script. * * Return value: the GUnicodeScript identifier found * * Since: 0.9.38
**/
GUnicodeScript
hb_glib_script_from_script (hb_script_t script)
{ return g_unicode_script_from_iso15924 (script);
}
/** * hb_glib_get_unicode_funcs: * * Fetches a Unicode-functions structure that is populated * with the appropriate GLib function for each method. * * Return value: (transfer none): a pointer to the #hb_unicode_funcs_t Unicode-functions structure * * Since: 0.9.38
**/
hb_unicode_funcs_t *
hb_glib_get_unicode_funcs ()
{ return static_glib_funcs.get_unconst ();
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.