hb-graphite2

hb-graphite2 — Graphite2 integration

Functions

Types and Values

Includes

#include <hb-graphite2.h>

Description

Functions for using HarfBuzz with fonts that include Graphite features.

For Graphite features to work, you must be sure that HarfBuzz was compiled with the graphite2 shaping engine enabled. Currently, the default is to not enable graphite2 shaping.

Functions

hb_graphite2_face_get_gr_face ()

gr_face *
hb_graphite2_face_get_gr_face (hb_face_t *face);

Fetches the Graphite2 gr_face corresponding to the specified hb_face_t face object.

[skip]

Parameters

face

hb_face_t to query

 

Returns

the gr_face found

Since: 0.9.10


hb_graphite2_font_get_gr_font ()

gr_font *
hb_graphite2_font_get_gr_font (hb_font_t *font);

hb_graphite2_font_get_gr_font has been deprecated since version 1.4.2 and should not be used in newly-written code.

Always returns NULL. Use hb_graphite2_face_get_gr_face() instead.

[skip]

Parameters

font

An hb_font_t

 

Returns

Graphite2 font associated with font .

[nullable]

Since: 0.9.10

Types and Values

HB_GRAPHITE2_TAG_SILF

#define HB_GRAPHITE2_TAG_SILF HB_TAG('S','i','l','f')

The hb_tag_t tag for the Silf table, which holds Graphite features.

For more information, see http://graphite.sil.org/