Lines Matching refs:glyph

74 		 hb_codepoint_t *glyph,  in hb_ft_get_glyph()  argument
81 *glyph = FT_Face_GetCharVariantIndex (ft_face, unicode, variation_selector); in hb_ft_get_glyph()
82 return *glyph != 0; in hb_ft_get_glyph()
85 *glyph = FT_Get_Char_Index (ft_face, unicode); in hb_ft_get_glyph()
86 return *glyph != 0; in hb_ft_get_glyph()
92 hb_codepoint_t glyph, in hb_ft_get_glyph_h_advance() argument
99 if (unlikely (FT_Get_Advance (ft_face, glyph, load_flags, &v))) in hb_ft_get_glyph_h_advance()
111 hb_codepoint_t glyph, in hb_ft_get_glyph_v_advance() argument
118 if (unlikely (FT_Get_Advance (ft_face, glyph, load_flags, &v))) in hb_ft_get_glyph_v_advance()
129 hb_codepoint_t glyph HB_UNUSED, in hb_ft_get_glyph_h_origin()
141 hb_codepoint_t glyph, in hb_ft_get_glyph_v_origin() argument
149 if (unlikely (FT_Load_Glyph (ft_face, glyph, load_flags))) in hb_ft_get_glyph_v_origin()
154 *x = ft_face->glyph->metrics.horiBearingX - ft_face->glyph->metrics.vertBearingX; in hb_ft_get_glyph_v_origin()
155 *y = ft_face->glyph->metrics.horiBearingY - (-ft_face->glyph->metrics.vertBearingY); in hb_ft_get_glyph_v_origin()
191 hb_codepoint_t glyph, in hb_ft_get_glyph_extents() argument
198 if (unlikely (FT_Load_Glyph (ft_face, glyph, load_flags))) in hb_ft_get_glyph_extents()
201 extents->x_bearing = ft_face->glyph->metrics.horiBearingX; in hb_ft_get_glyph_extents()
202 extents->y_bearing = ft_face->glyph->metrics.horiBearingY; in hb_ft_get_glyph_extents()
203 extents->width = ft_face->glyph->metrics.width; in hb_ft_get_glyph_extents()
204 extents->height = -ft_face->glyph->metrics.height; in hb_ft_get_glyph_extents()
211 hb_codepoint_t glyph, in hb_ft_get_glyph_contour_point() argument
220 if (unlikely (FT_Load_Glyph (ft_face, glyph, load_flags))) in hb_ft_get_glyph_contour_point()
223 if (unlikely (ft_face->glyph->format != FT_GLYPH_FORMAT_OUTLINE)) in hb_ft_get_glyph_contour_point()
226 if (unlikely (point_index >= (unsigned int) ft_face->glyph->outline.n_points)) in hb_ft_get_glyph_contour_point()
229 *x = ft_face->glyph->outline.points[point_index].x; in hb_ft_get_glyph_contour_point()
230 *y = ft_face->glyph->outline.points[point_index].y; in hb_ft_get_glyph_contour_point()
238 hb_codepoint_t glyph, in hb_ft_get_glyph_name() argument
244 hb_bool_t ret = !FT_Get_Glyph_Name (ft_face, glyph, name, size); in hb_ft_get_glyph_name()
255 hb_codepoint_t *glyph, in hb_ft_get_glyph_from_name() argument
261 *glyph = FT_Get_Name_Index (ft_face, (FT_String *) name); in hb_ft_get_glyph_from_name()
268 *glyph = FT_Get_Name_Index (ft_face, buf); in hb_ft_get_glyph_from_name()
271 if (*glyph == 0) in hb_ft_get_glyph_from_name()
280 return *glyph != 0; in hb_ft_get_glyph_from_name()