Searched refs:font_data (Results 1 - 15 of 15) sorted by relevance

/external/harfbuzz_ng/src/
H A Dtest-size-params.cc55 const char *font_data; local
63 font_data = g_mapped_file_get_contents (mf);
73 font_data = (const char *) malloc (len);
74 if (!font_data) len = 0;
75 len = fread ((char *) font_data, 1, len, f);
77 user_data = (void *) font_data;
82 blob = hb_blob_create (font_data, len, mm, user_data, destroy);
H A Dtest-would-substitute.cc59 const char *font_data; local
67 font_data = g_mapped_file_get_contents (mf);
77 font_data = (const char *) malloc (len);
78 if (!font_data) len = 0;
79 len = fread ((char *) font_data, 1, len, f);
81 user_data = (void *) font_data;
86 blob = hb_blob_create (font_data, len, mm, user_data, destroy);
H A Dtest-buffer-serialize.cc57 const char *font_data; local
65 font_data = g_mapped_file_get_contents (mf);
75 font_data = (const char *) malloc (len);
76 if (!font_data) len = 0;
77 len = fread ((char *) font_data, 1, len, f);
79 user_data = (void *) font_data;
84 blob = hb_blob_create (font_data, len, mm, user_data, destroy);
H A Dtest.cc58 const char *font_data; local
66 font_data = g_mapped_file_get_contents (mf);
76 font_data = (const char *) malloc (len);
77 if (!font_data) len = 0;
78 len = fread ((char *) font_data, 1, len, f);
80 user_data = (void *) font_data;
85 blob = hb_blob_create (font_data, len, mm, user_data, destroy);
H A Dhb-ot-font.cc194 void *font_data,
201 const hb_ot_font_t *ot_font = (const hb_ot_font_t *) font_data;
207 void *font_data,
211 const hb_ot_font_t *ot_font = (const hb_ot_font_t *) font_data;
217 void *font_data,
221 const hb_ot_font_t *ot_font = (const hb_ot_font_t *) font_data;
227 void *font_data HB_UNUSED,
239 void *font_data,
251 void *font_data,
262 void *font_data HB_UNUSE
193 hb_ot_get_glyph(hb_font_t *font HB_UNUSED, void *font_data, hb_codepoint_t unicode, hb_codepoint_t variation_selector, hb_codepoint_t *glyph, void *user_data HB_UNUSED) argument
206 hb_ot_get_glyph_h_advance(hb_font_t *font HB_UNUSED, void *font_data, hb_codepoint_t glyph, void *user_data HB_UNUSED) argument
216 hb_ot_get_glyph_v_advance(hb_font_t *font HB_UNUSED, void *font_data, hb_codepoint_t glyph, void *user_data HB_UNUSED) argument
238 hb_ot_get_glyph_v_origin(hb_font_t *font HB_UNUSED, void *font_data, hb_codepoint_t glyph, hb_position_t *x, hb_position_t *y, void *user_data HB_UNUSED) argument
250 hb_ot_get_glyph_h_kerning(hb_font_t *font, void *font_data, hb_codepoint_t left_glyph, hb_codepoint_t right_glyph, void *user_data HB_UNUSED) argument
272 hb_ot_get_glyph_extents(hb_font_t *font HB_UNUSED, void *font_data, hb_codepoint_t glyph, hb_glyph_extents_t *extents, void *user_data HB_UNUSED) argument
283 hb_ot_get_glyph_contour_point(hb_font_t *font HB_UNUSED, void *font_data, hb_codepoint_t glyph, unsigned int point_index, hb_position_t *x, hb_position_t *y, void *user_data HB_UNUSED) argument
296 hb_ot_get_glyph_name(hb_font_t *font HB_UNUSED, void *font_data, hb_codepoint_t glyph, char *name, unsigned int size, void *user_data HB_UNUSED) argument
307 hb_ot_get_glyph_from_name(hb_font_t *font HB_UNUSED, void *font_data, const char *name, int len, hb_codepoint_t *glyph, void *user_data HB_UNUSED) argument
[all...]
H A Dhb-ft.cc71 void *font_data,
78 FT_Face ft_face = (FT_Face) font_data;
91 void *font_data,
95 FT_Face ft_face = (FT_Face) font_data;
110 void *font_data,
114 FT_Face ft_face = (FT_Face) font_data;
128 void *font_data HB_UNUSED,
140 void *font_data,
146 FT_Face ft_face = (FT_Face) font_data;
162 void *font_data,
70 hb_ft_get_glyph(hb_font_t *font HB_UNUSED, void *font_data, hb_codepoint_t unicode, hb_codepoint_t variation_selector, hb_codepoint_t *glyph, void *user_data HB_UNUSED) argument
90 hb_ft_get_glyph_h_advance(hb_font_t *font HB_UNUSED, void *font_data, hb_codepoint_t glyph, void *user_data HB_UNUSED) argument
109 hb_ft_get_glyph_v_advance(hb_font_t *font HB_UNUSED, void *font_data, hb_codepoint_t glyph, void *user_data HB_UNUSED) argument
139 hb_ft_get_glyph_v_origin(hb_font_t *font HB_UNUSED, void *font_data, hb_codepoint_t glyph, hb_position_t *x, hb_position_t *y, void *user_data HB_UNUSED) argument
161 hb_ft_get_glyph_h_kerning(hb_font_t *font, void *font_data, hb_codepoint_t left_glyph, hb_codepoint_t right_glyph, void *user_data HB_UNUSED) argument
189 hb_ft_get_glyph_extents(hb_font_t *font HB_UNUSED, void *font_data, hb_codepoint_t glyph, hb_glyph_extents_t *extents, void *user_data HB_UNUSED) argument
209 hb_ft_get_glyph_contour_point(hb_font_t *font HB_UNUSED, void *font_data, hb_codepoint_t glyph, unsigned int point_index, hb_position_t *x, hb_position_t *y, void *user_data HB_UNUSED) argument
236 hb_ft_get_glyph_name(hb_font_t *font HB_UNUSED, void *font_data, hb_codepoint_t glyph, char *name, unsigned int size, void *user_data HB_UNUSED) argument
252 hb_ft_get_glyph_from_name(hb_font_t *font HB_UNUSED, void *font_data, const char *name, int len, hb_codepoint_t *glyph, void *user_data HB_UNUSED) argument
[all...]
H A Dmain.cc50 const char *font_data = NULL; local
55 font_data = g_mapped_file_get_contents (mf);
62 font_data = (const char *) malloc (len);
63 len = fread ((char *) font_data, 1, len, f);
68 const OpenTypeFontFile &ot = *CastP<OpenTypeFontFile> (font_data);
112 const GSUBGPOS &g = *CastP<GSUBGPOS> (font_data + table.offset);
178 const GDEF &gdef = *CastP<GDEF> (font_data + table.offset);
H A Dhb-font.h94 typedef hb_bool_t (*hb_font_get_glyph_func_t) (hb_font_t *font, void *font_data,
100 typedef hb_position_t (*hb_font_get_glyph_advance_func_t) (hb_font_t *font, void *font_data,
106 typedef hb_bool_t (*hb_font_get_glyph_origin_func_t) (hb_font_t *font, void *font_data,
113 typedef hb_position_t (*hb_font_get_glyph_kerning_func_t) (hb_font_t *font, void *font_data,
120 typedef hb_bool_t (*hb_font_get_glyph_extents_func_t) (hb_font_t *font, void *font_data,
124 typedef hb_bool_t (*hb_font_get_glyph_contour_point_func_t) (hb_font_t *font, void *font_data,
130 typedef hb_bool_t (*hb_font_get_glyph_name_func_t) (hb_font_t *font, void *font_data,
134 typedef hb_bool_t (*hb_font_get_glyph_from_name_func_t) (hb_font_t *font, void *font_data,
471 void *font_data,
477 void *font_data,
[all...]
H A Dhb-font.cc49 void *font_data HB_UNUSED,
64 void *font_data HB_UNUSED,
76 void *font_data HB_UNUSED,
88 void *font_data HB_UNUSED,
107 void *font_data HB_UNUSED,
126 void *font_data HB_UNUSED,
139 void *font_data HB_UNUSED,
152 void *font_data HB_UNUSED,
172 void *font_data HB_UNUSED,
192 void *font_data HB_UNUSE
1104 hb_font_set_funcs(hb_font_t *font, hb_font_funcs_t *klass, void *font_data, hb_destroy_func_t destroy) argument
1139 hb_font_set_funcs_data(hb_font_t *font, void *font_data, hb_destroy_func_t destroy) argument
[all...]
H A Dhb-coretext.cc209 hb_coretext_shaper_font_data_t *font_data = HB_SHAPER_DATA_GET (font);
210 return font_data->ct_font;
443 hb_coretext_shaper_font_data_t *font_data = HB_SHAPER_DATA_GET (font); local
574 range->font = CTFontCreateCopyWithAttributes (font_data->ct_font, 0.0, NULL, font_desc);
732 kCTFontAttributeName, font_data->ct_font);
809 if (!CFEqual (run_ct_font, font_data->ct_font))
857 CFStringRef font_ps_name = CTFontCopyName (font_data->ct_font, kCTFontPostScriptNameKey);
971 CGFloat x_mult = font_data->x_mult, y_mult = font_data->y_mult;
H A Dhb-uniscribe.cc556 hb_uniscribe_shaper_font_data_t *font_data = HB_SHAPER_DATA_GET (font);
557 return &font_data->log_font;
564 hb_uniscribe_shaper_font_data_t *font_data = HB_SHAPER_DATA_GET (font);
565 return font_data->hfont;
603 hb_uniscribe_shaper_font_data_t *font_data = HB_SHAPER_DATA_GET (font); local
890 hr = funcs->ScriptShapeOpenType (font_data->hdc,
891 &font_data->script_cache,
931 hr = funcs->ScriptPlaceOpenType (font_data->hdc,
932 &font_data->script_cache,
/external/harfbuzz_ng/test/api/
H A Dtest-shape.c44 glyph_h_advance_func (hb_font_t *font, void *font_data, argument
57 glyph_func (hb_font_t *font, void *font_data, argument
71 glyph_h_kerning_func (hb_font_t *font, void *font_data, argument
H A Dtest-font.c202 contour_point_func1 (hb_font_t *font, void *font_data, argument
222 contour_point_func2 (hb_font_t *font, void *font_data, argument
238 glyph_h_advance_func1 (hb_font_t *font, void *font_data, argument
/external/harfbuzz_ng/util/
H A Doptions.cc477 char *font_data; local
502 font_data = g_string_free (gs, false);
503 user_data = font_data;
510 font_data = g_mapped_file_get_contents (mf);
528 if (g_file_get_contents (font_file, &font_data, &l, &error)) {
531 user_data = (void *) font_data;
540 blob = hb_blob_create (font_data, len, mm, user_data, destroy);
/external/sfntly/
H A DAndroid.mk21 cpp/src/sfntly/data/font_data.cc \

Completed in 187 milliseconds