Home
last modified time | relevance | path

Searched refs:face (Results 1 – 25 of 1080) sorted by relevance

12345678910>>...44

/third_party/node/tools/gyp/tools/emacs/testdata/
Dmedia.gyp.fontified1107face font-lock-comment-face) 64 137 (face font-lock-comment-face) 137 166 (face font-lock-comment-
/third_party/skia/third_party/externals/freetype/src/truetype/
Dttpload.c63 tt_face_load_loca( TT_Face face, in tt_face_load_loca() argument
72 error = face->goto_table( face, TTAG_glyf, stream, &face->glyf_len ); in tt_face_load_loca()
78 face->glyf_len = 0; in tt_face_load_loca()
79 face->glyf_offset = 0; in tt_face_load_loca()
86 if ( face->root.internal->incremental_interface ) in tt_face_load_loca()
87 face->glyf_offset = 0; in tt_face_load_loca()
90 face->glyf_offset = FT_STREAM_POS(); in tt_face_load_loca()
94 error = face->goto_table( face, TTAG_loca, stream, &table_len ); in tt_face_load_loca()
101 shift = face->header.Index_To_Loc_Format != 0 ? 2 : 1; in tt_face_load_loca()
109 face->num_locations = table_len >> shift; in tt_face_load_loca()
[all …]
Dttobjs.c278 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->root.stream, in tt_get_sfnt_checksum()
296 face->dir_tables[i].Length ); in tt_get_sfnt_checksum()
309 tt_check_trickyness_sfnt_ids( TT_Face face ) in tt_check_trickyness_sfnt_ids() argument
[all …]
/third_party/skia/third_party/externals/freetype/src/sfnt/
Dsfobjs.c132 tt_face_get_name( TT_Face face, in tt_face_get_name() argument
136 FT_Memory memory = face->root.memory; in tt_face_get_name()
155 rec = face->name_table.names; in tt_face_get_name()
156 for ( n = 0; n < face->num_names; n++, rec++ ) in tt_face_get_name()
229 rec = face->name_table.names + found_win; in tt_face_get_name()
253 rec = face->name_table.names + found_apple; in tt_face_get_name()
258 rec = face->name_table.names + found_unicode; in tt_face_get_name()
266 FT_Stream stream = face->name_table.stream; in tt_face_get_name()
344 TT_Face face, in sfnt_open_font() argument
369 face->ttc_header.tag = 0; in sfnt_open_font()
[all …]
Dttcpal.c74 tt_face_load_cpal( TT_Face face, in tt_face_load_cpal() argument
78 FT_Memory memory = face->root.memory; in tt_face_load_cpal()
89 error = face->goto_table( face, TTAG_CPAL, stream, &table_size ); in tt_face_load_cpal()
108 face->palette_data.num_palette_entries = FT_NEXT_USHORT( p ); in tt_face_load_cpal()
109 face->palette_data.num_palettes = FT_NEXT_USHORT( p ); in tt_face_load_cpal()
115 face->palette_data.num_palettes * 2U > table_size ) in tt_face_load_cpal()
123 if ( face->palette_data.num_palette_entries > cpal->num_colors ) in tt_face_load_cpal()
138 face->palette_data.num_palettes * 2U + in tt_face_load_cpal()
142 p += face->palette_data.num_palettes * 2U; in tt_face_load_cpal()
152 if ( face->palette_data.num_palettes * 2U > in tt_face_load_cpal()
[all …]
Dsfdriver.c79 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->pclt.Version ? &face->pclt : NULL; in get_sfnt_table()
124 sfnt_table_info( TT_Face face, in sfnt_table_info() argument
134 *length = face->num_tables; in sfnt_table_info()
[all …]
Dttsbit.c49 tt_face_load_sbit( TT_Face face, in tt_face_load_sbit() argument
57 face->sbit_table = NULL; in tt_face_load_sbit()
58 face->sbit_table_size = 0; in tt_face_load_sbit()
59 face->sbit_table_type = TT_SBIT_TABLE_TYPE_NONE; in tt_face_load_sbit()
60 face->sbit_num_strikes = 0; in tt_face_load_sbit()
62 error = face->goto_table( face, TTAG_CBLC, stream, &table_size ); in tt_face_load_sbit()
64 face->sbit_table_type = TT_SBIT_TABLE_TYPE_CBLC; in tt_face_load_sbit()
67 error = face->goto_table( face, TTAG_EBLC, stream, &table_size ); in tt_face_load_sbit()
69 error = face->goto_table( face, TTAG_bloc, stream, &table_size ); in tt_face_load_sbit()
71 face->sbit_table_type = TT_SBIT_TABLE_TYPE_EBLC; in tt_face_load_sbit()
[all …]
/third_party/skia/third_party/externals/freetype/src/base/
Dftmm.c38 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_Get_Multi_Master() argument
108 error = ft_face_get_mm_service( face, &service ); in FT_Get_Multi_Master()
[all …]
Dftobjs.c311 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_glyphslot_alloc_bitmap()
582 FT_Driver driver = slot->face->driver; in ft_glyphslot_done()
611 FT_New_GlyphSlot( FT_Face face, in FT_New_GlyphSlot() argument
621 if ( !face ) in FT_New_GlyphSlot()
624 if ( !face->driver ) in FT_New_GlyphSlot()
627 driver = face->driver; in FT_New_GlyphSlot()
634 slot->face = face; in FT_New_GlyphSlot()
644 slot->next = face->glyph; in FT_New_GlyphSlot()
[all …]
Dftpfr.c26 ft_pfr_check( FT_Face face ) in ft_pfr_check() argument
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_Get_PFR_Metrics() argument
51 if ( !face ) in FT_Get_PFR_Metrics()
54 service = ft_pfr_check( face ); in FT_Get_PFR_Metrics()
57 error = service->get_metrics( face, in FT_Get_PFR_Metrics()
70 *aoutline_resolution = face->units_per_EM; in FT_Get_PFR_Metrics()
73 *ametrics_resolution = face->units_per_EM; in FT_Get_PFR_Metrics()
76 if ( face->size ) in FT_Get_PFR_Metrics()
[all …]
Dftadvanc.c26 _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 ) \ argument
74 FT_Get_Advance( FT_Face face, in FT_Get_Advance() argument
82 if ( !face ) in FT_Get_Advance()
88 if ( gindex >= (FT_UInt)face->num_glyphs ) in FT_Get_Advance()
91 func = face->driver->clazz->get_advances; in FT_Get_Advance()
92 if ( func && LOAD_ADVANCE_FAST_CHECK( face, flags ) ) in FT_Get_Advance()
[all …]
Dftsnames.c35 FT_Get_Sfnt_Name_Count( FT_Face face ) in FT_Get_Sfnt_Name_Count() argument
37 return ( face && FT_IS_SFNT( face ) ) ? ((TT_Face)face)->num_names : 0; in FT_Get_Sfnt_Name_Count()
44 FT_Get_Sfnt_Name( FT_Face face, in FT_Get_Sfnt_Name() argument
51 if ( aname && face && FT_IS_SFNT( face ) ) in FT_Get_Sfnt_Name()
53 TT_Face ttface = (TT_Face)face; in FT_Get_Sfnt_Name()
64 FT_Memory memory = face->memory; in FT_Get_Sfnt_Name()
65 FT_Stream stream = face->stream; in FT_Get_Sfnt_Name()
95 FT_Get_Sfnt_LangTag( FT_Face face, in FT_Get_Sfnt_LangTag() argument
102 if ( alangTag && face && FT_IS_SFNT( face ) ) in FT_Get_Sfnt_LangTag()
104 TT_Face ttface = (TT_Face)face; in FT_Get_Sfnt_LangTag()
[all …]
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-face.cc123 hb_face_t *face; in hb_face_create_for_tables() local
125 if (!reference_table_func || !(face = hb_object_create<hb_face_t> ())) { in hb_face_create_for_tables()
131 face->reference_table_func = reference_table_func; in hb_face_create_for_tables()
132 face->user_data = user_data; in hb_face_create_for_tables()
133 face->destroy = destroy; in hb_face_create_for_tables()
135 face->num_glyphs.set_relaxed (-1); in hb_face_create_for_tables()
137 face->data.init0 (face); in hb_face_create_for_tables()
138 face->table.init0 (face); in hb_face_create_for_tables()
140 return face; in hb_face_create_for_tables()
174 _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()
[all …]
Dhb-ot-color.cc69 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()
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()
107 hb_ot_color_palette_get_name_id (hb_face_t *face, in hb_ot_color_palette_get_name_id() argument
110 return face->table.CPAL->get_palette_name_id (palette_index); in hb_ot_color_palette_get_name_id()
129 hb_ot_color_palette_color_get_name_id (hb_face_t *face, in hb_ot_color_palette_color_get_name_id() argument
132 return face->table.CPAL->get_color_name_id (color_index); in hb_ot_color_palette_color_get_name_id()
147 hb_ot_color_palette_get_flags (hb_face_t *face, in hb_ot_color_palette_get_flags() argument
150 return face->table.CPAL->get_palette_flags (palette_index); in hb_ot_color_palette_get_flags()
[all …]
Dhb-ot-var.cc64 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()
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()
101 hb_ot_var_get_axes (hb_face_t *face, in hb_ot_var_get_axes() argument
106 return face->table.fvar->get_axes_deprecated (start_offset, axes_count, axes_array); in hb_ot_var_get_axes()
123 hb_ot_var_find_axis (hb_face_t *face, in hb_ot_var_find_axis() argument
128 return face->table.fvar->find_axis_deprecated (axis_tag, axis_index, axis_info); in hb_ot_var_find_axis()
148 hb_ot_var_get_axis_infos (hb_face_t *face, in hb_ot_var_get_axis_infos() argument
153 return face->table.fvar->get_axis_infos (start_offset, axes_count, axes_array); in hb_ot_var_get_axis_infos()
[all …]
Dhb-ot-layout.cc83 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()
99 hb_ot_layout_has_machine_kerning (hb_face_t *face) in hb_ot_layout_has_machine_kerning() argument
101 return face->table.kern->has_state_machine (); in hb_ot_layout_has_machine_kerning()
119 hb_ot_layout_has_cross_kerning (hb_face_t *face) in hb_ot_layout_has_cross_kerning() argument
121 return face->table.kern->has_cross_stream (); in hb_ot_layout_has_cross_kerning()
129 hb_blob_t *blob = font->face->table.kern.get_blob (); in hb_ot_layout_kern()
147 hb_face_t *face) const in is_blocklisted()
170 face->table.GSUB->table.get_length (), in is_blocklisted()
171 face->table.GPOS->table.get_length ()) in is_blocklisted()
[all …]
Dhb-face.h74 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,
114 hb_face_reference_blob (hb_face_t *face);
117 hb_face_set_index (hb_face_t *face,
[all …]
Dhb-ot-layout.h135 hb_ot_layout_has_glyph_classes (hb_face_t *face);
157 hb_ot_layout_get_glyph_class (hb_face_t *face,
161 hb_ot_layout_get_glyphs_in_class (hb_face_t *face,
168 hb_ot_layout_get_attach_points (hb_face_t *face,
214 hb_ot_layout_table_get_script_tags (hb_face_t *face,
221 hb_ot_layout_table_find_script (hb_face_t *face,
227 hb_ot_layout_table_select_script (hb_face_t *face,
235 hb_ot_layout_table_get_feature_tags (hb_face_t *face,
242 hb_ot_layout_script_get_language_tags (hb_face_t *face,
250 hb_ot_layout_script_select_language (hb_face_t *face,
[all …]
/third_party/skia/third_party/externals/harfbuzz/test/api/
Dtest-ot-face.c41 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, cp, 0, NULL, NULL); in test_font()
[all …]
/third_party/skia/third_party/externals/freetype/src/type42/
Dt42objs.c32 T42_Open_Face( T42_Face face ) in T42_Open_Face() argument
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()
54 face->ttf_size = 12; in T42_Open_Face()
57 face->root.stream, in T42_Open_Face()
63 error = t42_parse_dict( face, &loader, in T42_Open_Face()
169 T42_Face face = (T42_Face)t42face; in T42_Face_Init() local
[all …]
/third_party/skia/third_party/externals/freetype/include/freetype/
Dfreetype.h854 FT_Face face; member
1263 #define FT_HAS_HORIZONTAL( face ) \ argument
1264 ( !!( (face)->face_flags & FT_FACE_FLAG_HORIZONTAL ) )
1277 #define FT_HAS_VERTICAL( face ) \ argument
1278 ( !!( (face)->face_flags & FT_FACE_FLAG_VERTICAL ) )
1291 #define FT_HAS_KERNING( face ) \ argument
1292 ( !!( (face)->face_flags & FT_FACE_FLAG_KERNING ) )
1306 #define FT_IS_SCALABLE( face ) \ argument
1307 ( !!( (face)->face_flags & FT_FACE_FLAG_SCALABLE ) )
1325 #define FT_IS_SFNT( face ) \ argument
[all …]
/third_party/skia/third_party/externals/freetype/src/cff/
Dcffdrivr.c116 TT_Face face = (TT_Face)ttface; in cff_get_kerning() local
117 SFNT_Service sfnt = (SFNT_Service)face->sfnt; in cff_get_kerning()
124 kerning->x = sfnt->get_kerning( face, left_glyph, right_glyph ); in cff_get_kerning()
187 if ( cffsize->face != cffslot->face ) in cff_glyph_load()
202 cff_get_advances( FT_Face face, in cff_get_advances() argument
210 FT_GlyphSlot slot = face->glyph; in cff_get_advances()
213 if ( FT_IS_SFNT( face ) ) in cff_get_advances()
219 TT_Face ttface = (TT_Face)face; in cff_get_advances()
227 if ( ( FT_IS_NAMED_INSTANCE( face ) || FT_IS_VARIATION( face ) ) && in cff_get_advances()
261 if ( ( FT_IS_NAMED_INSTANCE( face ) || FT_IS_VARIATION( face ) ) && in cff_get_advances()
[all …]
/third_party/skia/third_party/externals/freetype/src/type1/
Dt1objs.c58 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 T1_Size_Init() local
105 error = funcs->create( size->root.face->memory, in T1_Size_Init()
106 &face->type1.private_dict, &globals ); in T1_Size_Init()
125 error = FT_Request_Metrics( size->root.face, req ); in T1_Size_Request()
156 T1_Face face; in T1_GlyphSlot_Init() local
160 face = (T1_Face)slot->face; in T1_GlyphSlot_Init()
161 pshinter = (PSHinter_Service)face->pshinter; in T1_GlyphSlot_Init()
[all …]
/third_party/mesa3d/src/mesa/main/
Dstencil.c188 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] = mask; in stencil_func()
259 const GLint face = ctx->Stencil.ActiveFace; in _mesa_StencilMask() local
264 if (face != 0) { in _mesa_StencilMask()
[all …]
/third_party/skia/third_party/externals/freetype/src/pcf/
Dpcfdrivr.c82 PCF_Face face = (PCF_Face)FT_CMAP_FACE( pcfcmap ); in pcf_cmap_init() local
87 cmap->enc = &face->enc; in pcf_cmap_init()
191 PCF_Face face = (PCF_Face)pcfface; in PCF_Face_Done() local
195 if ( !face ) in PCF_Face_Done()
198 memory = FT_FACE_MEMORY( face ); in PCF_Face_Done()
200 FT_FREE( face->metrics ); in PCF_Face_Done()
201 FT_FREE( face->enc.offset ); in PCF_Face_Done()
204 if ( face->properties ) in PCF_Face_Done()
209 for ( i = 0; i < face->nprops; i++ ) in PCF_Face_Done()
211 PCF_Property prop = &face->properties[i]; in PCF_Face_Done()
[all …]

12345678910>>...44