Home
last modified time | relevance | path

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

/external/harfbuzz_ng/src/
Dhb-ft.cc632 FT_Fixed *ft_coords = (FT_Fixed *) calloc (mm_var->num_axis, sizeof (FT_Fixed)); in hb_ft_font_changed() local
634 if (coords && ft_coords) in hb_ft_font_changed()
636 if (!FT_Get_Var_Blend_Coordinates (ft_face, mm_var->num_axis, ft_coords)) in hb_ft_font_changed()
639 coords[i] = ft_coords[i] >>= 2; in hb_ft_font_changed()
645 free (ft_coords); in hb_ft_font_changed()
755 FT_Fixed *ft_coords = (FT_Fixed *) calloc (num_coords, sizeof (FT_Fixed)); in hb_ft_font_set_funcs() local
756 if (ft_coords) in hb_ft_font_set_funcs()
759 ft_coords[i] = coords[i] << 2; in hb_ft_font_set_funcs()
760 FT_Set_Var_Blend_Coordinates (ft_face, num_coords, ft_coords); in hb_ft_font_set_funcs()
761 free (ft_coords); in hb_ft_font_set_funcs()
/external/harfbuzz_ng/util/
Dhelper-cairo.cc111 FT_Fixed *ft_coords = (FT_Fixed *) calloc (num_coords, sizeof (FT_Fixed)); in helper_cairo_create_scaled_font() local
112 if (ft_coords) in helper_cairo_create_scaled_font()
115 ft_coords[i] = coords[i] << 2; in helper_cairo_create_scaled_font()
116 FT_Set_Var_Blend_Coordinates (ft_face, num_coords, ft_coords); in helper_cairo_create_scaled_font()
117 free (ft_coords); in helper_cairo_create_scaled_font()