Home
last modified time | relevance | path

Searched refs:font_data (Results 1 – 14 of 14) sorted by relevance

/external/harfbuzz_ng/src/
Dhb-ft.cc64 void *font_data, in hb_ft_get_glyph() argument
71 FT_Face ft_face = (FT_Face) font_data; in hb_ft_get_glyph()
87 void *font_data, in hb_ft_get_glyph_h_advance() argument
91 FT_Face ft_face = (FT_Face) font_data; in hb_ft_get_glyph_h_advance()
103 void *font_data, in hb_ft_get_glyph_v_advance() argument
107 FT_Face ft_face = (FT_Face) font_data; in hb_ft_get_glyph_v_advance()
121 void *font_data HB_UNUSED, in hb_ft_get_glyph_h_origin()
133 void *font_data, in hb_ft_get_glyph_v_origin() argument
139 FT_Face ft_face = (FT_Face) font_data; in hb_ft_get_glyph_v_origin()
155 void *font_data, in hb_ft_get_glyph_h_kerning() argument
[all …]
Dtest-size-params.cc52 const char *font_data; in main() local
60 font_data = g_mapped_file_get_contents (mf); in main()
70 font_data = (const char *) malloc (len); in main()
71 if (!font_data) len = 0; in main()
72 len = fread ((char *) font_data, 1, len, f); in main()
74 user_data = (void *) font_data; in main()
79 blob = hb_blob_create (font_data, len, mm, user_data, destroy); in main()
Dtest-would-substitute.cc56 const char *font_data; in main() local
64 font_data = g_mapped_file_get_contents (mf); in main()
74 font_data = (const char *) malloc (len); in main()
75 if (!font_data) len = 0; in main()
76 len = fread ((char *) font_data, 1, len, f); in main()
78 user_data = (void *) font_data; in main()
83 blob = hb_blob_create (font_data, len, mm, user_data, destroy); in main()
Dtest-buffer-serialize.cc54 const char *font_data; in main() local
62 font_data = g_mapped_file_get_contents (mf); in main()
72 font_data = (const char *) malloc (len); in main()
73 if (!font_data) len = 0; in main()
74 len = fread ((char *) font_data, 1, len, f); in main()
76 user_data = (void *) font_data; in main()
81 blob = hb_blob_create (font_data, len, mm, user_data, destroy); in main()
Dtest.cc55 const char *font_data; in main() local
63 font_data = g_mapped_file_get_contents (mf); in main()
73 font_data = (const char *) malloc (len); in main()
74 if (!font_data) len = 0; in main()
75 len = fread ((char *) font_data, 1, len, f); in main()
77 user_data = (void *) font_data; in main()
82 blob = hb_blob_create (font_data, len, mm, user_data, destroy); in main()
Dmain.cc50 const char *font_data = NULL; in main() local
55 font_data = g_mapped_file_get_contents (mf); in main()
62 font_data = (const char *) malloc (len); in main()
63 len = fread ((char *) font_data, 1, len, f); in main()
68 const OpenTypeFontFile &ot = *CastP<OpenTypeFontFile> (font_data); in main()
112 const GSUBGPOS &g = *CastP<GSUBGPOS> (font_data + table.offset); in main()
176 const GDEF &gdef = *CastP<GDEF> (font_data + table.offset); in main()
Dhb-font.h167 typedef hb_bool_t (*hb_font_get_glyph_func_t) (hb_font_t *font, void *font_data,
173 typedef hb_position_t (*hb_font_get_glyph_advance_func_t) (hb_font_t *font, void *font_data,
179 typedef hb_bool_t (*hb_font_get_glyph_origin_func_t) (hb_font_t *font, void *font_data,
186 typedef hb_position_t (*hb_font_get_glyph_kerning_func_t) (hb_font_t *font, void *font_data,
193 typedef hb_bool_t (*hb_font_get_glyph_extents_func_t) (hb_font_t *font, void *font_data,
197 typedef hb_bool_t (*hb_font_get_glyph_contour_point_func_t) (hb_font_t *font, void *font_data,
203 typedef hb_bool_t (*hb_font_get_glyph_name_func_t) (hb_font_t *font, void *font_data,
207 typedef hb_bool_t (*hb_font_get_glyph_from_name_func_t) (hb_font_t *font, void *font_data,
418 void *font_data,
424 void *font_data,
Dhb-uniscribe.cc195 hb_uniscribe_shaper_font_data_t *font_data = HB_SHAPER_DATA_GET (font); in hb_uniscribe_font_get_logfontw() local
196 return &font_data->log_font; in hb_uniscribe_font_get_logfontw()
203 hb_uniscribe_shaper_font_data_t *font_data = HB_SHAPER_DATA_GET (font); in hb_uniscribe_font_get_hfont() local
204 return font_data->hfont; in hb_uniscribe_font_get_hfont()
242 hb_uniscribe_shaper_font_data_t *font_data = HB_SHAPER_DATA_GET (font); in _hb_uniscribe_shape() local
347 hr = ScriptShapeOpenType (font_data->hdc, in _hb_uniscribe_shape()
348 &font_data->script_cache, in _hb_uniscribe_shape()
389 hr = ScriptPlaceOpenType (font_data->hdc, in _hb_uniscribe_shape()
390 &font_data->script_cache, in _hb_uniscribe_shape()
Dhb-font.cc51 void *font_data HB_UNUSED, in hb_font_get_glyph_nil()
66 void *font_data HB_UNUSED, in hb_font_get_glyph_h_advance_nil()
78 void *font_data HB_UNUSED, in hb_font_get_glyph_v_advance_nil()
90 void *font_data HB_UNUSED, in hb_font_get_glyph_h_origin_nil()
109 void *font_data HB_UNUSED, in hb_font_get_glyph_v_origin_nil()
128 void *font_data HB_UNUSED, in hb_font_get_glyph_h_kerning_nil()
141 void *font_data HB_UNUSED, in hb_font_get_glyph_v_kerning_nil()
154 void *font_data HB_UNUSED, in hb_font_get_glyph_extents_nil()
174 void *font_data HB_UNUSED, in hb_font_get_glyph_contour_point_nil()
194 void *font_data HB_UNUSED, in hb_font_get_glyph_name_nil()
[all …]
Dhb-coretext.cc164 hb_coretext_shaper_font_data_t *font_data = HB_SHAPER_DATA_GET (font); in hb_coretext_font_get_ct_font() local
165 return font_data->ct_font; in hb_coretext_font_get_ct_font()
182 hb_coretext_shaper_font_data_t *font_data = HB_SHAPER_DATA_GET (font); in _hb_coretext_shape() local
218 (const void**) &font_data->ct_font, in _hb_coretext_shape()
/external/harfbuzz_ng/test/api/
Dtest-shape.c44 glyph_h_advance_func (hb_font_t *font, void *font_data, in glyph_h_advance_func() argument
57 glyph_func (hb_font_t *font, void *font_data, in glyph_func() argument
71 glyph_h_kerning_func (hb_font_t *font, void *font_data, in glyph_h_kerning_func() argument
Dtest-font.c203 contour_point_func1 (hb_font_t *font, void *font_data, in contour_point_func1() argument
223 contour_point_func2 (hb_font_t *font, void *font_data, in contour_point_func2() argument
239 glyph_h_advance_func1 (hb_font_t *font, void *font_data, in glyph_h_advance_func1() argument
/external/qemu/
Dconsole.c477 unsigned int font_data, linesize, xorcol, bpp; in vga_putcharxy() local
503 font_data = *font_ptr++; in vga_putcharxy()
506 font_data = 0xFFFF; in vga_putcharxy()
508 ((uint32_t *)d)[0] = (dmask16[(font_data >> 4)] & xorcol) ^ bgcol; in vga_putcharxy()
509 ((uint32_t *)d)[1] = (dmask16[(font_data >> 0) & 0xf] & xorcol) ^ bgcol; in vga_putcharxy()
516 font_data = *font_ptr++; in vga_putcharxy()
519 font_data = 0xFFFF; in vga_putcharxy()
521 ((uint32_t *)d)[0] = (dmask4[(font_data >> 6)] & xorcol) ^ bgcol; in vga_putcharxy()
522 ((uint32_t *)d)[1] = (dmask4[(font_data >> 4) & 3] & xorcol) ^ bgcol; in vga_putcharxy()
523 ((uint32_t *)d)[2] = (dmask4[(font_data >> 2) & 3] & xorcol) ^ bgcol; in vga_putcharxy()
[all …]
/external/harfbuzz_ng/util/
Doptions.cc402 char *font_data; in get_font() local
427 font_data = g_string_free (gs, false); in get_font()
428 user_data = font_data; in get_font()
435 font_data = g_mapped_file_get_contents (mf); in get_font()
453 if (g_file_get_contents (font_file, &font_data, &l, &error)) { in get_font()
456 user_data = (void *) font_data; in get_font()
465 blob = hb_blob_create (font_data, len, mm, user_data, destroy); in get_font()