Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-ft.cc843 FT_Fixed *ft_coords = (FT_Fixed *) hb_calloc (mm_var->num_axis, sizeof (FT_Fixed)); in hb_ft_font_changed() local
845 if (coords && ft_coords) in hb_ft_font_changed()
847 if (!FT_Get_Var_Blend_Coordinates (ft_face, mm_var->num_axis, ft_coords)) in hb_ft_font_changed()
853 coords[i] = ft_coords[i] >>= 2; in hb_ft_font_changed()
864 hb_free (ft_coords); in hb_ft_font_changed()
1011 FT_Fixed *ft_coords = (FT_Fixed *) hb_calloc (num_coords, sizeof (FT_Fixed)); in hb_ft_font_set_funcs() local
1012 if (ft_coords) in hb_ft_font_set_funcs()
1015 ft_coords[i] = coords[i] * 4; in hb_ft_font_set_funcs()
1016 FT_Set_Var_Blend_Coordinates (ft_face, num_coords, ft_coords); in hb_ft_font_set_funcs()
1017 hb_free (ft_coords); in hb_ft_font_set_funcs()
/third_party/skia/third_party/externals/harfbuzz/util/
Dhelper-cairo.hh123 FT_Fixed *ft_coords = (FT_Fixed *) calloc (num_coords, sizeof (FT_Fixed)); in helper_cairo_create_scaled_font() local
124 if (ft_coords) in helper_cairo_create_scaled_font()
127 ft_coords[i] = coords[i] << 2; in helper_cairo_create_scaled_font()
128 FT_Set_Var_Blend_Coordinates (ft_face, num_coords, ft_coords); in helper_cairo_create_scaled_font()
129 free (ft_coords); in helper_cairo_create_scaled_font()
/third_party/chromium/patch/
D0001-cve.patch72078 + FT_Fixed *ft_coords = (FT_Fixed *) calloc (num_coords, sizeof (FT_Fixed));
72079 + if (ft_coords)
72082 + ft_coords[i] = coords[i] << 2;
72083 + FT_Set_Var_Blend_Coordinates (ft_face, num_coords, ft_coords);
72084 + free (ft_coords);
72520 - FT_Fixed *ft_coords = (FT_Fixed *) calloc (num_coords, sizeof (FT_Fixed));
72521 - if (ft_coords)
72524 - ft_coords[i] = coords[i] << 2;
72525 - FT_Set_Var_Blend_Coordinates (ft_face, num_coords, ft_coords);
72526 - free (ft_coords);