From e9ad71dee845407da74ccacfbb53ad7ededf07fd Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 30 Nov 2012 08:10:26 +0200 Subject: [PATCH] [OTLayout] Rename hb_ot_layout_position_get_size() to hb_ot_layout_get_size_params() --- src/hb-ot-layout.cc | 4 ++-- src/hb-ot-layout.h | 7 ++++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/hb-ot-layout.cc b/src/hb-ot-layout.cc index 2572c0073..879266d76 100644 --- a/src/hb-ot-layout.cc +++ b/src/hb-ot-layout.cc @@ -641,8 +641,8 @@ hb_ot_layout_position_finish (hb_font_t *font, hb_buffer_t *buffer, hb_bool_t ze } hb_bool_t -hb_ot_layout_position_get_size (hb_face_t *face, - uint16_t *data /* OUT, 5 items */) +hb_ot_layout_get_size_params (hb_face_t *face, + uint16_t *data /* OUT, 5 items */) { const OT::GPOS &gpos = _get_gpos (face); unsigned int script_index; diff --git a/src/hb-ot-layout.h b/src/hb-ot-layout.h index adb483ce9..8999eaf69 100644 --- a/src/hb-ot-layout.h +++ b/src/hb-ot-layout.h @@ -277,10 +277,11 @@ Xhb_ot_layout_lookup_position (hb_font_t *font, hb_glyph_position_t *positions /* IN / OUT */); #endif -/* Optical 'size' feature info. Returns true if found. */ +/* Optical 'size' feature info. Returns true if found. + * XXX Add URL. */ hb_bool_t -hb_ot_layout_position_get_size (hb_face_t *face, - uint16_t *data /* OUT, 5 items */); +hb_ot_layout_get_size_params (hb_face_t *face, + uint16_t *data /* OUT, 5 items */); HB_END_DECLS