projects
/
platform
/
upstream
/
pango.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cdb7383
)
[HB] Add glyph_metrics typedef
author
Behdad Esfahbod
<behdad@behdad.org>
Thu, 29 Oct 2009 07:08:42 +0000
(
03:08
-0400)
committer
Behdad Esfahbod
<behdad@behdad.org>
Thu, 29 Oct 2009 07:08:42 +0000
(
03:08
-0400)
pango/opentype/hb-font.h
patch
|
blob
|
history
diff --git
a/pango/opentype/hb-font.h
b/pango/opentype/hb-font.h
index
15dd351
..
e020bd8
100644
(file)
--- a/
pango/opentype/hb-font.h
+++ b/
pango/opentype/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);