Home
last modified time | relevance | path

Searched refs:ft_face (Results 1 – 4 of 4) sorted by relevance

/external/harfbuzz_ng/src/
Dhb-ft.cc67 FT_Face ft_face; member
74 _hb_ft_font_create (FT_Face ft_face, bool symbol, bool unref) in _hb_ft_font_create() argument
81 ft_font->ft_face = ft_face; in _hb_ft_font_create()
102 _hb_ft_face_destroy (ft_font->ft_face); in _hb_ft_font_destroy()
158 return ft_font->ft_face; in hb_ft_font_get_face()
171 unsigned int g = FT_Get_Char_Index (ft_font->ft_face, unicode); in hb_ft_get_nominal_glyph()
182 g = FT_Get_Char_Index (ft_font->ft_face, 0xF000u + unicode); in hb_ft_get_nominal_glyph()
203 unsigned int g = FT_Face_GetCharVariantIndex (ft_font->ft_face, unicode, variation_selector); in hb_ft_get_variation_glyph()
221 if (unlikely (FT_Get_Advance (ft_font->ft_face, glyph, ft_font->load_flags, &v))) in hb_ft_get_glyph_h_advance()
239 …if (unlikely (FT_Get_Advance (ft_font->ft_face, glyph, ft_font->load_flags | FT_LOAD_VERTICAL_LAYO… in hb_ft_get_glyph_v_advance()
[all …]
Dhb-ft.h63 hb_ft_face_create (FT_Face ft_face,
75 hb_ft_face_create_cached (FT_Face ft_face);
85 hb_ft_face_create_referenced (FT_Face ft_face);
102 hb_ft_font_create (FT_Face ft_face,
108 hb_ft_font_create_referenced (FT_Face ft_face);
/external/harfbuzz_ng/util/
Dhelper-cairo.cc82 FT_Face ft_face = nullptr;//hb_ft_font_get_face (font); in helper_cairo_create_scaled_font() local
83 if (!ft_face) in helper_cairo_create_scaled_font()
95 &ft_face); in helper_cairo_create_scaled_font()
97 if (!ft_face) in helper_cairo_create_scaled_font()
116 FT_Set_Var_Blend_Coordinates (ft_face, num_coords, ft_coords); in helper_cairo_create_scaled_font()
122 cairo_face = cairo_ft_font_face_create_for_ft_face (ft_face, 0); in helper_cairo_create_scaled_font()
158 FT_Face ft_face = cairo_ft_scaled_font_lock_face (scaled_font); in helper_cairo_scaled_font_has_color() local
159 if (ft_face) in helper_cairo_scaled_font_has_color()
161 if (FT_HAS_COLOR (ft_face)) in helper_cairo_scaled_font_has_color()
/external/harfbuzz_ng/test/api/
Dtest-ot-math.c36 static FT_Face ft_face; variable
64 if ((ft_error = FT_New_Face (ft_library, path, 0, &ft_face))) { in openFont()
70 if ((ft_error = FT_Set_Char_Size (ft_face, 2000, 1000, 0, 0))) in openFont()
72 hb_font = hb_ft_font_create (ft_face, NULL); in openFont()
81 FT_Done_Face (ft_face); in closeFont()
84 ft_face = NULL; in closeFont()