Home
last modified time | relevance | path

Searched refs:cff (Results 1 – 25 of 45) sorted by relevance

12

/external/pdfium/third_party/freetype/src/cff/
Dcffdrivr.c324 CFF_Font cff; in cff_get_name_index() local
332 cff = (CFF_FontRec *)face->extra.data; in cff_get_name_index()
333 charset = &cff->charset; in cff_get_name_index()
339 for ( i = 0; i < cff->num_glyphs; i++ ) in cff_get_name_index()
344 name = cff_index_get_string( cff, sid - 391 ); in cff_get_name_index()
382 CFF_Font cff = (CFF_Font)face->extra.data; in cff_ps_get_font_info() local
386 if ( cff && cff->font_info == NULL ) in cff_ps_get_font_info()
388 CFF_FontRecDict dict = &cff->top_font.font_dict; in cff_ps_get_font_info()
396 font_info->version = cff_index_get_sid_string( cff, in cff_ps_get_font_info()
398 font_info->notice = cff_index_get_sid_string( cff, in cff_ps_get_font_info()
[all …]
Dcffcmap.c40 CFF_Font cff = (CFF_Font)face->extra.data; in cff_cmap_encoding_init() local
41 CFF_Encoding encoding = &cff->encoding; in cff_cmap_encoding_init()
131 CFF_Font cff = (CFF_Font)face->extra.data; in FT_CALLBACK_DEF() local
132 CFF_Charset charset = &cff->charset; in FT_CALLBACK_DEF()
136 return cff_index_get_sid_string( cff, sid ); in FT_CALLBACK_DEF()
146 CFF_Font cff = (CFF_Font)face->extra.data; in cff_cmap_unicode_init() local
147 CFF_Charset charset = &cff->charset; in cff_cmap_unicode_init()
148 FT_Service_PsCMaps psnames = (FT_Service_PsCMaps)cff->psnames; in cff_cmap_unicode_init()
160 cff->num_glyphs, in cff_cmap_unicode_init()
184 CFF_Font cff = (CFF_Font)face->extra.data; in cff_cmap_unicode_char_index() local
[all …]
Dcffobjs.c571 CFF_Font cff = NULL; in cff_face_init() local
578 if ( FT_NEW( cff ) ) in cff_face_init()
581 face->extra.data = cff; in cff_face_init()
582 error = cff_font_load( library, stream, face_index, cff, pure_cff ); in cff_face_init()
591 cff->pshinter = pshinter; in cff_face_init()
592 cff->psnames = psnames; in cff_face_init()
600 cffface->num_glyphs = (FT_Long)cff->num_glyphs; in cff_face_init()
602 dict = &cff->top_font.font_dict; in cff_face_init()
625 for ( idx = 0; idx < cff->num_strings + 390; idx++ ) in cff_face_init()
627 s = cff_index_get_sid_string( cff, idx ); in cff_face_init()
[all …]
DJamfile1 # FreeType 2 src/cff Jamfile
12 SubDir FT2_TOP $(FT2_SRC_DIR) cff ;
39 _sources = cff ;
45 # end of src/cff Jamfile
Dcffgload.c390 CFF_Font cff = (CFF_Font)face->extra.data; in cff_decoder_init() local
400 decoder->cff = cff; in cff_decoder_init()
401 decoder->num_globals = cff->global_subrs_index.count; in cff_decoder_init()
402 decoder->globals = cff->global_subrs; in cff_decoder_init()
404 cff->top_font.font_dict.charstring_type, in cff_decoder_init()
419 CFF_Font cff = (CFF_Font)builder->face->extra.data; in cff_decoder_prepare() local
420 CFF_SubFont sub = &cff->top_font; in cff_decoder_prepare()
425 if ( cff->num_subfonts ) in cff_decoder_prepare()
427 FT_Byte fd_index = cff_fd_select_get( &cff->fd_select, glyph_index ); in cff_decoder_prepare()
430 if ( fd_index >= cff->num_subfonts ) in cff_decoder_prepare()
[all …]
Dcffpic.c68 if ( pic_container->cff ) in cff_driver_class_pic_free()
70 CffModulePIC* container = (CffModulePIC*)pic_container->cff; in cff_driver_class_pic_free()
82 pic_container->cff = NULL; in cff_driver_class_pic_free()
100 pic_container->cff = container; in cff_driver_class_pic_init()
Dcf2ft.c306 FT_ASSERT( decoder && decoder->cff ); in cf2_decoder_parse_charstrings()
311 font = (CF2_Font)decoder->cff->cf2_instance.data; in cf2_decoder_parse_charstrings()
314 if ( decoder->cff->cf2_instance.data == NULL ) in cf2_decoder_parse_charstrings()
316 decoder->cff->cf2_instance.finalizer = in cf2_decoder_parse_charstrings()
319 if ( FT_ALLOC( decoder->cff->cf2_instance.data, in cf2_decoder_parse_charstrings()
323 font = (CF2_Font)decoder->cff->cf2_instance.data; in cf2_decoder_parse_charstrings()
593 gid = cff_lookup_glyph_by_stdcharcode( decoder->cff, code ); in cf2_getSeacComponent()
Dcffgload.h136 cff_lookup_glyph_by_stdcharcode( CFF_Font cff,
163 CFF_Font cff; member
Dcffpic.h69 ( (CffModulePIC*)( (lib)->pic_container.cff ) )
/external/fonttools/Lib/fontTools/ttLib/tables/
DC_F_F_.py11 self.cff = cffLib.CFFFontSet()
15 self.cff.decompile(StringIO(data), otFont)
16 assert len(self.cff) == 1, "can't deal with multi-font CFF tables."
20 self.cff.compile(f, otFont)
24 if hasattr(self.cff[self.cff.fontNames[0]], "ROS"):
34 return self.cff[self.cff.fontNames[0]].getGlyphOrder()
42 self.cff.toXML(writer, progress)
46 self.cff = cffLib.CFFFontSet()
47 self.cff.fromXML(name, attrs, content)
/external/freetype/src/cff/
Dcffdrivr.c372 CFF_Font cff; in cff_get_name_index() local
380 cff = (CFF_FontRec *)face->extra.data; in cff_get_name_index()
381 charset = &cff->charset; in cff_get_name_index()
385 if ( cff->version_major == 2 ) in cff_get_name_index()
412 for ( i = 0; i < cff->num_glyphs; i++ ) in cff_get_name_index()
417 name = cff_index_get_string( cff, sid - 391 ); in cff_get_name_index()
456 CFF_Font cff = (CFF_Font)face->extra.data; in cff_ps_get_font_info() local
460 if ( cff && !cff->font_info ) in cff_ps_get_font_info()
462 CFF_FontRecDict dict = &cff->top_font.font_dict; in cff_ps_get_font_info()
470 font_info->version = cff_index_get_sid_string( cff, in cff_ps_get_font_info()
[all …]
Dcffcmap.c40 CFF_Font cff = (CFF_Font)face->extra.data; in cff_cmap_encoding_init() local
41 CFF_Encoding encoding = &cff->encoding; in cff_cmap_encoding_init()
137 CFF_Font cff = (CFF_Font)face->extra.data; in FT_CALLBACK_DEF() local
138 CFF_Charset charset = &cff->charset; in FT_CALLBACK_DEF()
142 return cff_index_get_sid_string( cff, sid ); in FT_CALLBACK_DEF()
152 CFF_Font cff = (CFF_Font)face->extra.data; in cff_cmap_unicode_init() local
153 CFF_Charset charset = &cff->charset; in cff_cmap_unicode_init()
154 FT_Service_PsCMaps psnames = (FT_Service_PsCMaps)cff->psnames; in cff_cmap_unicode_init()
166 cff->num_glyphs, in cff_cmap_unicode_init()
190 CFF_Font cff = (CFF_Font)face->extra.data; in cff_cmap_unicode_char_index() local
[all …]
Dcffobjs.c583 CFF_Font cff = NULL; in cff_face_init() local
590 if ( FT_NEW( cff ) ) in cff_face_init()
593 face->extra.data = cff; in cff_face_init()
597 cff, in cff_face_init()
607 cffface->num_faces = (FT_Long)cff->num_faces; in cff_face_init()
611 cff->pshinter = pshinter; in cff_face_init()
612 cff->psnames = psnames; in cff_face_init()
620 cffface->num_glyphs = (FT_Long)cff->num_glyphs; in cff_face_init()
622 dict = &cff->top_font.font_dict; in cff_face_init()
647 s = cff_index_get_sid_string( cff, idx ); in cff_face_init()
[all …]
Dcffgload.c390 CFF_Font cff = (CFF_Font)face->extra.data; in cff_decoder_init() local
400 decoder->cff = cff; in cff_decoder_init()
401 decoder->num_globals = cff->global_subrs_index.count; in cff_decoder_init()
402 decoder->globals = cff->global_subrs; in cff_decoder_init()
404 cff->top_font.font_dict.charstring_type, in cff_decoder_init()
419 CFF_Font cff = (CFF_Font)builder->face->extra.data; in cff_decoder_prepare() local
420 CFF_SubFont sub = &cff->top_font; in cff_decoder_prepare()
425 if ( cff->num_subfonts ) in cff_decoder_prepare()
427 FT_Byte fd_index = cff_fd_select_get( &cff->fd_select, glyph_index ); in cff_decoder_prepare()
430 if ( fd_index >= cff->num_subfonts ) in cff_decoder_prepare()
[all …]
Dcffpic.c68 if ( pic_container->cff ) in cff_driver_class_pic_free()
70 CffModulePIC* container = (CffModulePIC*)pic_container->cff; in cff_driver_class_pic_free()
82 pic_container->cff = NULL; in cff_driver_class_pic_free()
100 pic_container->cff = container; in cff_driver_class_pic_init()
Dcf2ft.c307 FT_ASSERT( decoder && decoder->cff ); in cf2_decoder_parse_charstrings()
312 font = (CF2_Font)decoder->cff->cf2_instance.data; in cf2_decoder_parse_charstrings()
315 if ( !decoder->cff->cf2_instance.data ) in cf2_decoder_parse_charstrings()
317 decoder->cff->cf2_instance.finalizer = in cf2_decoder_parse_charstrings()
320 if ( FT_ALLOC( decoder->cff->cf2_instance.data, in cf2_decoder_parse_charstrings()
324 font = (CF2_Font)decoder->cff->cf2_instance.data; in cf2_decoder_parse_charstrings()
424 FT_ASSERT( decoder && decoder->cff ); in cf2_getVStore()
426 return &decoder->cff->vstore; in cf2_getVStore()
434 FT_ASSERT( decoder && decoder->cff ); in cf2_getMaxstack()
436 return decoder->cff->top_font.font_dict.maxstack; in cf2_getMaxstack()
[all …]
Dcffgload.h136 cff_lookup_glyph_by_stdcharcode( CFF_Font cff,
163 CFF_Font cff; member
Dcffpic.h75 ( (CffModulePIC*)( (lib)->pic_container.cff ) )
/external/freetype/
DAndroid.bp33 "src/cff/cff.c",
/external/skia/third_party/freetype2/
DBUILD.gn54 "../externals/freetype/src/cff/cff.c",
/external/pdfium/third_party/freetype/include/freetype/internal/
Dftpic.h41 void* cff; member
/external/freetype/include/freetype/internal/
Dftpic.h41 void* cff; member
/external/skia/src/sfnt/
DSkOTTable_maxp.h27 struct CFF : SkOTTableMaximumProfile_CFF { } cff; member
/external/pdfium/third_party/
DBUILD.gn80 "freetype/src/cff/cff.c",
81 "freetype/src/cff/cffobjs.h",
82 "freetype/src/cff/cfftypes.h",
/external/fonttools/Lib/fontTools/ttLib/
D__init__.py433 cff = self['CFF ']
434 self.glyphOrder = cff.getGlyphOrder()
658 return list(self["CFF "].cff.values())[0].CharStrings
662 return list(self["CFF "].cff.values())[0].CharStrings

12