Home
last modified time | relevance | path

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

12345678

/AliOS-Things-master/components/freetype/src/truetype/
A Dttpload.c71 error = face->goto_table( face, TTAG_glyf, stream, &face->glyf_len ); in tt_face_load_loca()
81 error = face->goto_table( face, TTAG_loca, stream, &table_len ); 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()
149 face->num_locations = face->root.num_glyphs + 1; in tt_face_load_loca()
189 p_limit = face->glyph_locations + face->num_locations * 4; in tt_face_get_location()
200 p_limit = face->glyph_locations + face->num_locations * 2; in tt_face_get_location()
292 error = face->goto_table( face, TTAG_cvt, stream, &table_len ); in tt_face_load_cvt()
306 if ( FT_NEW_ARRAY( face->cvt, face->cvt_size ) ) in tt_face_load_cvt()
[all …]
A Dttobjs.c226 if ( face->goto_table( face, in tt_get_sfnt_checksum()
416 if ( !face ) in tt_check_trickyness()
685 if ( !face ) in tt_face_done()
694 face->extra.finalizer( face->extra.data ); in tt_face_done()
706 face->cvt_size = 0; in tt_face_done()
749 TT_Face face = (TT_Face)size->root.face; in tt_size_run_fpgm() local
843 TT_Face face = (TT_Face)size->root.face; in tt_size_run_prep() local
924 TT_Face face = (TT_Face)ftsize->face; in tt_size_done_bytecode() local
969 TT_Face face = (TT_Face)ftsize->face; in tt_size_init_bytecode() local
1066 TT_Face face = (TT_Face)size->root.face; in tt_size_ready_bytecode() local
[all …]
/AliOS-Things-master/components/freetype/src/sfnt/
A Dsfobjs.c698 face->root.stream, in woff_open_font()
808 if ( FT_NEW_ARRAY( face->ttc_header.offsets, face->ttc_header.count ) ) in sfnt_open_font()
867 FT_FACE_FIND_GLOBAL_SERVICE( face, face->psnames, POSTSCRIPT_CMAPS ); in sfnt_init_face()
894 face->root.num_faces = face->ttc_header.count; in sfnt_init_face()
1010 is_apple_sbix = !face->goto_table( face, TTAG_sbix, stream, 0 ); in sfnt_load_face()
1166 face->root.num_glyphs = face->max_profile.numGlyphs; in sfnt_load_face()
1176 if ( face->os2.version != 0xFFFFU && face->os2.fsSelection & 256 ) in sfnt_load_face()
1439 if ( face->os2.sTypoAscender || face->os2.sTypoDescender ) in sfnt_load_face()
1491 if ( !face ) in sfnt_done_face()
1522 face->num_tables = 0; in sfnt_done_face()
[all …]
A Dsfdriver.c79 table = &face->header; in get_sfnt_table()
83 table = &face->horizontal; in get_sfnt_table()
87 table = face->vertical_info ? &face->vertical : 0; in get_sfnt_table()
91 table = face->os2.version == 0xFFFFU ? 0 : &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 : 0; 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()
176 FT_Face root = &face->root; in sfnt_get_name_index()
[all …]
A Dttmtx.c57 tt_face_load_hmtx( TT_Face face, in tt_face_load_hmtx() argument
80 error = face->goto_table( face, tag, stream, &table_size ); in tt_face_load_hmtx()
111 tt_face_load_hhea( TT_Face face, in tt_face_load_hhea() argument
147 void *v = &face->vertical; in tt_face_load_hhea()
150 error = face->goto_table( face, TTAG_vhea, stream, 0 ); in tt_face_load_hhea()
158 error = face->goto_table( face, TTAG_hhea, stream, 0 ); in tt_face_load_hhea()
162 header = &face->horizontal; in tt_face_load_hhea()
205 tt_face_get_metrics( TT_Face face, in tt_face_get_metrics() argument
220 void* v = &face->vertical; in tt_face_get_metrics()
225 table_size = face->vert_metrics_size; in tt_face_get_metrics()
[all …]
A Dttload.h37 tt_face_goto_table( TT_Face face,
49 tt_face_load_any( TT_Face face,
57 tt_face_load_head( TT_Face face,
62 tt_face_load_cmap( TT_Face face,
67 tt_face_load_maxp( TT_Face face,
72 tt_face_load_name( TT_Face face,
77 tt_face_load_os2( TT_Face face,
82 tt_face_load_post( TT_Face face,
87 tt_face_load_pclt( TT_Face face,
91 tt_face_free_name( TT_Face face );
[all …]
A Dttload.c67 face, in tt_face_lookup_table()
377 if ( FT_QNEW_ARRAY( face->dir_tables, face->num_tables ) ) in tt_face_load_font_dir()
566 error = face->goto_table( face, tag, stream, 0 ); in tt_face_load_generic_header()
657 error = face->goto_table( face, TTAG_maxp, stream, 0 ); in tt_face_load_maxp()
778 error = face->goto_table( face, TTAG_name, stream, &table_len ); in tt_face_load_name()
918 error = face->goto_table( face, TTAG_cmap, stream, &face->cmap_size ); in tt_face_load_cmap()
922 if ( FT_FRAME_EXTRACT( face->cmap_size, face->cmap_table ) ) in tt_face_load_cmap()
1040 error = face->goto_table( face, TTAG_OS2, stream, 0 ); in tt_face_load_os2()
1133 error = face->goto_table( face, TTAG_post, stream, 0 ); in tt_face_load_post()
1200 error = face->goto_table( face, TTAG_PCLT, stream, 0 ); in tt_face_load_pclt()
[all …]
A Dttkern.c44 tt_face_load_kern( TT_Face face, in tt_face_load_kern() argument
56 error = face->goto_table( face, TTAG_kern, stream, &table_size ); in tt_face_load_kern()
77 p = face->kern_table; in tt_face_load_kern()
157 face->num_kern_tables = nn; in tt_face_load_kern()
158 face->kern_avail_bits = avail; in tt_face_load_kern()
159 face->kern_order_bits = ordered; in tt_face_load_kern()
167 tt_face_done_kern( TT_Face face ) in tt_face_done_kern() argument
173 face->kern_table_size = 0; in tt_face_done_kern()
174 face->num_kern_tables = 0; in tt_face_done_kern()
175 face->kern_avail_bits = 0; in tt_face_done_kern()
[all …]
/AliOS-Things-master/components/freetype/src/base/
A Dftpfr.c27 ft_pfr_check( FT_Face face ) in ft_pfr_check() argument
32 if ( face ) 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()
77 if ( face->size ) in FT_Get_PFR_Metrics()
99 FT_Get_PFR_Kerning( FT_Face face, in FT_Get_PFR_Kerning() argument
108 if ( !face ) in FT_Get_PFR_Kerning()
111 service = ft_pfr_check( face ); in FT_Get_PFR_Kerning()
125 FT_Get_PFR_Advance( FT_Face face, in FT_Get_PFR_Advance() argument
[all …]
A Dftobjs.c411 if ( !face || !face->driver ) in FT_New_GlyphSlot()
421 slot->face = face; in FT_New_GlyphSlot()
601 if ( !face || !face->size || !face->glyph ) in FT_Load_Glyph()
2444 size->face = face; in FT_New_Size()
2486 face = size->face; in FT_Done_Size()
3292 face = charmap->face; in FT_CMap_New()
3365 if ( face && face->charmap && face->num_glyphs ) in FT_Get_First_Char()
3390 if ( face && face->charmap && face->num_glyphs ) in FT_Get_Next_Char()
3761 face = charmap->face; in FT_Get_CMap_Language_ID()
3785 face = charmap->face; in FT_Get_CMap_Format()
[all …]
A Dftmm.c46 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
75 error = ft_face_get_mm_service( face, &service ); in FT_Get_Multi_Master()
80 error = service->get_mm( face, amaster ); in FT_Get_Multi_Master()
90 FT_Get_MM_Var( FT_Face face, in FT_Get_MM_Var() argument
112 FT_Set_MM_Design_Coordinates( FT_Face face, in FT_Set_MM_Design_Coordinates() argument
135 FT_Set_Var_Design_Coordinates( FT_Face face, in FT_Set_Var_Design_Coordinates() argument
158 FT_Set_MM_Blend_Coordinates( FT_Face face, in FT_Set_MM_Blend_Coordinates() argument
[all …]
A Dfttype1.c28 FT_Get_PS_Font_Info( FT_Face face, in FT_Get_PS_Font_Info() argument
34 if ( face ) in FT_Get_PS_Font_Info()
39 FT_FACE_FIND_SERVICE( face, service, POSTSCRIPT_INFO ); in FT_Get_PS_Font_Info()
52 FT_Has_PS_Glyph_Names( FT_Face face ) in FT_Has_PS_Glyph_Names() argument
58 if ( face ) in FT_Has_PS_Glyph_Names()
60 FT_FACE_FIND_SERVICE( face, service, POSTSCRIPT_INFO ); in FT_Has_PS_Glyph_Names()
63 result = service->ps_has_glyph_names( face ); in FT_Has_PS_Glyph_Names()
73 FT_Get_PS_Font_Private( FT_Face face, in FT_Get_PS_Font_Private() argument
79 if ( face ) in FT_Get_PS_Font_Private()
97 FT_Get_PS_Font_Value( FT_Face face, in FT_Get_PS_Font_Value() argument
[all …]
A Dftadvanc.c27 _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 func = face->driver->clazz->get_advances; in FT_Get_Advance()
107 FT_Get_Advances( FT_Face face, in FT_Get_Advances() argument
118 if ( !face ) in FT_Get_Advances()
121 num = (FT_UInt)face->num_glyphs; in FT_Get_Advances()
[all …]
A Dftpatent.c113 _tt_check_patents_in_table( FT_Face face, in _tt_check_patents_in_table() argument
116 FT_Stream stream = face->stream; in _tt_check_patents_in_table()
131 error = service->table_info( face, i, in _tt_check_patents_in_table()
147 _tt_face_check_patents( FT_Face face ) in _tt_face_check_patents() argument
149 FT_Stream stream = face->stream; in _tt_face_check_patents()
250 FT_Face_CheckTrueTypePatents( FT_Face face ) in FT_Face_CheckTrueTypePatents() argument
255 if ( face && FT_IS_SFNT( face ) ) in FT_Face_CheckTrueTypePatents()
256 result = _tt_face_check_patents( face ); in FT_Face_CheckTrueTypePatents()
265 FT_Face_SetUnpatentedHinting( FT_Face face, in FT_Face_SetUnpatentedHinting() argument
273 if ( face && FT_IS_SFNT( face ) ) in FT_Face_SetUnpatentedHinting()
[all …]
A Dftgxval.c38 FT_TrueTypeGX_Validate( FT_Face face, in FT_TrueTypeGX_Validate() argument
47 if ( !face ) in FT_TrueTypeGX_Validate()
62 error = service->validate( face, in FT_TrueTypeGX_Validate()
75 FT_TrueTypeGX_Free( FT_Face face, in FT_TrueTypeGX_Free() argument
81 if ( !face ) in FT_TrueTypeGX_Free()
84 memory = FT_FACE_MEMORY( face ); in FT_TrueTypeGX_Free()
99 if ( !face ) in FT_ClassicKern_Validate()
114 error = service->validate( face, in FT_ClassicKern_Validate()
126 FT_ClassicKern_Free( FT_Face face, in FT_ClassicKern_Free() argument
132 if ( !face ) in FT_ClassicKern_Free()
[all …]
/AliOS-Things-master/components/SDL2/test/
A Dtestautomation_surface.c102 SDL_Surface *face; in _testBlitBlendMode() local
139 rect.w = face->w; in _testBlitBlendMode()
140 rect.h = face->h; in _testBlitBlendMode()
200 face = NULL; in _testBlitBlendMode()
224 SDL_Surface *face; in surface_testSaveLoadBitmap() local
255 face = NULL; in surface_testSaveLoadBitmap()
274 if (face == NULL) in surface_testSurfaceConversion()
279 ret = SDL_SetColorKey(face, SDL_RLEACCEL, *(Uint8 *) face->pixels); in surface_testSurfaceConversion()
295 face = NULL; in surface_testSurfaceConversion()
345 if (face == NULL) in surface_testCompleteSurfaceConversion()
[all …]
/AliOS-Things-master/components/freetype/src/pcf/
A Dpcfdrivr.c212 if ( !face ) in PCF_Face_Done()
217 FT_FREE( face->encodings ); in PCF_Face_Done()
218 FT_FREE( face->metrics ); in PCF_Face_Done()
221 if ( face->properties ) in PCF_Face_Done()
239 FT_FREE( face->properties ); in PCF_Face_Done()
242 FT_FREE( face->toc.tables ); in PCF_Face_Done()
330 face->comp_source = stream; in PCF_Face_Init()
390 charmap.face = FT_FACE( face ); in PCF_Face_Init()
445 PCF_Face face = (PCF_Face)size->face; in PCF_Size_Request() local
497 if ( !face || glyph_index >= (FT_UInt)face->root.num_glyphs ) in PCF_Glyph_Load()
[all …]
A Dpcfread.c89 PCF_Face face ) in pcf_read_TOC() argument
92 PCF_Toc toc = &face->toc; in pcf_read_TOC()
111 tables = face->toc.tables; in pcf_read_TOC()
122 tables = face->toc.tables; in pcf_read_TOC()
165 tables = face->toc.tables; in pcf_read_TOC()
609 face->nmetrics = nmetrics; in pcf_get_metrics()
633 metrics = face->metrics; in pcf_get_metrics()
703 if ( face->nmetrics < 0 || nbitmaps != ( FT_ULong )face->nmetrics ) in pcf_get_bitmaps()
856 face->nencodings = k; in pcf_get_encodings()
999 face->style_flags = 0; in pcf_interpret_style()
[all …]
/AliOS-Things-master/components/freetype/src/type1/
A Dt1objs.c61 T1_Face face = (T1_Face)size->root.face; in T1_Size_Get_Globals_Funcs() local
105 T1_Face face = (T1_Face)size->root.face; in T1_Size_Init() local
158 face = (T1_Face)slot->face; in T1_GlyphSlot_Init()
208 if ( !face ) in T1_Face_Done()
212 type1 = &face->type1; in T1_Face_Done()
216 FT_ASSERT( ( face->len_buildchar == 0 ) == ( face->buildchar == NULL ) ); in T1_Face_Done()
227 face->blend = 0; in T1_Face_Done()
260 if ( face->afm_data ) in T1_Face_Done()
323 face->psaux = FT_Get_Module_Interface( FT_FACE_LIBRARY( face ), in T1_Face_Init()
333 face->pshinter = FT_Get_Module_Interface( FT_FACE_LIBRARY( face ), in T1_Face_Init()
[all …]
A Dt1gload.c62 T1_Face face = (T1_Face)decoder->builder.face; in T1_Parse_Glyph_And_Get_Char_String() local
63 T1_Font type1 = &face->type1; in T1_Parse_Glyph_And_Get_Char_String()
137 T1_Face face = (T1_Face)decoder->builder.face; in T1_Parse_Glyph() local
153 T1_Compute_Max_Advance( T1_Face face, in T1_Compute_Max_Advance() argument
159 T1_Font type1 = &face->type1; in T1_Compute_Max_Advance()
163 FT_ASSERT( ( face->len_buildchar == 0 ) == ( face->buildchar == NULL ) ); in T1_Compute_Max_Advance()
187 decoder.buildchar = face->buildchar; in T1_Compute_Max_Advance()
217 T1_Face face = (T1_Face)t1face; in T1_Get_Advances() local
219 T1_Font type1 = &face->type1; in T1_Get_Advances()
277 T1_Face face = (T1_Face)t1glyph->face; in T1_Load_Glyph() local
[all …]
/AliOS-Things-master/components/freetype/src/type42/
A Dt42objs.c181 face->psnames = psnames; in T42_Face_Init()
183 face->psaux = FT_Get_Module_Interface( FT_FACE_LIBRARY( face ), in T42_Face_Init()
414 if ( !face ) in T42_Face_Done()
417 type1 = &face->type1; in T42_Face_Done()
422 if ( face->ttf_face ) in T42_Face_Done()
448 if ( face->afm_data ) in T42_Face_Done()
506 FT_Face face = size->face; in T42_Size_Init() local
526 T42_Face face = (T42_Face)t42size->face; in T42_Size_Request() local
545 T42_Face face = (T42_Face)t42size->face; in T42_Size_Select() local
564 FT_Face face = t42size->face; in T42_Size_Done() local
[all …]
A Dt42drivr.c60 t42_get_glyph_name( T42_Face face, in t42_get_glyph_name() argument
72 t42_get_name_index( T42_Face face, in t42_get_name_index() argument
78 for ( i = 0; i < face->type1.num_glyphs; i++ ) in t42_get_name_index()
105 t42_get_ps_font_name( T42_Face face ) in t42_get_ps_font_name() argument
107 return (const char*)face->type1.font_name; in t42_get_ps_font_name()
124 t42_ps_get_font_info( FT_Face face, in t42_ps_get_font_info() argument
127 *afont_info = ((T42_Face)face)->type1.font_info; in t42_ps_get_font_info()
134 t42_ps_get_font_extra( FT_Face face, in t42_ps_get_font_extra() argument
144 t42_ps_has_glyph_names( FT_Face face ) in t42_ps_has_glyph_names() argument
146 FT_UNUSED( face ); in t42_ps_has_glyph_names()
[all …]
/AliOS-Things-master/components/freetype/include/
A Dfreetype.h781 FT_Face face; member
1177 #define FT_HAS_KERNING( face ) \ argument
1192 #define FT_IS_SCALABLE( face ) \ argument
1211 #define FT_IS_SFNT( face ) \ argument
1314 #define FT_IS_TRICKY( face ) \ argument
1328 #define FT_HAS_COLOR( face ) \ argument
1673 FT_Face face; member
2149 FT_Done_Face( FT_Face face );
2171 FT_Select_Size( FT_Face face,
2429 FT_Load_Glyph( FT_Face face,
[all …]
/AliOS-Things-master/components/freetype/src/cid/
A Dcidobjs.c59 CID_Face face; in cid_slot_init() local
63 face = (CID_Face)slot->face; in cid_slot_init()
97 CID_Face face = (CID_Face)size->root.face; in cid_size_get_globals_funcs() local
141 CID_Face face = (CID_Face)cidsize->face; in cid_size_init() local
142 CID_FaceDict dict = face->cid.font_dicts + face->root.face_index; in cid_size_init()
202 if ( !face ) in cid_face_done()
205 cid = &face->cid; in cid_face_done()
210 if ( face->subrs ) in cid_face_done()
227 FT_FREE( face->subrs ); in cid_face_done()
250 FT_FREE( face->cid_stream ); in cid_face_done()
[all …]
A Dcidload.c78 CID_FaceInfo cid = &face->cid; in cid_load_keyword()
401 cid_read_subrs( CID_Face face ) in cid_read_subrs() argument
417 subr = face->subrs; in cid_read_subrs()
511 if ( face->subrs ) in cid_read_subrs()
515 if ( face->subrs[n].code ) in cid_read_subrs()
520 FT_FREE( face->subrs ); in cid_read_subrs()
530 FT_UNUSED( face ); in cid_init_loader()
646 cid_face_open( CID_Face face, in cid_face_open() argument
658 error = cid_parser_new( parser, face->root.stream, face->root.memory, in cid_face_open()
685 face->cid.data_offset = 0; in cid_face_open()
[all …]

Completed in 52 milliseconds

12345678