Home
last modified time | relevance | path

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

/external/harfbuzz_ng/src/
Dhb-ft.cc725 FT_Fixed *ft_coords = (FT_Fixed *) calloc (mm_var->num_axis, sizeof (FT_Fixed)); in hb_ft_font_changed() local
727 if (coords && ft_coords) in hb_ft_font_changed()
729 if (!FT_Get_Var_Blend_Coordinates (ft_face, mm_var->num_axis, ft_coords)) in hb_ft_font_changed()
735 coords[i] = ft_coords[i] >>= 2; in hb_ft_font_changed()
746 free (ft_coords); in hb_ft_font_changed()
865 FT_Fixed *ft_coords = (FT_Fixed *) calloc (num_coords, sizeof (FT_Fixed)); in hb_ft_font_set_funcs() local
866 if (ft_coords) in hb_ft_font_set_funcs()
869 ft_coords[i] = coords[i] * 4; in hb_ft_font_set_funcs()
870 FT_Set_Var_Blend_Coordinates (ft_face, num_coords, ft_coords); in hb_ft_font_set_funcs()
871 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()