This commit is contained in:
Behdad Esfahbod 2011-05-16 16:20:48 -04:00
parent 56d12e0356
commit 4053f3f788
2 changed files with 7 additions and 7 deletions

View File

@ -127,10 +127,10 @@ hb_font_funcs_is_immutable (hb_font_funcs_t *ffuncs);
typedef struct _hb_glyph_extents_t typedef struct _hb_glyph_extents_t
{ {
hb_position_t x_bearing; hb_position_t x_bearing;
hb_position_t y_bearing; hb_position_t y_bearing;
hb_position_t width; hb_position_t width;
hb_position_t height; hb_position_t height;
} hb_glyph_extents_t; } hb_glyph_extents_t;

View File

@ -67,9 +67,9 @@ glyph_func (hb_font_t *font, void *font_data,
static void static void
kerning_func (hb_font_t *font, void *font_data, kerning_func (hb_font_t *font, void *font_data,
hb_codepoint_t left, hb_codepoint_t right, hb_codepoint_t left, hb_codepoint_t right,
hb_position_t *x_kern, hb_position_t *y_kern, hb_position_t *x_kern, hb_position_t *y_kern,
void *user_data) void *user_data)
{ {
if (left == 1 && right == 2) { if (left == 1 && right == 2) {
*x_kern = -2; *x_kern = -2;