diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2009-10-29 03:08:42 -0400 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2009-11-02 14:40:48 -0500 |
commit | c09ed9801ead002d6f8e507ce664b83707b202e9 (patch) | |
tree | 871e19603d363c2a1b3d73ba2cec69eb0a1e9654 | |
parent | 91b1e03e0312be2a7a165308239b40449e3ab360 (diff) |
[HB] Add glyph_metrics typedefpango-extractpoint
-rw-r--r-- | src/hb-font.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/hb-font.h b/src/hb-font.h index 15dd351b..e020bd83 100644 --- a/src/hb-font.h +++ b/src/hb-font.h @@ -98,6 +98,15 @@ hb_font_funcs_make_immutable (hb_font_funcs_t *ffuncs); /* funcs */ typedef struct _hb_glyph_metrics_t hb_glyph_metrics_t; +struct _hb_glyph_metrics_t +{ + hb_position_t x_advance; + hb_position_t y_advance; + hb_position_t x_offset; + hb_position_t y_offset; + hb_position_t width; + hb_position_t height; +}; typedef hb_codepoint_t (*hb_font_get_glyph_func_t) (hb_font_t *font, hb_face_t *face, const void *user_data, hb_codepoint_t unicode, hb_codepoint_t variant_selector); |