Home
last modified time | relevance | path

Searched refs:face_index (Results 1 – 25 of 56) sorted by relevance

123

/external/freetype/src/base/
Dftmac.c128 FT_Long* face_index ) in FT_GetFile_From_Mac_Name() argument
132 FT_UNUSED( face_index ); in FT_GetFile_From_Mac_Name()
178 FT_Long* face_index ) in FT_GetFileRef_From_Mac_ATS_Name() argument
184 *face_index = 0; in FT_GetFileRef_From_Mac_ATS_Name()
214 *face_index = ats_font_id - ( id2 + 1 ); in FT_GetFileRef_From_Mac_ATS_Name()
225 FT_Long* face_index ) in FT_GetFilePath_From_Mac_ATS_Name() argument
231 if ( !fontName || !face_index ) in FT_GetFilePath_From_Mac_ATS_Name()
234 err = FT_GetFileRef_From_Mac_ATS_Name( fontName, &ref, face_index ); in FT_GetFilePath_From_Mac_ATS_Name()
249 FT_Long* face_index ) in FT_GetFile_From_Mac_ATS_Name() argument
255 FT_UNUSED( face_index ); in FT_GetFile_From_Mac_ATS_Name()
[all …]
Dftobjs.c104 FT_Long face_index,
1322 FT_Long face_index, in open_face() argument
1374 (FT_Int)face_index, in open_face()
1421 FT_Long face_index, in FT_New_Face() argument
1435 return ft_open_face_internal( library, &args, face_index, aface, 1 ); in FT_New_Face()
1447 FT_Long face_index, in FT_New_Memory_Face() argument
1462 return ft_open_face_internal( library, &args, face_index, aface, 1 ); in FT_New_Memory_Face()
1554 FT_Long face_index, in open_face_from_buffer() argument
1589 if ( face_index > 0 ) in open_face_from_buffer()
1590 face_index &= 0x7FFF0000L; /* retain GX data */ in open_face_from_buffer()
[all …]
Dftbase.h42 FT_Long face_index,
54 FT_Long face_index,
/external/freetype/builds/mac/
Dftmac.c181 FT_Long* face_index ) in FT_GetFile_From_Mac_Name() argument
185 FT_UNUSED( face_index ); in FT_GetFile_From_Mac_Name()
195 FT_Long* face_index ) in FT_GetFile_From_Mac_Name() argument
207 if ( !fontName || !face_index ) in FT_GetFile_From_Mac_Name()
210 *face_index = 0; in FT_GetFile_From_Mac_Name()
229 *face_index = 0; in FT_GetFile_From_Mac_Name()
260 ++(*face_index); in FT_GetFile_From_Mac_Name()
314 FT_Long* face_index ) in FT_GetFileRef_From_Mac_ATS_Name() argument
320 *face_index = 0; in FT_GetFileRef_From_Mac_ATS_Name()
350 *face_index = ats_font_id - ( id2 + 1 ); in FT_GetFileRef_From_Mac_ATS_Name()
[all …]
/external/harfbuzz_ng/src/
Dtest-ot-color.cc43 svg_dump (hb_face_t *face, unsigned int face_index) in svg_dump() argument
59 face_index, in svg_dump()
73 png_dump (hb_face_t *face, unsigned int face_index) in png_dump() argument
111 sprintf (output_path, "out/png-%u-%u-%u.png", glyph_id, strike, face_index); in png_dump()
129 layered_glyph_dump (hb_face_t *face, cairo_font_face_t *cairo_face, unsigned int face_index) in layered_glyph_dump() argument
181 sprintf (output_path, "out/colr-%u-%u-%u.svg", gid, palette, face_index); in layered_glyph_dump()
219 unsigned int num_glyphs, unsigned int face_index) in dump_glyphs() argument
248 sprintf (output_path, "out/%u-%u.svg", face_index, i); in dump_glyphs()
297 for (unsigned int face_index = 0; face_index < hb_face_count (blob); face_index++) in main() local
299 hb_face_t *face = hb_face_create (blob, face_index); in main()
[all …]
Dhb-uniscribe.cc421 for (unsigned int face_index = 0; face_index < face_count; face_index++) in _hb_rename_font() local
425 const OT::OpenTypeFontFace &face = file.get_face (face_index); in _hb_rename_font()
434 else if (face_index == 0) /* Fail if first face doesn't have 'name' table. */ in _hb_rename_font()
/external/pdfium/core/fxge/
Dcfx_fontmgr.cpp137 int face_index) { in AddCachedFace() argument
141 int ret = FXFT_New_Memory_Face(m_FTLibrary, pData, size, face_index, &face); in AddCachedFace()
165 int face_index = GetTTCIndex(pFontDesc->FontData(), ttc_size, font_offset); in GetCachedTTCFace() local
166 if (!pFontDesc->TTCFace(face_index)) { in GetCachedTTCFace()
168 face_index, GetFixedFace(pFontDesc->FontData(), ttc_size, face_index)); in GetCachedTTCFace()
171 return pFontDesc->TTCFace(face_index); in GetCachedTTCFace()
179 int face_index = GetTTCIndex(pData, ttc_size, font_offset); in AddCachedTTCFace() local
180 FXFT_Face face = GetFixedFace(pData, ttc_size, face_index); in AddCachedTTCFace()
181 auto pFontDesc = pdfium::MakeUnique<CTTFontDesc>(pData, face_index, face); in AddCachedTTCFace()
188 int face_index) { in GetFixedFace() argument
[all …]
Dcfx_fontmgr.h36 int face_index);
46 FXFT_Face GetFileFace(const char* filename, int face_index);
47 FXFT_Face GetFixedFace(const uint8_t* pData, uint32_t size, int face_index);
/external/freetype/include/freetype/
Dftmac.h107 FT_Long face_index,
140 FT_Long* face_index )
171 FT_Long* face_index )
207 FT_Long* face_index )
245 FT_Long face_index,
284 FT_Long face_index,
Dfreetype.h1098 FT_Long face_index; member
1452 ( (face)->face_index & 0x7FFF0000L )
2263 FT_Long face_index,
2306 FT_Long face_index,
2459 FT_Long face_index,
/external/freetype/src/cid/
Dcidobjs.c143 CID_FaceDict dict = face->cid.font_dicts + face->root.face_index; in cid_size_init()
287 FT_Int face_index, in cid_face_init() argument
334 error = cid_face_open( face, face_index ); in cid_face_init()
339 if ( face_index < 0 ) in cid_face_init()
344 if ( ( face_index & 0xFFFF ) != 0 ) in cid_face_init()
364 cidface->face_index = face_index & 0xFFFF; in cid_face_init()
Dcidload.h45 FT_Int face_index );
Dcidobjs.h134 FT_Int face_index,
/external/freetype/src/winfonts/
Dwinfnt.c278 FT_Long face_index; in fnt_face_get_dll_font() local
283 face_index = FT_ABS( face_instance_index ) & 0xFFFF; in fnt_face_get_dll_font()
383 if ( face_index >= font_count ) in fnt_face_get_dll_font()
392 if ( FT_STREAM_SEEK( font_offset + (FT_ULong)face_index * 12 ) || in fnt_face_get_dll_font()
551 if ( face_index == face->root.num_faces ) in fnt_face_get_dll_font()
587 if ( face_index >= face->root.num_faces ) in fnt_face_get_dll_font()
718 FT_Int face_index; in FNT_Face_Init() local
726 face_index = FT_ABS( face_instance_index ) & 0xFFFF; in FNT_Face_Init()
754 if ( face_index > 0 ) in FNT_Face_Init()
778 root->face_index = face_index; in FNT_Face_Init()
/external/freetype/src/pfr/
Dpfrobjs.c70 FT_Int face_index, in pfr_face_init() argument
109 if ( face_index < 0 ) in pfr_face_init()
112 if ( ( face_index & 0xFFFF ) >= pfrface->num_faces ) in pfr_face_init()
123 (FT_UInt)( face_index & 0xFFFF ), in pfr_face_init()
141 pfrface->face_index = face_index & 0xFFFF; in pfr_face_init()
Dpfrobjs.h62 FT_Int face_index,
/external/freetype/src/cff/
Dcffobjs.c491 FT_Int face_index, in cff_face_init() argument
542 error = sfnt->init_face( stream, face, face_index, num_params, params ); in cff_face_init()
553 if ( face_index < 0 ) in cff_face_init()
566 error = sfnt->load_face( stream, face, face_index, in cff_face_init()
617 face_index, in cff_face_init()
627 if ( face_index < 0 ) in cff_face_init()
637 cffface->face_index = face_index & 0xFFFF; in cff_face_init()
715 FT_UInt instance_index = (FT_UInt)face_index >> 16; in cff_face_init()
893 (FT_UInt)( face_index & 0xFFFF ) ); in cff_face_init()
Dcffobjs.h61 FT_Int face_index,
/external/freetype/src/pcf/
Dpcfdrivr.c268 FT_Int face_index, in PCF_Face_Init() argument
281 error = pcf_load_font( stream, face, face_index ); in PCF_Face_Init()
345 error = pcf_load_font( stream, face, face_index ); in PCF_Face_Init()
364 if ( face_index < 0 ) in PCF_Face_Init()
366 else if ( face_index > 0 && ( face_index & 0xFFFF ) > 0 ) in PCF_Face_Init()
/external/freetype/src/type1/
Dt1objs.c309 FT_Int face_index, in T1_Face_Init() argument
352 face_index )); in T1_Face_Init()
355 if ( face_index < 0 ) in T1_Face_Init()
359 if ( ( face_index & 0xFFFF ) > 0 ) in T1_Face_Init()
376 root->face_index = 0; in T1_Face_Init()
Dt1objs.h135 FT_Int face_index,
/external/freetype/include/freetype/internal/
Dsfnt.h76 FT_Int face_index,
119 FT_Int face_index,
/external/freetype/src/type42/
Dt42objs.c166 FT_Int face_index, in T42_Face_Init() argument
207 if ( face_index < 0 ) in T42_Face_Init()
211 if ( ( face_index & 0xFFFF ) > 0 ) in T42_Face_Init()
225 root->face_index = 0; in T42_Face_Init()
/external/freetype/src/truetype/
Dttobjs.c608 FT_Int face_index, in tt_face_init() argument
636 error = sfnt->init_face( stream, face, face_index, num_params, params ); in tt_face_init()
662 if ( face_index < 0 ) in tt_face_init()
666 error = sfnt->load_face( stream, face, face_index, num_params, params ); in tt_face_init()
728 FT_UInt instance_index = (FT_UInt)face_index >> 16; in tt_face_init()
/external/freetype/src/sfnt/
Dsfobjs.c863 FT_Int face_index; in sfnt_init_face() local
925 face_index = FT_ABS( face_instance_index ) & 0xFFFF; in sfnt_init_face()
929 face_index--; in sfnt_init_face()
931 if ( face_index >= face->ttc_header.count ) in sfnt_init_face()
936 face_index = 0; in sfnt_init_face()
939 if ( FT_STREAM_SEEK( face->ttc_header.offsets[face_index] ) ) in sfnt_init_face()
1087 face->root.face_index = face_instance_index; in sfnt_init_face()

123