Home
last modified time | relevance | path

Searched refs:ft_coords (Results 1 – 2 of 2) sorted by relevance

/external/harfbuzz_ng/src/
Dhb-ft.cc624 FT_Fixed *ft_coords = (FT_Fixed *) calloc (mm_var->num_axis, sizeof (FT_Fixed)); in hb_ft_font_create() local
626 if (coords && ft_coords) in hb_ft_font_create()
628 if (!FT_Get_Var_Blend_Coordinates (ft_face, mm_var->num_axis, ft_coords)) in hb_ft_font_create()
631 coords[i] = ft_coords[i] >>= 2; in hb_ft_font_create()
636 free (ft_coords); in hb_ft_font_create()
748 FT_Fixed *ft_coords = (FT_Fixed *) calloc (num_coords, sizeof (FT_Fixed)); in hb_ft_font_set_funcs() local
749 if (ft_coords) in hb_ft_font_set_funcs()
752 ft_coords[i] = coords[i] << 2; in hb_ft_font_set_funcs()
753 FT_Set_Var_Blend_Coordinates (ft_face, num_coords, ft_coords); in hb_ft_font_set_funcs()
754 free (ft_coords); in hb_ft_font_set_funcs()
/external/harfbuzz_ng/util/
Dhelper-cairo.cc110 FT_Fixed *ft_coords = (FT_Fixed *) calloc (num_coords, sizeof (FT_Fixed)); in helper_cairo_create_scaled_font() local
111 if (ft_coords) in helper_cairo_create_scaled_font()
114 ft_coords[i] = coords[i] << 2; in helper_cairo_create_scaled_font()
115 FT_Set_Var_Blend_Coordinates (ft_face, num_coords, ft_coords); in helper_cairo_create_scaled_font()
116 free (ft_coords); in helper_cairo_create_scaled_font()