Cosmetic
This commit is contained in:
parent
56d12e0356
commit
4053f3f788
|
@ -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;
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue