/third_party/skia/third_party/externals/freetype/src/truetype/ |
H A D | ttpload.c | 52 * face :: 53 * A handle to the target face object. 63 tt_face_load_loca( TT_Face face, in FT_LOCAL_DEF() 72 error = face->goto_table( face, TTAG_glyf, stream, &face->glyf_len ); in FT_LOCAL_DEF() 78 face->glyf_len = 0; in FT_LOCAL_DEF() 79 face->glyf_offset = 0; in FT_LOCAL_DEF() 86 if ( face->root.internal->incremental_interface ) in FT_LOCAL_DEF() 87 face in FT_LOCAL_DEF() 618 tt_face_get_device_metrics( TT_Face face, FT_UInt ppem, FT_UInt gindex ) tt_face_get_device_metrics() argument [all...] |
H A D | ttobjs.c | 170 /* Compare the face with a list of well-known `tricky' fonts. */ 278 tt_get_sfnt_checksum( TT_Face face, in tt_get_sfnt_checksum() argument 282 if ( face->dir_tables[i].CheckSum ) in tt_get_sfnt_checksum() 283 return face->dir_tables[i].CheckSum; in tt_get_sfnt_checksum() 286 if ( !face->goto_table ) in tt_get_sfnt_checksum() 289 if ( face->goto_table( face, in tt_get_sfnt_checksum() 290 face->dir_tables[i].Tag, in tt_get_sfnt_checksum() 291 face->root.stream, in tt_get_sfnt_checksum() 295 return (FT_ULong)tt_synth_sfnt_checksum( face in tt_get_sfnt_checksum() 583 TT_Face face = (TT_Face)ttface; tt_check_single_notdef() local 666 TT_Face face = (TT_Face)ttface; FT_LOCAL_DEF() local 824 TT_Face face = (TT_Face)ttface; tt_face_done() local 896 TT_Face face = (TT_Face)size->root.face; FT_LOCAL_DEF() local 990 TT_Face face = (TT_Face)size->root.face; FT_LOCAL_DEF() local 1080 TT_Face face = (TT_Face)ftsize->face; tt_size_done_bytecode() local 1123 TT_Face face = (TT_Face)ftsize->face; tt_size_init_bytecode() local 1359 TT_Face face; FT_LOCAL_DEF() local [all...] |
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | hb-face.cc | 31 #include "hb-face.hh" 34 #include "hb-ot-face.hh" 40 * SECTION:hb-face 41 * @title: hb-face 42 * @short_description: Font face objects 45 * A font face is an object that represents a single face from within a 48 * More precisely, a font face represents a single face in a binary font file. 49 * Font faces are typically built from a binary blob and a face inde 123 hb_face_t *face; hb_face_create_for_tables() local 210 hb_face_t *face; hb_face_create() local 261 hb_face_reference(hb_face_t *face) hb_face_reference() argument 277 hb_face_destroy(hb_face_t *face) hb_face_destroy() argument 313 hb_face_set_user_data(hb_face_t *face, hb_user_data_key_t *key, void * data, hb_destroy_func_t destroy, hb_bool_t replace) hb_face_set_user_data() argument 335 hb_face_get_user_data(const hb_face_t *face, hb_user_data_key_t *key) hb_face_get_user_data() argument 350 hb_face_make_immutable(hb_face_t *face) hb_face_make_immutable() argument 369 hb_face_is_immutable(const hb_face_t *face) hb_face_is_immutable() argument 388 hb_face_reference_table(const hb_face_t *face, hb_tag_t tag) hb_face_reference_table() argument 410 hb_face_reference_blob(hb_face_t *face) hb_face_reference_blob() argument 428 hb_face_set_index(hb_face_t *face, unsigned int index) hb_face_set_index() argument 450 hb_face_get_index(const hb_face_t *face) hb_face_get_index() argument 465 hb_face_set_upem(hb_face_t *face, unsigned int upem) hb_face_set_upem() argument 485 hb_face_get_upem(const hb_face_t *face) hb_face_get_upem() argument 500 hb_face_set_glyph_count(hb_face_t *face, unsigned int glyph_count) hb_face_set_glyph_count() argument 520 hb_face_get_glyph_count(const hb_face_t *face) hb_face_get_glyph_count() argument 541 hb_face_get_table_tags(const hb_face_t *face, unsigned int start_offset, unsigned int *table_count, hb_tag_t *table_tags ) hb_face_get_table_tags() argument 579 hb_face_collect_unicodes(hb_face_t *face, hb_set_t *out) hb_face_collect_unicodes() argument 595 hb_face_collect_variation_selectors(hb_face_t *face, hb_set_t *out) hb_face_collect_variation_selectors() argument 612 hb_face_collect_variation_unicodes(hb_face_t *face, hb_codepoint_t variation_selector, hb_set_t *out) hb_face_collect_variation_unicodes() argument 759 hb_face_builder_add_table(hb_face_t *face, hb_tag_t tag, hb_blob_t *blob) hb_face_builder_add_table() argument [all...] |
H A D | hb-ot-color.cc | 60 * @face: #hb_face_t to work upon 62 * Tests whether a face includes a `CPAL` color-palette table. 69 hb_ot_color_has_palettes (hb_face_t *face) in hb_ot_color_has_palettes() argument 71 return face->table.CPAL->has_data (); in hb_ot_color_has_palettes() 76 * @face: #hb_face_t to work upon 78 * Fetches the number of color palettes in a face. 85 hb_ot_color_palette_get_count (hb_face_t *face) in hb_ot_color_palette_get_count() argument 87 return face->table.CPAL->get_palette_count (); in hb_ot_color_palette_get_count() 92 * @face: #hb_face_t to work upon 107 hb_ot_color_palette_get_name_id (hb_face_t *face, in hb_ot_color_palette_get_name_id() argument 129 hb_ot_color_palette_color_get_name_id(hb_face_t *face, unsigned int color_index) hb_ot_color_palette_color_get_name_id() argument 147 hb_ot_color_palette_get_flags(hb_face_t *face, unsigned int palette_index) hb_ot_color_palette_get_flags() argument 175 hb_ot_color_palette_get_colors(hb_face_t *face, unsigned int palette_index, unsigned int start_offset, unsigned int *colors_count , hb_color_t *colors ) hb_ot_color_palette_get_colors() argument 200 hb_ot_color_has_layers(hb_face_t *face) hb_ot_color_has_layers() argument 222 hb_ot_color_glyph_get_layers(hb_face_t *face, hb_codepoint_t glyph, unsigned int start_offset, unsigned int *layer_count, hb_ot_color_layer_t *layers ) hb_ot_color_glyph_get_layers() argument 247 hb_ot_color_has_svg(hb_face_t *face) hb_ot_color_has_svg() argument 264 hb_ot_color_glyph_reference_svg(hb_face_t *face, hb_codepoint_t glyph) hb_ot_color_glyph_reference_svg() argument 285 hb_ot_color_has_png(hb_face_t *face) hb_ot_color_has_png() argument [all...] |
H A D | hb-ot-var.cc | 55 * @face: The #hb_face_t to work on 57 * Tests whether a face includes any OpenType variation data in the `fvar` table. 64 hb_ot_var_has_data (hb_face_t *face) in hb_ot_var_has_data() argument 66 return face->table.fvar->has_data (); in hb_ot_var_has_data() 71 * @face: The #hb_face_t to work on 73 * Fetches the number of OpenType variation axes included in the face. 80 hb_ot_var_get_axis_count (hb_face_t *face) in hb_ot_var_get_axis_count() argument 82 return face->table.fvar->get_axis_count (); in hb_ot_var_get_axis_count() 88 * @face: #hb_face_t to work upon 94 * Fetches a list of all variation axes in the specified face 101 hb_ot_var_get_axes(hb_face_t *face, unsigned int start_offset, unsigned int *axes_count , hb_ot_var_axis_t *axes_array ) hb_ot_var_get_axes() argument 123 hb_ot_var_find_axis(hb_face_t *face, hb_tag_t axis_tag, unsigned int *axis_index, hb_ot_var_axis_t *axis_info) hb_ot_var_find_axis() argument 148 hb_ot_var_get_axis_infos(hb_face_t *face, unsigned int start_offset, unsigned int *axes_count , hb_ot_var_axis_info_t *axes_array ) hb_ot_var_get_axis_infos() argument 170 hb_ot_var_find_axis_info(hb_face_t *face, hb_tag_t axis_tag, hb_ot_var_axis_info_t *axis_info) hb_ot_var_find_axis_info() argument 193 hb_ot_var_get_named_instance_count(hb_face_t *face) hb_ot_var_get_named_instance_count() argument 211 hb_ot_var_named_instance_get_subfamily_name_id(hb_face_t *face, unsigned int instance_index) hb_ot_var_named_instance_get_subfamily_name_id() argument 230 hb_ot_var_named_instance_get_postscript_name_id(hb_face_t *face, unsigned int instance_index) hb_ot_var_named_instance_get_postscript_name_id() argument 252 hb_ot_var_named_instance_get_design_coords(hb_face_t *face, unsigned int instance_index, unsigned int *coords_length, float *coords ) hb_ot_var_named_instance_get_design_coords() argument 274 hb_ot_var_normalize_variations(hb_face_t *face, const hb_variation_t *variations, unsigned int variations_length, int *coords, unsigned int coords_length) hb_ot_var_normalize_variations() argument 312 hb_ot_var_normalize_coords(hb_face_t *face, unsigned int coords_length, const float *design_coords, int *normalized_coords ) hb_ot_var_normalize_coords() argument [all...] |
H A D | hb-face.h | 63 * @face: an #hb_face_t to reference table for 69 * Return value: (transfer full): A pointer to the @tag table within @face 74 typedef hb_blob_t * (*hb_reference_table_func_t) (hb_face_t *face, hb_tag_t tag, void *user_data); 86 hb_face_reference (hb_face_t *face); 89 hb_face_destroy (hb_face_t *face); 92 hb_face_set_user_data (hb_face_t *face, 99 hb_face_get_user_data (const hb_face_t *face, 103 hb_face_make_immutable (hb_face_t *face); 106 hb_face_is_immutable (const hb_face_t *face); 110 hb_face_reference_table (const hb_face_t *face, [all...] |
H A D | hb-ot-layout.cc | 41 #include "hb-ot-face.hh" 63 * Functions for querying OpenType Layout features in the font face. 74 * @face: The #hb_face_t to work on 76 * Tests whether a face includes any kerning data in the 'kern' table. 83 hb_ot_layout_has_kerning (hb_face_t *face) in hb_ot_layout_has_kerning() argument 85 return face->table.kern->has_data (); in hb_ot_layout_has_kerning() 90 * @face: The #hb_face_t to work on 92 * Tests whether a face includes any state-machine kerning in the 'kern' table. 99 hb_ot_layout_has_machine_kerning (hb_face_t *face) in hb_ot_layout_has_machine_kerning() argument 101 return face in hb_ot_layout_has_machine_kerning() 119 hb_ot_layout_has_cross_kerning(hb_face_t *face) hb_ot_layout_has_cross_kerning() argument 277 hb_ot_layout_has_glyph_classes(hb_face_t *face) hb_ot_layout_has_glyph_classes() argument 295 hb_ot_layout_get_glyph_class(hb_face_t *face, hb_codepoint_t glyph) hb_ot_layout_get_glyph_class() argument 314 hb_ot_layout_get_glyphs_in_class(hb_face_t *face, hb_ot_layout_glyph_class_t klass, hb_set_t *glyphs ) hb_ot_layout_get_glyphs_in_class() argument 340 hb_ot_layout_get_attach_points(hb_face_t *face, hb_codepoint_t glyph, unsigned int start_offset, unsigned int *point_count , unsigned int *point_array ) hb_ot_layout_get_attach_points() argument 405 get_gsubgpos_table(hb_face_t *face, hb_tag_t table_tag) get_gsubgpos_table() argument 432 hb_ot_layout_table_get_script_tags(hb_face_t *face, hb_tag_t table_tag, unsigned int start_offset, unsigned int *script_count , hb_tag_t *script_tags ) hb_ot_layout_table_get_script_tags() argument 459 hb_ot_layout_table_find_script(hb_face_t *face, hb_tag_t table_tag, hb_tag_t script_tag, unsigned int *script_index ) hb_ot_layout_table_find_script() argument 500 hb_ot_layout_table_choose_script(hb_face_t *face, hb_tag_t table_tag, const hb_tag_t *script_tags, unsigned int *script_index , hb_tag_t *chosen_script ) hb_ot_layout_table_choose_script() argument 535 hb_ot_layout_table_select_script(hb_face_t *face, hb_tag_t table_tag, unsigned int script_count, const hb_tag_t *script_tags, unsigned int *script_index , hb_tag_t *chosen_script ) hb_ot_layout_table_select_script() argument 600 hb_ot_layout_table_get_feature_tags(hb_face_t *face, hb_tag_t table_tag, unsigned int start_offset, unsigned int *feature_count , hb_tag_t *feature_tags ) hb_ot_layout_table_get_feature_tags() argument 625 hb_ot_layout_table_find_feature(hb_face_t *face, hb_tag_t table_tag, hb_tag_t feature_tag, unsigned int *feature_index ) hb_ot_layout_table_find_feature() argument 664 hb_ot_layout_script_get_language_tags(hb_face_t *face, hb_tag_t table_tag, unsigned int script_index, unsigned int start_offset, unsigned int *language_count , hb_tag_t *language_tags ) hb_ot_layout_script_get_language_tags() argument 695 hb_ot_layout_script_find_language(hb_face_t *face, hb_tag_t table_tag, unsigned int script_index, hb_tag_t language_tag, unsigned int *language_index) hb_ot_layout_script_find_language() argument 732 hb_ot_layout_script_select_language(hb_face_t *face, hb_tag_t table_tag, unsigned int script_index, unsigned int language_count, const hb_tag_t *language_tags, unsigned int *language_index ) hb_ot_layout_script_select_language() argument 774 hb_ot_layout_language_get_required_feature_index(hb_face_t *face, hb_tag_t table_tag, unsigned int script_index, unsigned int language_index, unsigned int *feature_index ) hb_ot_layout_language_get_required_feature_index() argument 806 hb_ot_layout_language_get_required_feature(hb_face_t *face, hb_tag_t table_tag, unsigned int script_index, unsigned int language_index, unsigned int *feature_index , hb_tag_t *feature_tag ) hb_ot_layout_language_get_required_feature() argument 842 hb_ot_layout_language_get_feature_indexes(hb_face_t *face, hb_tag_t table_tag, unsigned int script_index, unsigned int language_index, unsigned int start_offset, unsigned int *feature_count , unsigned int *feature_indexes ) hb_ot_layout_language_get_feature_indexes() argument 875 hb_ot_layout_language_get_feature_tags(hb_face_t *face, hb_tag_t table_tag, unsigned int script_index, unsigned int language_index, unsigned int start_offset, unsigned int *feature_count , hb_tag_t *feature_tags ) hb_ot_layout_language_get_feature_tags() argument 915 hb_ot_layout_language_find_feature(hb_face_t *face, hb_tag_t table_tag, unsigned int script_index, unsigned int language_index, hb_tag_t feature_tag, unsigned int *feature_index ) hb_ot_layout_language_find_feature() argument 960 hb_ot_layout_feature_get_lookups(hb_face_t *face, hb_tag_t table_tag, unsigned int feature_index, unsigned int start_offset, unsigned int *lookup_count , unsigned int *lookup_indexes ) hb_ot_layout_feature_get_lookups() argument 990 hb_ot_layout_table_get_lookup_count(hb_face_t *face, hb_tag_t table_tag) hb_ot_layout_table_get_lookup_count() argument 1175 hb_ot_layout_collect_features(hb_face_t *face, hb_tag_t table_tag, const hb_tag_t *scripts, const hb_tag_t *languages, const hb_tag_t *features, hb_set_t *feature_indexes ) hb_ot_layout_collect_features() argument 1224 hb_ot_layout_collect_lookups(hb_face_t *face, hb_tag_t table_tag, const hb_tag_t *scripts, const hb_tag_t *languages, const hb_tag_t *features, hb_set_t *lookup_indexes ) hb_ot_layout_collect_lookups() argument 1261 hb_ot_layout_lookup_collect_glyphs(hb_face_t *face, hb_tag_t table_tag, unsigned int lookup_index, hb_set_t *glyphs_before, hb_set_t *glyphs_input, hb_set_t *glyphs_after, hb_set_t *glyphs_output ) hb_ot_layout_lookup_collect_glyphs() argument 1312 hb_ot_layout_table_find_feature_variations(hb_face_t *face, hb_tag_t table_tag, const int *coords, unsigned int num_coords, unsigned int *variations_index ) hb_ot_layout_table_find_feature_variations() argument 1343 hb_ot_layout_feature_with_variations_get_lookups(hb_face_t *face, hb_tag_t table_tag, unsigned int feature_index, unsigned int variations_index, unsigned int start_offset, unsigned int *lookup_count , unsigned int *lookup_indexes ) hb_ot_layout_feature_with_variations_get_lookups() argument 1375 hb_ot_layout_has_substitution(hb_face_t *face) hb_ot_layout_has_substitution() argument 1398 hb_ot_layout_lookup_would_substitute(hb_face_t *face, unsigned int lookup_index, const hb_codepoint_t *glyphs, unsigned int glyphs_length, hb_bool_t zero_context) hb_ot_layout_lookup_would_substitute() argument 1490 hb_ot_layout_lookup_substitute_closure(hb_face_t *face, unsigned int lookup_index, hb_set_t *glyphs ) hb_ot_layout_lookup_substitute_closure() argument 1519 hb_ot_layout_lookups_substitute_closure(hb_face_t *face, const hb_set_t *lookups, hb_set_t *glyphs ) hb_ot_layout_lookups_substitute_closure() argument 1566 hb_ot_layout_has_positioning(hb_face_t *face) hb_ot_layout_has_positioning() argument 1640 hb_ot_layout_get_size_params(hb_face_t *face, unsigned int *design_size, unsigned int *subfamily_id, hb_ot_name_id_t *subfamily_name_id, unsigned int *range_start, unsigned int *range_end ) hb_ot_layout_get_size_params() argument 1704 hb_ot_layout_feature_get_name_ids(hb_face_t *face, hb_tag_t table_tag, unsigned int feature_index, hb_ot_name_id_t *label_id, hb_ot_name_id_t *tooltip_id, hb_ot_name_id_t *sample_id, unsigned int *num_named_parameters, hb_ot_name_id_t *first_param_id ) hb_ot_layout_feature_get_name_ids() argument 1773 hb_ot_layout_feature_get_characters(hb_face_t *face, hb_tag_t table_tag, unsigned int feature_index, unsigned int start_offset, unsigned int *char_count, hb_codepoint_t *characters ) hb_ot_layout_feature_get_characters() argument 2002 hb_face_t *face; global() member 2038 hb_ot_layout_lookup_get_glyph_alternates(hb_face_t *face, unsigned lookup_index, hb_codepoint_t glyph, unsigned start_offset, unsigned *alternate_count , hb_codepoint_t *alternate_glyphs ) hb_ot_layout_lookup_get_glyph_alternates() argument [all...] |
/third_party/skia/third_party/externals/freetype/src/sfnt/ |
H A D | sfobjs.c | 132 tt_face_get_name( TT_Face face, in FT_LOCAL_DEF() 136 FT_Memory memory = face->root.memory; in FT_LOCAL_DEF() 155 rec = face->name_table.names; in FT_LOCAL_DEF() 156 for ( n = 0; n < face->num_names; n++, rec++ ) in FT_LOCAL_DEF() 229 rec = face->name_table.names + found_win; in FT_LOCAL_DEF() 253 rec = face->name_table.names + found_apple; in FT_LOCAL_DEF() 258 rec = face->name_table.names + found_unicode; in FT_LOCAL_DEF() 266 FT_Stream stream = face->name_table.stream; in FT_LOCAL_DEF() 340 /* Fill in face->ttc_header. If the font is not a TTC, it is */ 344 TT_Face face, in sfnt_open_font() 343 sfnt_open_font( FT_Stream stream, TT_Face face, FT_Int* face_instance_index, FT_Long* woff2_num_faces ) sfnt_open_font() argument [all...] |
H A D | ttcpal.c | 74 tt_face_load_cpal( TT_Face face, in FT_LOCAL_DEF() 78 FT_Memory memory = face->root.memory; in FT_LOCAL_DEF() 89 error = face->goto_table( face, TTAG_CPAL, stream, &table_size ); in FT_LOCAL_DEF() 108 face->palette_data.num_palette_entries = FT_NEXT_USHORT( p ); in FT_LOCAL_DEF() 109 face->palette_data.num_palettes = FT_NEXT_USHORT( p ); in FT_LOCAL_DEF() 115 face->palette_data.num_palettes * 2U > table_size ) in FT_LOCAL_DEF() 123 if ( face->palette_data.num_palette_entries > cpal->num_colors ) in FT_LOCAL_DEF() 138 face->palette_data.num_palettes * 2U + in FT_LOCAL_DEF() 142 p += face in FT_LOCAL_DEF() [all...] |
H A D | ttsbit.c | 49 tt_face_load_sbit( TT_Face face, in FT_LOCAL_DEF() 57 face->sbit_table = NULL; in FT_LOCAL_DEF() 58 face->sbit_table_size = 0; in FT_LOCAL_DEF() 59 face->sbit_table_type = TT_SBIT_TABLE_TYPE_NONE; in FT_LOCAL_DEF() 60 face->sbit_num_strikes = 0; in FT_LOCAL_DEF() 62 error = face->goto_table( face, TTAG_CBLC, stream, &table_size ); in FT_LOCAL_DEF() 64 face->sbit_table_type = TT_SBIT_TABLE_TYPE_CBLC; in FT_LOCAL_DEF() 67 error = face->goto_table( face, TTAG_EBL in FT_LOCAL_DEF() 474 TT_Face face; global() member 494 tt_sbit_decoder_init( TT_SBitDecoder decoder, TT_Face face, FT_ULong strike_index, TT_SBit_MetricsRec* metrics ) tt_sbit_decoder_init() argument 1470 tt_face_load_sbix_image( TT_Face face, FT_ULong strike_index, FT_UInt glyph_index, FT_Stream stream, FT_Bitmap *map, TT_SBit_MetricsRec *metrics, FT_Bool metrics_only ) tt_face_load_sbix_image() argument [all...] |
H A D | ttmtx.c | 56 * Load the `hmtx' or `vmtx' table into a face object. 59 * face :: 60 * A handle to the target face object. 72 tt_face_load_hmtx( TT_Face face, in FT_LOCAL_DEF() 85 ptable_offset = &face->vert_metrics_offset; in FT_LOCAL_DEF() 86 ptable_size = &face->vert_metrics_size; in FT_LOCAL_DEF() 91 ptable_offset = &face->horz_metrics_offset; in FT_LOCAL_DEF() 92 ptable_size = &face->horz_metrics_size; in FT_LOCAL_DEF() 95 error = face->goto_table( face, ta in FT_LOCAL_DEF() 228 tt_face_get_metrics( TT_Face face, FT_Bool vertical, FT_UInt gindex, FT_Short *abearing, FT_UShort *aadvance ) tt_face_get_metrics() argument [all...] |
H A D | sfdriver.c | 79 get_sfnt_table( TT_Face face, in get_sfnt_table() argument 88 table = &face->header; in get_sfnt_table() 92 table = &face->horizontal; in get_sfnt_table() 96 table = face->vertical_info ? &face->vertical : NULL; in get_sfnt_table() 100 table = ( face->os2.version == 0xFFFFU ) ? NULL : &face->os2; in get_sfnt_table() 104 table = &face->postscript; in get_sfnt_table() 108 table = &face->max_profile; in get_sfnt_table() 112 table = face in get_sfnt_table() 124 sfnt_table_info( TT_Face face, FT_UInt idx, FT_ULong *tag, FT_ULong *offset, FT_ULong *length ) sfnt_table_info() argument 166 sfnt_get_glyph_name( FT_Face face, FT_UInt glyph_index, FT_Pointer buffer, FT_UInt buffer_max ) sfnt_get_glyph_name() argument 184 sfnt_get_name_index( FT_Face face, const FT_String* glyph_name ) sfnt_get_name_index() argument 606 sfnt_get_name_id( TT_Face face, FT_UShort id, FT_Int *win, FT_Int *apple ) sfnt_get_name_id() argument 1110 sfnt_get_charset_id( TT_Face face, const char* *acharset_encoding, const char* *acharset_registry ) sfnt_get_charset_id() argument [all...] |
/third_party/skia/third_party/externals/freetype/src/base/ |
H A D | ftmm.c | 38 ft_face_get_mm_service( FT_Face face, in ft_face_get_mm_service() argument 46 if ( !face ) in ft_face_get_mm_service() 51 if ( FT_HAS_MULTIPLE_MASTERS( face ) ) in ft_face_get_mm_service() 53 FT_FACE_LOOKUP_SERVICE( face, in ft_face_get_mm_service() 66 ft_face_get_mvar_service( FT_Face face, in ft_face_get_mvar_service() argument 74 if ( !face ) in ft_face_get_mvar_service() 79 if ( FT_HAS_MULTIPLE_MASTERS( face ) ) in ft_face_get_mvar_service() 81 FT_FACE_LOOKUP_SERVICE( face, in ft_face_get_mvar_service() 96 FT_Get_Multi_Master( FT_Face face, in FT_EXPORT_DEF() 103 /* check of `face' delaye in FT_EXPORT_DEF() [all...] |
H A D | ftobjs.c | 311 FT_Driver driver = slot->face->driver; in ft_glyphslot_init() 341 FT_Memory memory = FT_FACE_MEMORY( slot->face ); in ft_glyphslot_free_bitmap() 529 FT_Memory memory = FT_FACE_MEMORY( slot->face ); in FT_BASE_DEF() 582 FT_Driver driver = slot->face->driver; in ft_glyphslot_done() 611 FT_New_GlyphSlot( FT_Face face, in FT_BASE_DEF() 621 if ( !face ) in FT_BASE_DEF() 624 if ( !face->driver ) in FT_BASE_DEF() 627 driver = face->driver; in FT_BASE_DEF() 634 slot->face = face; in FT_BASE_DEF() 705 FT_Set_Transform( FT_Face face, FT_Matrix* matrix, FT_Vector* delta ) FT_Set_Transform() argument 756 FT_Get_Transform( FT_Face face, FT_Matrix* matrix, FT_Vector* delta ) FT_Get_Transform() argument 1185 destroy_charmaps( FT_Face face, FT_Memory memory ) destroy_charmaps() argument 1211 destroy_face( FT_Memory memory, FT_Face face, FT_Driver driver ) destroy_face() argument 1422 FT_Face face = NULL; open_face() local 2443 FT_Face face = NULL; ft_open_face_internal() local 2948 FT_Face face; FT_EXPORT_DEF() local 3075 ft_recompute_scaled_metrics( FT_Face face, FT_Size_Metrics* metrics ) ft_recompute_scaled_metrics() argument 3109 FT_Select_Metrics( FT_Face face, FT_ULong strike_index ) FT_Select_Metrics() argument 3689 FT_Face face = cmap->charmap.face; ft_cmap_done_internal() local 3705 FT_Face face = cmap->charmap.face; FT_CMap_Done() local 3753 FT_Face face; FT_BASE_DEF() local 4083 FT_Face_GetVariantsOfChar( FT_Face face, FT_ULong charcode ) FT_Face_GetVariantsOfChar() argument 4117 FT_Face_GetCharsOfVariant( FT_Face face, FT_ULong variantSelector ) FT_Face_GetCharsOfVariant() argument 4246 FT_Get_Sfnt_Table( FT_Face face, FT_Sfnt_Tag tag ) FT_Get_Sfnt_Table() argument 4318 FT_Face face; FT_EXPORT_DEF() local 4342 FT_Face face; FT_EXPORT_DEF() local 4365 FT_Face face; FT_EXPORT_DEF() local 4441 FT_Face face = slot->face; ft_lookup_glyph_renderer() local 4621 FT_Face face = slot->face; FT_BASE_DEF() local [all...] |
H A D | ftadvanc.c | 26 _ft_face_scale_advances( FT_Face face, in _ft_face_scale_advances() argument 38 if ( !face->size ) in _ft_face_scale_advances() 42 scale = face->size->metrics.y_scale; in _ft_face_scale_advances() 44 scale = face->size->metrics.x_scale; in _ft_face_scale_advances() 66 #define LOAD_ADVANCE_FAST_CHECK( face, flags ) \ 74 FT_Get_Advance( FT_Face face, in FT_EXPORT_DEF() 82 if ( !face ) in FT_EXPORT_DEF() 88 if ( gindex >= (FT_UInt)face->num_glyphs ) in FT_EXPORT_DEF() 91 func = face->driver->clazz->get_advances; in FT_EXPORT_DEF() 92 if ( func && LOAD_ADVANCE_FAST_CHECK( face, flag in FT_EXPORT_DEF() [all...] |
H A D | ftsnames.c | 35 FT_Get_Sfnt_Name_Count( FT_Face face ) in FT_EXPORT_DEF() 37 return ( face && FT_IS_SFNT( face ) ) ? ((TT_Face)face)->num_names : 0; in FT_EXPORT_DEF() 44 FT_Get_Sfnt_Name( FT_Face face, in FT_EXPORT_DEF() 51 if ( aname && face && FT_IS_SFNT( face ) ) in FT_EXPORT_DEF() 53 TT_Face ttface = (TT_Face)face; in FT_EXPORT_DEF() 64 FT_Memory memory = face->memory; in FT_EXPORT_DEF() 65 FT_Stream stream = face in FT_EXPORT_DEF() [all...] |
H A D | ftcolor.c | 34 FT_Palette_Data_Get( FT_Face face, in FT_EXPORT_DEF() 37 if ( !face ) in FT_EXPORT_DEF() 42 if ( FT_IS_SFNT( face ) ) in FT_EXPORT_DEF() 43 *apalette_data = ( (TT_Face)face )->palette_data; in FT_EXPORT_DEF() 54 FT_Palette_Select( FT_Face face, in FT_EXPORT_DEF() 64 if ( !face ) in FT_EXPORT_DEF() 67 if ( !FT_IS_SFNT( face ) ) in FT_EXPORT_DEF() 75 ttface = (TT_Face)face; in FT_EXPORT_DEF() 94 FT_Palette_Set_Foreground_Color( FT_Face face, in FT_EXPORT_DEF() 100 if ( !face ) in FT_EXPORT_DEF() [all...] |
H A D | ftpfr.c | 26 ft_pfr_check( FT_Face face ) in ft_pfr_check() 31 if ( face ) in ft_pfr_check() 32 FT_FACE_LOOKUP_SERVICE( face, service, PFR_METRICS ); in ft_pfr_check() 41 FT_Get_PFR_Metrics( FT_Face face, in FT_EXPORT_DEF() 51 if ( !face ) in FT_EXPORT_DEF() 54 service = ft_pfr_check( face ); in FT_EXPORT_DEF() 57 error = service->get_metrics( face, in FT_EXPORT_DEF() 70 *aoutline_resolution = face->units_per_EM; in FT_EXPORT_DEF() 73 *ametrics_resolution = face->units_per_EM; in FT_EXPORT_DEF() 76 if ( face in FT_EXPORT_DEF() [all...] |
/third_party/skia/third_party/externals/harfbuzz/test/api/ |
H A D | test-ot-face.c | 41 hb_face_t *face = hb_font_get_face (font); in test_font() local 51 hb_face_collect_unicodes (face, set); in test_font() 52 hb_face_collect_variation_selectors (face, set); in test_font() 53 hb_face_collect_variation_unicodes (face, cp, set); in test_font() 66 hb_ot_color_has_palettes (face); in test_font() 67 hb_ot_color_palette_get_count (face); in test_font() 68 hb_ot_color_palette_get_name_id (face, cp); in test_font() 69 hb_ot_color_palette_color_get_name_id (face, cp); in test_font() 70 hb_ot_color_palette_get_flags (face, cp); in test_font() 71 hb_ot_color_palette_get_colors (face, c in test_font() 187 hb_face_t *face = hb_test_open_font_file ("fonts/Zycon.ttf"); test_ot_var_axis_on_zero_named_instance() local [all...] |
/third_party/skia/third_party/externals/freetype/include/freetype/ |
H A D | freetype.h | 489 * A handle to a typographic face object. A face object models a given 493 * A face object also owns a single @FT_GlyphSlot object, as well as one 496 * Use @FT_New_Face or @FT_Open_Face to create a new face object from a 509 * See @FT_FaceRec for the publicly accessible fields of a given face 521 * A handle to an object that models a face scaled to a given character 536 * given time per face. 552 * any of the glyphs contained in its parent face. 572 * glyph indexes for its parent's face. Some font formats may provide 575 * Each face objec 854 FT_Face face; global() member 1669 FT_Face face; /* parent face object */ global() member 1909 FT_Face face; global() member 2483 FT_Reference_Face( FT_Face face ); global() variable 2507 FT_Done_Face( FT_Face face ); global() variable 3721 FT_Get_Postscript_Name( FT_Face face ); global() variable 4240 FT_Get_FSType_Flags( FT_Face face ); global() variable 4403 FT_Face_GetVariantSelectors( FT_Face face ); global() variable 4808 FT_Face_CheckTrueTypePatents( FT_Face face ); global() variable [all...] |
/third_party/skia/third_party/externals/freetype/src/cff/ |
H A D | cffdrivr.c | 81 * glyphs of the same face. 84 * face :: 85 * A handle to the source face object. 116 TT_Face face = (TT_Face)ttface; in FT_CALLBACK_DEF() local 117 SFNT_Service sfnt = (SFNT_Service)face->sfnt; in FT_CALLBACK_DEF() 124 kerning->x = sfnt->get_kerning( face, left_glyph, right_glyph ); in FT_CALLBACK_DEF() 144 * A handle to the source face size at which the glyph 187 if ( cffsize->face != cffslot->face ) in FT_CALLBACK_DEF() 202 cff_get_advances( FT_Face face, in FT_CALLBACK_DEF() 316 cff_get_glyph_name( CFF_Face face, FT_UInt glyph_index, FT_Pointer buffer, FT_UInt buffer_max ) cff_get_glyph_name() argument 383 cff_get_name_index( CFF_Face face, const FT_String* glyph_name ) cff_get_name_index() argument 467 cff_ps_get_font_info( CFF_Face face, PS_FontInfoRec* afont_info ) cff_ps_get_font_info() argument 511 cff_ps_get_font_extra( CFF_Face face, PS_FontExtraRec* afont_extra ) cff_ps_get_font_extra() argument 659 FT_Face face = FT_CMAP_FACE( cmap ); cff_get_cmap_info() local 695 cff_get_ros( CFF_Face face, const char* *registry, const char* *ordering, FT_Int *supplement ) cff_get_ros() argument 752 cff_get_is_cid( CFF_Face face, FT_Bool *is_cid ) cff_get_is_cid() argument 775 cff_get_cid_from_glyph_index( CFF_Face face, FT_UInt glyph_index, FT_UInt *cid ) cff_get_cid_from_glyph_index() argument 846 cff_set_mm_blend( CFF_Face face, FT_UInt num_coords, FT_Fixed* coords ) cff_set_mm_blend() argument 858 cff_get_mm_blend( CFF_Face face, FT_UInt num_coords, FT_Fixed* coords ) cff_get_mm_blend() argument 870 cff_set_mm_weightvector( CFF_Face face, FT_UInt len, FT_Fixed* weightvector ) cff_set_mm_weightvector() argument 882 cff_get_mm_weightvector( CFF_Face face, FT_UInt* len, FT_Fixed* weightvector ) cff_get_mm_weightvector() argument 894 cff_get_mm_var( CFF_Face face, FT_MM_Var* *master ) cff_get_mm_var() argument 905 cff_set_var_design( CFF_Face face, FT_UInt num_coords, FT_Fixed* coords ) cff_set_var_design() argument 917 cff_get_var_design( CFF_Face face, FT_UInt num_coords, FT_Fixed* coords ) cff_get_var_design() argument 929 cff_set_instance( CFF_Face face, FT_UInt instance_index ) cff_set_instance() argument 964 cff_hadvance_adjust( CFF_Face face, FT_UInt gindex, FT_Int *avalue ) cff_hadvance_adjust() argument [all...] |
/third_party/skia/third_party/externals/freetype/src/type42/ |
H A D | t42objs.c | 32 T42_Open_Face( T42_Face face ) in T42_Open_Face() 36 T1_Font type1 = &face->type1; in T42_Open_Face() 37 FT_Memory memory = face->root.memory; in T42_Open_Face() 40 PSAux_Service psaux = (PSAux_Service)face->psaux; in T42_Open_Face() 43 t42_loader_init( &loader, face ); in T42_Open_Face() 47 if ( FT_QALLOC( face->ttf_data, 12 ) ) in T42_Open_Face() 50 /* while parsing the font we always update `face->ttf_size' so that */ in T42_Open_Face() 54 face->ttf_size = 12; in T42_Open_Face() 57 face->root.stream, in T42_Open_Face() 63 error = t42_parse_dict( face, in T42_Open_Face() 169 T42_Face face = (T42_Face)t42face; FT_LOCAL_DEF() local 407 T42_Face face = (T42_Face)t42face; T42_Face_Done() local 506 FT_Face face = size->face; FT_LOCAL_DEF() local 527 T42_Face face = (T42_Face)t42size->face; FT_LOCAL_DEF() local 546 T42_Face face = (T42_Face)t42size->face; FT_LOCAL_DEF() local 565 FT_Face face = t42size->face; T42_Size_Done() local 583 FT_Face face = t42slot->face; FT_LOCAL_DEF() local [all...] |
/third_party/mesa3d/src/mesa/main/ |
H A D | stencil.c | 34 * front OR back face state (as set by glActiveStencilFaceEXT) is set. 41 * glStencilFuncSeparate(GLenum face, GLenum func, ...). 188 const GLint face = ctx->Stencil.ActiveFace; in stencil_func() local 190 if (face != 0) { in stencil_func() 191 if (ctx->Stencil.Function[face] == func && in stencil_func() 192 ctx->Stencil.ValueMask[face] == mask && in stencil_func() 193 ctx->Stencil.Ref[face] == ref) in stencil_func() 197 ctx->Stencil.Function[face] = func; in stencil_func() 198 ctx->Stencil.Ref[face] = ref; in stencil_func() 199 ctx->Stencil.ValueMask[face] in stencil_func() 259 const GLint face = ctx->Stencil.ActiveFace; _mesa_StencilMask() local 302 const GLint face = ctx->Stencil.ActiveFace; stencil_op() local 371 _mesa_ActiveStencilFaceEXT(GLenum face) _mesa_ActiveStencilFaceEXT() argument 393 stencil_op_separate(struct gl_context *ctx, GLenum face, GLenum sfail, GLenum zfail, GLenum zpass) stencil_op_separate() argument 425 _mesa_StencilOpSeparate_no_error(GLenum face, GLenum sfail, GLenum zfail, GLenum zpass) _mesa_StencilOpSeparate_no_error() argument 434 _mesa_StencilOpSeparate(GLenum face, GLenum sfail, GLenum zfail, GLenum zpass) _mesa_StencilOpSeparate() argument 466 stencil_func_separate(struct gl_context *ctx, GLenum face, GLenum func, GLint ref, GLuint mask) stencil_func_separate() argument 490 _mesa_StencilFuncSeparate_no_error(GLenum face, GLenum func, GLint ref, GLuint mask) _mesa_StencilFuncSeparate_no_error() argument 499 _mesa_StencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask) _mesa_StencilFuncSeparate() argument 521 stencil_mask_separate(struct gl_context *ctx, GLenum face, GLuint mask) stencil_mask_separate() argument 538 _mesa_StencilMaskSeparate_no_error(GLenum face, GLuint mask) _mesa_StencilMaskSeparate_no_error() argument 546 _mesa_StencilMaskSeparate(GLenum face, GLuint mask) _mesa_StencilMaskSeparate() argument [all...] |
/third_party/skia/third_party/externals/freetype/src/type1/ |
H A D | t1objs.c | 58 T1_Face face = (T1_Face)size->root.face; in T1_Size_Get_Globals_Funcs() local 59 PSHinter_Service pshinter = (PSHinter_Service)face->pshinter; in T1_Size_Get_Globals_Funcs() 63 module = FT_Get_Module( size->root.face->driver->root.library, in T1_Size_Get_Globals_Funcs() 102 T1_Face face = (T1_Face)size->root.face; in FT_LOCAL_DEF() local 105 error = funcs->create( size->root.face->memory, in FT_LOCAL_DEF() 106 &face->type1.private_dict, &globals ); in FT_LOCAL_DEF() 125 error = FT_Request_Metrics( size->root.face, req ); in FT_LOCAL_DEF() 156 T1_Face face; in FT_LOCAL_DEF() local 206 T1_Face face = (T1_Face)t1face; T1_Face_Done() local 316 T1_Face face = (T1_Face)t1face; FT_LOCAL_DEF() local [all...] |
/third_party/skia/third_party/externals/freetype/src/cid/ |
H A D | cidload.c | 71 cid_load_keyword( CID_Face face, in cid_load_keyword() argument 79 CID_FaceInfo cid = &face->cid; in cid_load_keyword() 87 keyword->reader( (FT_Face)face, parser ); in cid_load_keyword() 104 object = (FT_Byte*)&face->font_extra; in cid_load_keyword() 158 cid_parse_font_matrix( CID_Face face, in cid_parse_font_matrix() argument 162 FT_Face root = (FT_Face)&face->root; in cid_parse_font_matrix() 167 if ( parser->num_dict < face->cid.num_dicts ) in cid_parse_font_matrix() 174 dict = face->cid.font_dicts + parser->num_dict; in cid_parse_font_matrix() 240 parse_fd_array( CID_Face face, in parse_fd_array() argument 243 CID_FaceInfo cid = &face in parse_fd_array() 319 parse_expansion_factor( CID_Face face, CID_Parser* parser ) parse_expansion_factor() argument 344 parse_font_name( CID_Face face, CID_Parser* parser ) parse_font_name() argument 387 cid_parse_dict( CID_Face face, CID_Loader* loader, FT_Byte* base, FT_ULong size ) cid_parse_dict() argument 668 cid_hex_to_binary( FT_Byte* data, FT_ULong data_len, FT_ULong offset, CID_Face face, FT_ULong* data_written ) cid_hex_to_binary() argument [all...] |