From 91b1e03e0312be2a7a165308239b40449e3ab360 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 29 Oct 2009 03:05:18 -0400 Subject: [PATCH] [HB] Add point_index to get_contour_point() Pointed out by Keith Stribley on HarfBuzz list. --- src/hb-font.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hb-font.h b/src/hb-font.h index 9642c55..15dd351 100644 --- a/src/hb-font.h +++ b/src/hb-font.h @@ -102,6 +102,7 @@ typedef struct _hb_glyph_metrics_t hb_glyph_metrics_t; 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); typedef hb_bool_t (*hb_font_get_contour_point_func_t) (hb_font_t *font, hb_face_t *face, const void *user_data, + unsigned int point_index, hb_codepoint_t glyph, hb_position_t *x, hb_position_t *y); typedef void (*hb_font_get_glyph_metrics_func_t) (hb_font_t *font, hb_face_t *face, const void *user_data, hb_codepoint_t glyph, hb_glyph_metrics_t *metrics); -- 2.7.4