Home
last modified time | relevance | path

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

/external/harfbuzz_ng/src/
Dhb-ft.cc700 FT_Fixed *ft_coords = (FT_Fixed *) calloc (mm_var->num_axis, sizeof (FT_Fixed)); in hb_ft_font_changed() local
702 if (coords && ft_coords) in hb_ft_font_changed()
704 if (!FT_Get_Var_Blend_Coordinates (ft_face, mm_var->num_axis, ft_coords)) in hb_ft_font_changed()
710 coords[i] = ft_coords[i] >>= 2; in hb_ft_font_changed()
721 free (ft_coords); in hb_ft_font_changed()
840 FT_Fixed *ft_coords = (FT_Fixed *) calloc (num_coords, sizeof (FT_Fixed)); in hb_ft_font_set_funcs() local
841 if (ft_coords) in hb_ft_font_set_funcs()
844 ft_coords[i] = coords[i] << 2; in hb_ft_font_set_funcs()
845 FT_Set_Var_Blend_Coordinates (ft_face, num_coords, ft_coords); in hb_ft_font_set_funcs()
846 free (ft_coords); in hb_ft_font_set_funcs()
/external/harfbuzz_ng/util/
Dhelper-cairo.cc119 FT_Fixed *ft_coords = (FT_Fixed *) calloc (num_coords, sizeof (FT_Fixed)); in helper_cairo_create_scaled_font() local
120 if (ft_coords) in helper_cairo_create_scaled_font()
123 ft_coords[i] = coords[i] << 2; in helper_cairo_create_scaled_font()
124 FT_Set_Var_Blend_Coordinates (ft_face, num_coords, ft_coords); in helper_cairo_create_scaled_font()
125 free (ft_coords); in helper_cairo_create_scaled_font()