/external/pdfium/core/include/fxge/ |
D | fx_freetype.h | 57 #define FXFT_Open_Face(library, args, index, face) \ argument 58 FT_Open_Face((FT_Library)(library), args, index, (FT_Face*)(face)) 59 #define FXFT_Done_Face(face) FT_Done_Face((FT_Face)(face)) argument 62 #define FXFT_New_Memory_Face(library, base, size, index, face) \ argument 63 FT_New_Memory_Face((FT_Library)(library), base, size, index, (FT_Face*)(face)) 64 #define FXFT_New_Face(library, filename, index, face) \ argument 65 FT_New_Face((FT_Library)(library), filename, index, (FT_Face*)(face)) 66 #define FXFT_Get_Face_FreeType(face) ((FT_Face)face)->driver->root.library argument 67 #define FXFT_Select_Charmap(face, encoding) FT_Select_Charmap((FT_Face)face, (FT_Encoding)encoding) argument 68 #define FXFT_Set_Charmap(face, charmap) FT_Set_Charmap((FT_Face)face, (FT_CharMap)charmap) argument [all …]
|
/external/pdfium/third_party/freetype/src/truetype/ |
D | ttpload.c | 62 tt_face_load_loca( TT_Face face, in tt_face_load_loca() argument 71 error = face->goto_table( face, TTAG_glyf, stream, &face->glyf_len ); in tt_face_load_loca() 76 face->glyf_len = 0; in tt_face_load_loca() 81 error = face->goto_table( face, TTAG_loca, stream, &table_len ); in tt_face_load_loca() 88 if ( face->header.Index_To_Loc_Format != 0 ) in tt_face_load_loca() 98 face->num_locations = table_len >> shift; in tt_face_load_loca() 110 face->num_locations = table_len >> shift; in tt_face_load_loca() 113 if ( face->num_locations != (FT_ULong)face->root.num_glyphs + 1 ) in tt_face_load_loca() 116 face->num_locations - 1, face->root.num_glyphs )); in tt_face_load_loca() 119 if ( face->num_locations <= (FT_ULong)face->root.num_glyphs ) in tt_face_load_loca() [all …]
|
D | ttobjs.c | 215 tt_get_sfnt_checksum( TT_Face face, in tt_get_sfnt_checksum() argument 219 if ( face->dir_tables[i].CheckSum ) in tt_get_sfnt_checksum() 220 return face->dir_tables[i].CheckSum; in tt_get_sfnt_checksum() 223 if ( !face->goto_table ) in tt_get_sfnt_checksum() 226 if ( face->goto_table( face, in tt_get_sfnt_checksum() 227 face->dir_tables[i].Tag, in tt_get_sfnt_checksum() 228 face->root.stream, in tt_get_sfnt_checksum() 232 return (FT_ULong)tt_synth_sfnt_checksum( face->root.stream, in tt_get_sfnt_checksum() 233 face->dir_tables[i].Length ); in tt_get_sfnt_checksum() 246 tt_check_trickyness_sfnt_ids( TT_Face face ) in tt_check_trickyness_sfnt_ids() argument [all …]
|
/external/freetype/src/truetype/ |
D | ttpload.c | 62 tt_face_load_loca( TT_Face face, in tt_face_load_loca() argument 71 error = face->goto_table( face, TTAG_glyf, stream, &face->glyf_len ); in tt_face_load_loca() 76 face->glyf_len = 0; in tt_face_load_loca() 81 error = face->goto_table( face, TTAG_loca, stream, &table_len ); in tt_face_load_loca() 88 if ( face->header.Index_To_Loc_Format != 0 ) in tt_face_load_loca() 98 face->num_locations = table_len >> shift; in tt_face_load_loca() 110 face->num_locations = table_len >> shift; in tt_face_load_loca() 113 if ( face->num_locations != (FT_ULong)face->root.num_glyphs + 1 ) in tt_face_load_loca() 116 face->num_locations - 1, face->root.num_glyphs )); in tt_face_load_loca() 119 if ( face->num_locations <= (FT_ULong)face->root.num_glyphs ) in tt_face_load_loca() [all …]
|
D | ttobjs.c | 215 tt_get_sfnt_checksum( TT_Face face, in tt_get_sfnt_checksum() argument 219 if ( face->dir_tables[i].CheckSum ) in tt_get_sfnt_checksum() 220 return face->dir_tables[i].CheckSum; in tt_get_sfnt_checksum() 223 if ( !face->goto_table ) in tt_get_sfnt_checksum() 226 if ( face->goto_table( face, in tt_get_sfnt_checksum() 227 face->dir_tables[i].Tag, in tt_get_sfnt_checksum() 228 face->root.stream, in tt_get_sfnt_checksum() 232 return (FT_ULong)tt_synth_sfnt_checksum( face->root.stream, in tt_get_sfnt_checksum() 233 face->dir_tables[i].Length ); in tt_get_sfnt_checksum() 246 tt_check_trickyness_sfnt_ids( TT_Face face ) in tt_check_trickyness_sfnt_ids() argument [all …]
|
/external/harfbuzz_ng/src/ |
D | hb-face.cc | 87 hb_face_t *face; in hb_face_create_for_tables() local 89 if (!reference_table_func || !(face = hb_object_create<hb_face_t> ())) { in hb_face_create_for_tables() 95 face->reference_table_func = reference_table_func; in hb_face_create_for_tables() 96 face->user_data = user_data; in hb_face_create_for_tables() 97 face->destroy = destroy; in hb_face_create_for_tables() 99 face->upem = 0; in hb_face_create_for_tables() 100 face->num_glyphs = (unsigned int) -1; in hb_face_create_for_tables() 102 return face; in hb_face_create_for_tables() 134 _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() 166 hb_face_t *face; in hb_face_create() local [all …]
|
D | hb-ot-layout.cc | 44 HB_SHAPER_DATA_ENSURE_DECLARE(ot, face) in HB_SHAPER_DATA_ENSURE_DECLARE() argument 47 _hb_ot_layout_create (hb_face_t *face) in HB_SHAPER_DATA_ENSURE_DECLARE() 53 layout->gdef_blob = OT::Sanitizer<OT::GDEF>::sanitize (face->reference_table (HB_OT_TAG_GDEF)); in HB_SHAPER_DATA_ENSURE_DECLARE() 56 layout->gsub_blob = OT::Sanitizer<OT::GSUB>::sanitize (face->reference_table (HB_OT_TAG_GSUB)); in HB_SHAPER_DATA_ENSURE_DECLARE() 59 layout->gpos_blob = OT::Sanitizer<OT::GPOS>::sanitize (face->reference_table (HB_OT_TAG_GPOS)); in HB_SHAPER_DATA_ENSURE_DECLARE() 102 _get_gdef (hb_face_t *face) in _get_gdef() argument 104 if (unlikely (!hb_ot_shaper_face_data_ensure (face))) return OT::Null(OT::GDEF); in _get_gdef() 105 return *hb_ot_layout_from_face (face)->gdef; in _get_gdef() 108 _get_gsub (hb_face_t *face) in _get_gsub() argument 110 if (unlikely (!hb_ot_shaper_face_data_ensure (face))) return OT::Null(OT::GSUB); in _get_gsub() [all …]
|
D | hb-ot-layout.h | 52 hb_ot_layout_has_glyph_classes (hb_face_t *face); 63 hb_ot_layout_get_glyph_class (hb_face_t *face, 67 hb_ot_layout_get_glyphs_in_class (hb_face_t *face, 75 hb_ot_layout_get_attach_points (hb_face_t *face, 100 hb_ot_layout_table_get_script_tags (hb_face_t *face, 107 hb_ot_layout_table_find_script (hb_face_t *face, 114 hb_ot_layout_table_choose_script (hb_face_t *face, 121 hb_ot_layout_table_get_feature_tags (hb_face_t *face, 128 hb_ot_layout_script_get_language_tags (hb_face_t *face, 136 hb_ot_layout_script_find_language (hb_face_t *face, [all …]
|
D | hb-face.h | 50 typedef hb_blob_t * (*hb_reference_table_func_t) (hb_face_t *face, hb_tag_t tag, void *user_data); 62 hb_face_reference (hb_face_t *face); 65 hb_face_destroy (hb_face_t *face); 68 hb_face_set_user_data (hb_face_t *face, 76 hb_face_get_user_data (hb_face_t *face, 80 hb_face_make_immutable (hb_face_t *face); 83 hb_face_is_immutable (hb_face_t *face); 87 hb_face_reference_table (hb_face_t *face, 91 hb_face_reference_blob (hb_face_t *face); 94 hb_face_set_index (hb_face_t *face, [all …]
|
/external/freetype/src/sfnt/ |
D | sfobjs.c | 126 tt_face_get_name( TT_Face face, in tt_face_get_name() argument 130 FT_Memory memory = face->root.memory; in tt_face_get_name() 148 rec = face->name_table.names; in tt_face_get_name() 149 for ( n = 0; n < face->num_names; n++, rec++ ) in tt_face_get_name() 222 rec = face->name_table.names + found_win; in tt_face_get_name() 246 rec = face->name_table.names + found_apple; in tt_face_get_name() 251 rec = face->name_table.names + found_unicode; in tt_face_get_name() 259 FT_Stream stream = face->name_table.stream; in tt_face_get_name() 391 TT_Face face ) in woff_open_font() argument 434 FT_ASSERT( stream == face->root.stream ); in woff_open_font() [all …]
|
D | sfdriver.c | 70 get_sfnt_table( TT_Face face, in get_sfnt_table() argument 79 table = &face->header; in get_sfnt_table() 83 table = &face->horizontal; in get_sfnt_table() 87 table = face->vertical_info ? &face->vertical : NULL; in get_sfnt_table() 91 table = face->os2.version == 0xFFFFU ? NULL : &face->os2; in get_sfnt_table() 95 table = &face->postscript; in get_sfnt_table() 99 table = &face->max_profile; in get_sfnt_table() 103 table = face->pclt.Version ? &face->pclt : NULL; in get_sfnt_table() 115 sfnt_table_info( TT_Face face, in sfnt_table_info() argument 125 *length = face->num_tables; in sfnt_table_info() [all …]
|
/external/pdfium/third_party/freetype/src/sfnt/ |
D | sfobjs.c | 144 tt_face_get_name( TT_Face face, in tt_face_get_name() argument 148 FT_Memory memory = face->root.memory; in tt_face_get_name() 166 rec = face->name_table.names; in tt_face_get_name() 167 for ( n = 0; n < face->num_names; n++, rec++ ) in tt_face_get_name() 240 rec = face->name_table.names + found_win; in tt_face_get_name() 264 rec = face->name_table.names + found_apple; in tt_face_get_name() 269 rec = face->name_table.names + found_unicode; in tt_face_get_name() 277 FT_Stream stream = face->name_table.stream; in tt_face_get_name() 409 TT_Face face ) in woff_open_font() argument 452 FT_ASSERT( stream == face->root.stream ); in woff_open_font() [all …]
|
D | sfdriver.c | 70 get_sfnt_table( TT_Face face, in get_sfnt_table() argument 79 table = &face->header; in get_sfnt_table() 83 table = &face->horizontal; in get_sfnt_table() 87 table = face->vertical_info ? &face->vertical : NULL; in get_sfnt_table() 91 table = face->os2.version == 0xFFFFU ? NULL : &face->os2; in get_sfnt_table() 95 table = &face->postscript; in get_sfnt_table() 99 table = &face->max_profile; in get_sfnt_table() 103 table = face->pclt.Version ? &face->pclt : NULL; in get_sfnt_table() 115 sfnt_table_info( TT_Face face, in sfnt_table_info() argument 125 *length = face->num_tables; in sfnt_table_info() [all …]
|
D | ttload.c | 56 tt_face_lookup_table( TT_Face face, in tt_face_lookup_table() argument 67 face, in tt_face_lookup_table() 73 entry = face->dir_tables; in tt_face_lookup_table() 74 limit = entry + face->num_tables; in tt_face_lookup_table() 126 tt_face_goto_table( TT_Face face, in tt_face_goto_table() argument 135 table = tt_face_lookup_table( face, tag ); in tt_face_goto_table() 319 tt_face_load_font_dir( TT_Face face, in tt_face_load_font_dir() argument 342 FT_TRACE2(( "tt_face_load_font_dir: %08p\n", face )); in tt_face_load_font_dir() 377 face->num_tables = sfnt.num_tables; in tt_face_load_font_dir() 378 face->format_tag = sfnt.format_tag; in tt_face_load_font_dir() [all …]
|
/external/freetype/src/base/ |
D | ftobjs.c | 273 FT_Driver driver = slot->face->driver; in ft_glyphslot_init() 303 FT_Memory memory = FT_FACE_MEMORY( slot->face ); in ft_glyphslot_free_bitmap() 334 FT_Memory memory = FT_FACE_MEMORY( slot->face ); in ft_glyphslot_alloc_bitmap() 383 FT_Driver driver = slot->face->driver; in ft_glyphslot_done() 412 FT_New_GlyphSlot( FT_Face face, in FT_New_GlyphSlot() argument 422 if ( !face ) in FT_New_GlyphSlot() 425 if ( !face->driver ) in FT_New_GlyphSlot() 428 driver = face->driver; in FT_New_GlyphSlot() 435 slot->face = face; in FT_New_GlyphSlot() 445 slot->next = face->glyph; in FT_New_GlyphSlot() [all …]
|
D | ftpfr.c | 27 ft_pfr_check( FT_Face face ) in ft_pfr_check() argument 32 if ( face ) in ft_pfr_check() 33 FT_FACE_LOOKUP_SERVICE( face, service, PFR_METRICS ); in ft_pfr_check() 42 FT_Get_PFR_Metrics( FT_Face face, in FT_Get_PFR_Metrics() argument 52 if ( !face ) in FT_Get_PFR_Metrics() 55 service = ft_pfr_check( face ); in FT_Get_PFR_Metrics() 58 error = service->get_metrics( face, in FT_Get_PFR_Metrics() 71 *aoutline_resolution = face->units_per_EM; in FT_Get_PFR_Metrics() 74 *ametrics_resolution = face->units_per_EM; in FT_Get_PFR_Metrics() 77 if ( face->size ) in FT_Get_PFR_Metrics() [all …]
|
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() 68 FT_Get_Multi_Master( FT_Face face, in FT_Get_Multi_Master() argument 80 error = ft_face_get_mm_service( face, &service ); in FT_Get_Multi_Master() 85 error = service->get_mm( face, amaster ); in FT_Get_Multi_Master() 95 FT_Get_MM_Var( FT_Face face, in FT_Get_MM_Var() argument 107 error = ft_face_get_mm_service( face, &service ); in FT_Get_MM_Var() 112 error = service->get_mm_var( face, amaster ); in FT_Get_MM_Var() [all …]
|
/external/pdfium/third_party/freetype/src/base/ |
D | ftobjs.c | 262 FT_Driver driver = slot->face->driver; in ft_glyphslot_init() 292 FT_Memory memory = FT_FACE_MEMORY( slot->face ); in ft_glyphslot_free_bitmap() 323 FT_Memory memory = FT_FACE_MEMORY( slot->face ); in ft_glyphslot_alloc_bitmap() 372 FT_Driver driver = slot->face->driver; in ft_glyphslot_done() 401 FT_New_GlyphSlot( FT_Face face, in FT_New_GlyphSlot() argument 411 if ( !face ) in FT_New_GlyphSlot() 414 if ( !face->driver ) in FT_New_GlyphSlot() 417 driver = face->driver; in FT_New_GlyphSlot() 424 slot->face = face; in FT_New_GlyphSlot() 434 slot->next = face->glyph; in FT_New_GlyphSlot() [all …]
|
D | ftpfr.c | 27 ft_pfr_check( FT_Face face ) in ft_pfr_check() argument 32 if ( face ) in ft_pfr_check() 33 FT_FACE_LOOKUP_SERVICE( face, service, PFR_METRICS ); in ft_pfr_check() 42 FT_Get_PFR_Metrics( FT_Face face, in FT_Get_PFR_Metrics() argument 52 if ( !face ) in FT_Get_PFR_Metrics() 55 service = ft_pfr_check( face ); in FT_Get_PFR_Metrics() 58 error = service->get_metrics( face, in FT_Get_PFR_Metrics() 71 *aoutline_resolution = face->units_per_EM; in FT_Get_PFR_Metrics() 74 *ametrics_resolution = face->units_per_EM; in FT_Get_PFR_Metrics() 77 if ( face->size ) in FT_Get_PFR_Metrics() [all …]
|
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() 68 FT_Get_Multi_Master( FT_Face face, in FT_Get_Multi_Master() argument 80 error = ft_face_get_mm_service( face, &service ); in FT_Get_Multi_Master() 85 error = service->get_mm( face, amaster ); in FT_Get_Multi_Master() 95 FT_Get_MM_Var( FT_Face face, in FT_Get_MM_Var() argument 107 error = ft_face_get_mm_service( face, &service ); in FT_Get_MM_Var() 112 error = service->get_mm_var( face, amaster ); in FT_Get_MM_Var() [all …]
|
D | ftadvanc.c | 27 _ft_face_scale_advances( FT_Face face, in _ft_face_scale_advances() argument 39 if ( face->size == NULL ) in _ft_face_scale_advances() 43 scale = face->size->metrics.y_scale; in _ft_face_scale_advances() 45 scale = face->size->metrics.x_scale; in _ft_face_scale_advances() 72 FT_Get_Advance( FT_Face face, in FT_Get_Advance() argument 80 if ( !face ) in FT_Get_Advance() 86 if ( gindex >= (FT_UInt)face->num_glyphs ) in FT_Get_Advance() 89 func = face->driver->clazz->get_advances; in FT_Get_Advance() 95 error = func( face, gindex, 1, flags, padvance ); in FT_Get_Advance() 97 return _ft_face_scale_advances( face, padvance, 1, flags ); in FT_Get_Advance() [all …]
|
/external/pdfium/third_party/freetype/src/type1/ |
D | t1objs.c | 61 T1_Face face = (T1_Face)size->root.face; in T1_Size_Get_Globals_Funcs() local 62 PSHinter_Service pshinter = (PSHinter_Service)face->pshinter; in T1_Size_Get_Globals_Funcs() 66 module = FT_Get_Module( size->root.face->driver->root.library, in T1_Size_Get_Globals_Funcs() 105 T1_Face face = (T1_Face)size->root.face; in T1_Size_Init() local 108 error = funcs->create( size->root.face->memory, in T1_Size_Init() 109 &face->type1.private_dict, &globals ); in T1_Size_Init() 126 FT_Request_Metrics( size->root.face, req ); in T1_Size_Request() 154 T1_Face face; in T1_GlyphSlot_Init() local 158 face = (T1_Face)slot->face; in T1_GlyphSlot_Init() 159 pshinter = (PSHinter_Service)face->pshinter; in T1_GlyphSlot_Init() [all …]
|
/external/freetype/include/freetype/ |
D | freetype.h | 833 FT_Face face; member 1225 #define FT_HAS_HORIZONTAL( face ) \ argument 1226 ( face->face_flags & FT_FACE_FLAG_HORIZONTAL ) 1239 #define FT_HAS_VERTICAL( face ) \ argument 1240 ( face->face_flags & FT_FACE_FLAG_VERTICAL ) 1253 #define FT_HAS_KERNING( face ) \ argument 1254 ( face->face_flags & FT_FACE_FLAG_KERNING ) 1268 #define FT_IS_SCALABLE( face ) \ argument 1269 ( face->face_flags & FT_FACE_FLAG_SCALABLE ) 1287 #define FT_IS_SFNT( face ) \ argument [all …]
|
/external/pdfium/third_party/freetype/include/ |
D | freetype.h | 818 FT_Face face; member 1186 #define FT_HAS_HORIZONTAL( face ) \ argument 1187 ( face->face_flags & FT_FACE_FLAG_HORIZONTAL ) 1200 #define FT_HAS_VERTICAL( face ) \ argument 1201 ( face->face_flags & FT_FACE_FLAG_VERTICAL ) 1214 #define FT_HAS_KERNING( face ) \ argument 1215 ( face->face_flags & FT_FACE_FLAG_KERNING ) 1229 #define FT_IS_SCALABLE( face ) \ argument 1230 ( face->face_flags & FT_FACE_FLAG_SCALABLE ) 1248 #define FT_IS_SFNT( face ) \ argument [all …]
|
/external/skia/src/ports/ |
D | SkFontHost_FreeType.cpp | 55 # define FT_HAS_COLOR(face) false argument 228 void emboldenIfNeeded(FT_Face face, FT_GlyphSlot glyph); 326 static void unref_ft_face(FT_Face face) { in unref_ft_face() argument 333 if (rec->fFace == face) { in unref_ft_face() 340 FT_Done_Face(face); in unref_ft_face() 373 FT_Face face() { return fFace; } in face() function in AutoFTAccess 382 static bool canEmbed(FT_Face face) { in canEmbed() argument 383 FT_UShort fsType = FT_Get_FSType_Flags(face); in canEmbed() 388 static bool canSubset(FT_Face face) { in canSubset() argument 389 FT_UShort fsType = FT_Get_FSType_Flags(face); in canSubset() [all …]
|