Home
last modified time | relevance | path

Searched refs:hb_face_t (Results 1 – 25 of 109) sorted by relevance

12345

/external/harfbuzz_ng/src/
Dhb-face.h49 typedef struct hb_face_t hb_face_t; typedef
51 HB_EXTERN hb_face_t *
55 typedef hb_blob_t * (*hb_reference_table_func_t) (hb_face_t *face, hb_tag_t tag, void *user_data);
58 HB_EXTERN hb_face_t *
63 HB_EXTERN hb_face_t *
66 HB_EXTERN hb_face_t *
67 hb_face_reference (hb_face_t *face);
70 hb_face_destroy (hb_face_t *face);
73 hb_face_set_user_data (hb_face_t *face,
80 hb_face_get_user_data (const hb_face_t *face,
[all …]
Dhb-ot-layout.h94 hb_ot_layout_has_glyph_classes (hb_face_t *face);
105 hb_ot_layout_get_glyph_class (hb_face_t *face,
109 hb_ot_layout_get_glyphs_in_class (hb_face_t *face,
117 hb_ot_layout_get_attach_points (hb_face_t *face,
143 hb_ot_layout_table_get_script_tags (hb_face_t *face,
150 hb_ot_layout_table_find_script (hb_face_t *face,
156 hb_ot_layout_table_select_script (hb_face_t *face,
164 hb_ot_layout_table_get_feature_tags (hb_face_t *face,
171 hb_ot_layout_script_get_language_tags (hb_face_t *face,
179 hb_ot_layout_script_select_language (hb_face_t *face,
[all …]
Dhb-face.cc81 DEFINE_NULL_INSTANCE (hb_face_t) =
109 hb_face_t *
114 hb_face_t *face; in hb_face_create_for_tables()
116 if (!reference_table_func || !(face = hb_object_create<hb_face_t> ())) { in hb_face_create_for_tables()
165 _hb_face_for_data_reference_table (hb_face_t *face HB_UNUSED, hb_tag_t tag, void *user_data) in _hb_face_for_data_reference_table()
194 hb_face_t *
198 hb_face_t *face; in hb_face_create()
226 hb_face_t *
229 return const_cast<hb_face_t *> (&Null(hb_face_t)); in hb_face_get_empty()
243 hb_face_t *
[all …]
Dhb-ot-color.h47 hb_ot_color_has_palettes (hb_face_t *face);
50 hb_ot_color_palette_get_count (hb_face_t *face);
53 hb_ot_color_palette_get_name_id (hb_face_t *face,
57 hb_ot_color_palette_color_get_name_id (hb_face_t *face,
78 hb_ot_color_palette_get_flags (hb_face_t *face,
82 hb_ot_color_palette_get_colors (hb_face_t *face,
94 hb_ot_color_has_layers (hb_face_t *face);
110 hb_ot_color_glyph_get_layers (hb_face_t *face,
121 hb_ot_color_has_svg (hb_face_t *face);
124 hb_ot_color_glyph_reference_svg (hb_face_t *face, hb_codepoint_t glyph);
[all …]
Dhb-ot-var.h51 hb_ot_var_has_data (hb_face_t *face);
60 hb_ot_var_get_axis_count (hb_face_t *face);
93 hb_ot_var_get_axis_infos (hb_face_t *face,
99 hb_ot_var_find_axis_info (hb_face_t *face,
109 hb_ot_var_get_named_instance_count (hb_face_t *face);
112 hb_ot_var_named_instance_get_subfamily_name_id (hb_face_t *face,
116 hb_ot_var_named_instance_get_postscript_name_id (hb_face_t *face,
120 hb_ot_var_named_instance_get_design_coords (hb_face_t *face,
131 hb_ot_var_normalize_variations (hb_face_t *face,
138 hb_ot_var_normalize_coords (hb_face_t *face,
Dhb-ot-var.cc62 hb_ot_var_has_data (hb_face_t *face) in hb_ot_var_has_data()
73 hb_ot_var_get_axis_count (hb_face_t *face) in hb_ot_var_get_axis_count()
85 hb_ot_var_get_axes (hb_face_t *face, in hb_ot_var_get_axes()
100 hb_ot_var_find_axis (hb_face_t *face, in hb_ot_var_find_axis()
114 hb_ot_var_get_axis_infos (hb_face_t *face, in hb_ot_var_get_axis_infos()
128 hb_ot_var_find_axis_info (hb_face_t *face, in hb_ot_var_find_axis_info()
141 hb_ot_var_get_named_instance_count (hb_face_t *face) in hb_ot_var_get_named_instance_count()
147 hb_ot_var_named_instance_get_subfamily_name_id (hb_face_t *face, in hb_ot_var_named_instance_get_subfamily_name_id()
154 hb_ot_var_named_instance_get_postscript_name_id (hb_face_t *face, in hb_ot_var_named_instance_get_postscript_name_id()
161 hb_ot_var_named_instance_get_design_coords (hb_face_t *face, in hb_ot_var_named_instance_get_design_coords()
[all …]
Dhb-ot-color.cc67 hb_ot_color_has_palettes (hb_face_t *face) in hb_ot_color_has_palettes()
82 hb_ot_color_palette_get_count (hb_face_t *face) in hb_ot_color_palette_get_count()
101 hb_ot_color_palette_get_name_id (hb_face_t *face, in hb_ot_color_palette_get_name_id()
117 hb_ot_color_palette_color_get_name_id (hb_face_t *face, in hb_ot_color_palette_color_get_name_id()
133 hb_ot_color_palette_get_flags (hb_face_t *face, in hb_ot_color_palette_get_flags()
164 hb_ot_color_palette_get_colors (hb_face_t *face, in hb_ot_color_palette_get_colors()
187 hb_ot_color_has_layers (hb_face_t *face) in hb_ot_color_has_layers()
206 hb_ot_color_glyph_get_layers (hb_face_t *face, in hb_ot_color_glyph_get_layers()
231 hb_ot_color_has_svg (hb_face_t *face) in hb_ot_color_has_svg()
248 hb_ot_color_glyph_reference_svg (hb_face_t *face, hb_codepoint_t glyph) in hb_ot_color_glyph_reference_svg()
[all …]
Dhb-ot-layout.cc66 hb_ot_layout_has_kerning (hb_face_t *face) in hb_ot_layout_has_kerning()
72 hb_ot_layout_has_machine_kerning (hb_face_t *face) in hb_ot_layout_has_machine_kerning()
78 hb_ot_layout_has_cross_kerning (hb_face_t *face) in hb_ot_layout_has_cross_kerning()
103 hb_face_t *face) const in is_blacklisted()
223 hb_ot_layout_has_glyph_classes (hb_face_t *face) in hb_ot_layout_has_glyph_classes()
234 hb_ot_layout_get_glyph_class (hb_face_t *face, in hb_ot_layout_get_glyph_class()
246 hb_ot_layout_get_glyphs_in_class (hb_face_t *face, in hb_ot_layout_get_glyphs_in_class()
254 hb_ot_layout_get_attach_points (hb_face_t *face, in hb_ot_layout_get_attach_points()
292 hb_face_t *face) const in is_blacklisted()
317 hb_face_t *face HB_UNUSED) const in is_blacklisted()
[all …]
Dhb-shape-plan.cc53 hb_face_t *face, in init()
176 hb_shape_plan_create (hb_face_t *face, in hb_shape_plan_create()
189 hb_shape_plan_create2 (hb_face_t *face, in hb_shape_plan_create2()
426 hb_shape_plan_create_cached (hb_face_t *face, in hb_shape_plan_create_cached()
439 hb_shape_plan_create_cached2 (hb_face_t *face, in hb_shape_plan_create_cached2()
454 hb_face_t::plan_node_t *cached_plan_nodes = face->shape_plans; in hb_shape_plan_create_cached2()
471 for (hb_face_t::plan_node_t *node = cached_plan_nodes; node; node = node->next) in hb_shape_plan_create_cached2()
487hb_face_t::plan_node_t *node = (hb_face_t::plan_node_t *) calloc (1, sizeof (hb_face_t::plan_node_… in hb_shape_plan_create_cached2()
Dhb-face.hh47 struct hb_face_t struct
59 hb_shaper_object_dataset_t<hb_face_t> data;/* Various shaper data. */ argument
77 blob = reference_table_func (/*XXX*/const_cast<hb_face_t *> (this), tag, user_data); in reference_table() argument
106 DECLARE_NULL_INSTANCE (hb_face_t); argument
Dhb-ot-name.h101 hb_ot_name_list_names (hb_face_t *face,
106 hb_ot_name_get_utf8 (hb_face_t *face,
113 hb_ot_name_get_utf16 (hb_face_t *face,
120 hb_ot_name_get_utf32 (hb_face_t *face,
Dhb-ot-deprecated.h45 hb_ot_layout_table_choose_script (hb_face_t *face,
52 hb_ot_layout_script_find_language (hb_face_t *face,
91 hb_ot_var_get_axes (hb_face_t *face,
97 hb_ot_var_find_axis (hb_face_t *face,
Dhb-shape-plan.h42 hb_shape_plan_create (hb_face_t *face,
49 hb_shape_plan_create_cached (hb_face_t *face,
56 hb_shape_plan_create2 (hb_face_t *face,
65 hb_shape_plan_create_cached2 (hb_face_t *face,
Dhb-ot-name.cc58 hb_ot_name_list_names (hb_face_t *face, in hb_ot_name_list_names()
114 hb_ot_name_get_utf (hb_face_t *face, in hb_ot_name_get_utf()
164 hb_ot_name_get_utf8 (hb_face_t *face, in hb_ot_name_get_utf8()
191 hb_ot_name_get_utf16 (hb_face_t *face, in hb_ot_name_get_utf16()
217 hb_ot_name_get_utf32 (hb_face_t *face, in hb_ot_name_get_utf32()
/external/harfbuzz_ng/test/api/
Dtest-subset-cff1.c35 hb_face_t *face_abc = hb_test_open_font_file("fonts/SourceSansPro-Regular.abc.otf"); in test_subset_cff1_noop()
38 hb_face_t *face_abc_subset; in test_subset_cff1_noop()
54 hb_face_t *face_abc = hb_test_open_font_file ("fonts/SourceSansPro-Regular.abc.otf"); in test_subset_cff1()
55 hb_face_t *face_ac = hb_test_open_font_file ("fonts/SourceSansPro-Regular.ac.otf"); in test_subset_cff1()
58 hb_face_t *face_abc_subset; in test_subset_cff1()
74 hb_face_t *face_abc = hb_test_open_font_file ("fonts/SourceSansPro-Regular.abc.otf"); in test_subset_cff1_strip_hints()
75 hb_face_t *face_ac = hb_test_open_font_file ("fonts/SourceSansPro-Regular.ac.nohints.otf"); in test_subset_cff1_strip_hints()
79 hb_face_t *face_abc_subset; in test_subset_cff1_strip_hints()
97 hb_face_t *face_abc = hb_test_open_font_file ("fonts/SourceSansPro-Regular.abc.otf"); in test_subset_cff1_desubr()
98 hb_face_t *face_ac = hb_test_open_font_file ("fonts/SourceSansPro-Regular.ac.nosubrs.otf"); in test_subset_cff1_desubr()
[all …]
Dtest-subset-glyf.c38 static void check_maxp_num_glyphs (hb_face_t *face, uint16_t expected_num_glyphs, bool hints) in check_maxp_num_glyphs()
63 hb_face_t *face_abc = hb_test_open_font_file ("fonts/Roboto-Regular.abc.ttf"); in test_subset_glyf()
64 hb_face_t *face_ac = hb_test_open_font_file ("fonts/Roboto-Regular.ac.ttf"); in test_subset_glyf()
67 hb_face_t *face_abc_subset; in test_subset_glyf()
85 hb_face_t *face_components = hb_test_open_font_file ("fonts/Roboto-Regular.components.ttf"); in test_subset_glyf_with_components()
86 hb_face_t *face_subset = hb_test_open_font_file ("fonts/Roboto-Regular.components.subset.ttf"); in test_subset_glyf_with_components()
89 hb_face_t *face_generated_subset; in test_subset_glyf_with_components()
106 hb_face_t *face_fil = hb_test_open_font_file ("fonts/Roboto-Regular.gsub.fil.ttf"); in test_subset_glyf_with_gsub()
107 hb_face_t *face_fi = hb_test_open_font_file ("fonts/Roboto-Regular.gsub.fi.ttf"); in test_subset_glyf_with_gsub()
109 hb_face_t *face_subset; in test_subset_glyf_with_gsub()
[all …]
Dtest-subset-hmtx.c32 static void check_num_hmetrics(hb_face_t *face, uint16_t expected_num_hmetrics) in check_num_hmetrics()
50 hb_face_t *face_abc = hb_test_open_font_file ("fonts/Roboto-Regular.abc.ttf"); in test_subset_hmtx_simple_subset()
51 hb_face_t *face_ac = hb_test_open_font_file ("fonts/Roboto-Regular.ac.ttf"); in test_subset_hmtx_simple_subset()
54 hb_face_t *face_abc_subset; in test_subset_hmtx_simple_subset()
72 hb_face_t *face_abc = hb_test_open_font_file ("fonts/Inconsolata-Regular.abc.ttf"); in test_subset_hmtx_monospace()
73 hb_face_t *face_ac = hb_test_open_font_file ("fonts/Inconsolata-Regular.ac.ttf"); in test_subset_hmtx_monospace()
76 hb_face_t *face_abc_subset; in test_subset_hmtx_monospace()
94 hb_face_t *face_abc = hb_test_open_font_file ("fonts/Inconsolata-Regular.abc.widerc.ttf"); in test_subset_hmtx_keep_num_metrics()
95 hb_face_t *face_ac = hb_test_open_font_file ("fonts/Inconsolata-Regular.ac.widerc.ttf"); in test_subset_hmtx_keep_num_metrics()
98 hb_face_t *face_abc_subset; in test_subset_hmtx_keep_num_metrics()
[all …]
Dtest-subset-cff2.c35 hb_face_t *face_abc = hb_test_open_font_file("fonts/AdobeVFPrototype.abc.otf"); in test_subset_cff2_noop()
38 hb_face_t *face_abc_subset; in test_subset_cff2_noop()
54 hb_face_t *face_abc = hb_test_open_font_file ("fonts/AdobeVFPrototype.abc.otf"); in test_subset_cff2()
55 hb_face_t *face_ac = hb_test_open_font_file ("fonts/AdobeVFPrototype.ac.otf"); in test_subset_cff2()
58 hb_face_t *face_abc_subset; in test_subset_cff2()
74 hb_face_t *face_abc = hb_test_open_font_file ("fonts/AdobeVFPrototype.abc.otf"); in test_subset_cff2_strip_hints()
75 hb_face_t *face_ac = hb_test_open_font_file ("fonts/AdobeVFPrototype.ac.nohints.otf"); in test_subset_cff2_strip_hints()
79 hb_face_t *face_abc_subset; in test_subset_cff2_strip_hints()
97 hb_face_t *face_abc = hb_test_open_font_file ("fonts/AdobeVFPrototype.abc.otf"); in test_subset_cff2_desubr()
98 hb_face_t *face_ac = hb_test_open_font_file ("fonts/AdobeVFPrototype.ac.nosubrs.otf"); in test_subset_cff2_desubr()
[all …]
Dtest-subset-hdmx.c36 hb_face_t *face_abc = hb_test_open_font_file ("fonts/Roboto-Regular.abc.ttf"); in test_subset_hdmx_simple_subset()
37 hb_face_t *face_ac = hb_test_open_font_file ("fonts/Roboto-Regular.ac.ttf"); in test_subset_hdmx_simple_subset()
40 hb_face_t *face_abc_subset; in test_subset_hdmx_simple_subset()
56 hb_face_t *face_abc = hb_test_open_font_file ("fonts/Roboto-Regular.multihdmx.abc.ttf"); in test_subset_hdmx_multiple_device_records()
57 hb_face_t *face_a = hb_test_open_font_file ("fonts/Roboto-Regular.multihdmx.a.ttf"); in test_subset_hdmx_multiple_device_records()
60 hb_face_t *face_abc_subset; in test_subset_hdmx_multiple_device_records()
75hb_face_t *face = hb_test_open_font_file ("../fuzzing/fonts/crash-ccc61c92d589f895174cdef6ff2e3b20… in test_subset_hdmx_invalid()
79 hb_face_t *subset; in test_subset_hdmx_invalid()
97hb_face_t *face = hb_test_open_font_file ("../fuzzing/fonts/clusterfuzz-testcase-minimized-hb-subs… in test_subset_hdmx_fails_sanitize()
101 hb_face_t *subset; in test_subset_hdmx_fails_sanitize()
[all …]
Dtest-subset-cmap.c35 hb_face_t *face_abc = hb_test_open_font_file ("fonts/Roboto-Regular.abc.ttf"); in test_subset_cmap()
36 hb_face_t *face_ac = hb_test_open_font_file ("fonts/Roboto-Regular.ac.ttf"); in test_subset_cmap()
39 hb_face_t *face_abc_subset; in test_subset_cmap()
55 hb_face_t *face = hb_test_open_font_file ("fonts/Roboto-Regular.D7,D8,D9,DA,DE.ttf"); in test_subset_cmap_non_consecutive_glyphs()
58 hb_face_t *face_subset; in test_subset_cmap_non_consecutive_glyphs()
77 hb_face_t *face_abc = hb_test_open_font_file ("fonts/Roboto-Regular.abc.ttf"); in test_subset_cmap_noop()
80 hb_face_t *face_abc_subset; in test_subset_cmap_noop()
Dtest-subset.c35hb_face_t *face = hb_test_open_font_file ("../fuzzing/fonts/oom-6ef8c96d3710262511bcc730dce9c00e72… in test_subset_32_tables()
39 hb_face_t *subset; in test_subset_32_tables()
57hb_face_t *face = hb_test_open_font_file ("../fuzzing/fonts/clusterfuzz-testcase-minimized-hb-subs… in test_subset_no_inf_loop()
61 hb_face_t *subset; in test_subset_no_inf_loop()
79hb_face_t *face = hb_test_open_font_file ("../fuzzing/fonts/crash-4b60576767ee4d9fe1cc10959d89baf7… in test_subset_crash()
83 hb_face_t *subset; in test_subset_crash()
Dtest-subset-vmtx.c32 static void check_num_vmetrics(hb_face_t *face, uint16_t expected_num_vmetrics) in check_num_vmetrics()
49hb_face_t *face_full = hb_test_open_font_file ("fonts/Mplus1p-Regular.660E,6975,73E0,5EA6,8F38,6E0… in test_subset_vmtx_simple_subset()
50 hb_face_t *face_subset = hb_test_open_font_file ("fonts/Mplus1p-Regular.660E.ttf"); in test_subset_vmtx_simple_subset()
51 hb_face_t *face_full_subset; in test_subset_vmtx_simple_subset()
70hb_face_t *face_full = hb_test_open_font_file ("fonts/Mplus1p-Regular.660E,6975,73E0,5EA6,8F38,6E0… in test_subset_vmtx_noop()
71 hb_face_t *face_full_subset; in test_subset_vmtx_noop()
Dhb-subset-test.h59 static inline hb_face_t *
60 hb_subset_test_create_subset (hb_face_t *source, in hb_subset_test_create_subset()
63 hb_face_t *subset = hb_subset (source, input); in hb_subset_test_create_subset()
71 hb_subset_test_check (hb_face_t *expected, in hb_subset_test_check()
72 hb_face_t *actual, in hb_subset_test_check()
Dtest-ot-extents-cff.c35 hb_face_t *face = hb_test_open_font_file ("fonts/SourceSansPro-Regular.abc.otf"); in test_extents_cff1()
53 hb_face_t *face_j = hb_test_open_font_file ("fonts/SourceHanSans-Regular.41,3041,4C2E.otf"); in test_extents_cff1()
74 hb_face_t *face = hb_test_open_font_file ("fonts/cff1_flex.otf"); in test_extents_cff1_flex()
96 hb_face_t *face = hb_test_open_font_file ("fonts/cff1_seac.otf"); in test_extents_cff1_seac()
126 hb_face_t *face = hb_test_open_font_file ("fonts/AdobeVFPrototype.abc.otf"); in test_extents_cff2()
158 hb_face_t *face = hb_test_open_font_file ("fonts/AdobeVFPrototype_vsindex.otf"); in test_extents_cff2_vsindex()
/external/harfbuzz_ng/test/fuzzing/
Dhb-subset-fuzzer.cc10 trySubset (hb_face_t *face, in trySubset()
26 hb_face_t *result = hb_subset (face, input); in trySubset()
33 trySubset (hb_face_t *face, in trySubset()
51 hb_face_t *face = hb_face_create (blob, 0); in LLVMFuzzerTestOneInput()

12345