Home
last modified time | relevance | path

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

1234

/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/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()
Drules.mk18 CFF_DIR := $(SRC_DIR)/cff
64 CFF_DRV_OBJ_S := $(OBJ_DIR)/cff.$O
68 CFF_DRV_SRC_S := $(CFF_DIR)/cff.c
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()
596 gid = cff_lookup_glyph_by_stdcharcode( decoder->cff, code ); in cf2_getSeacComponent()
/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()
/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.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()
590 cffface->num_faces = (FT_Long)cff->num_faces; in cff_face_init()
594 cff->pshinter = pshinter; in cff_face_init()
595 cff->psnames = psnames; in cff_face_init()
603 cffface->num_glyphs = (FT_Long)cff->num_glyphs; in cff_face_init()
605 dict = &cff->top_font.font_dict; in cff_face_init()
630 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.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()
596 gid = cff_lookup_glyph_by_stdcharcode( decoder->cff, code ); in cf2_getSeacComponent()
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/
DChangeLog.2095 * src/cff/cffdrivr.c (cff_get_next_char): New function.
180 * src/cff/cffdrivr.c (cff_get_name_index): Make last patch work
192 * src/cff/cffdrivr.c (cff_get_name_index): Fix deallocation bug.
263 src/cff/cffload.c, src/cff/cffobjs.c, src/pshinter/pshalgo2.c,
370 * src/cff/cffgload.c (CFF_Parse_CharStrings), src/psaux/t1decode.c
399 * src/cff/cffload.c (CFF_Get_Standard_Encoding): New function.
400 * src/cff/cffload.h: Updated.
401 * src/cff/cffgload.c (CFF_Init_Builder): Renamed to ...
412 * src/cff/cffgload.h: Updated.
413 * src/cff/cffobjs.c: Include FT_INTERNAL_POSTSCRIPT_HINTS_H.
[all …]
DChangeLog.2477 * src/cff/cf2intrp.c (cf2_interpT2CharString) <default>: Force
79 * src/cff/cffgload.c (cff_decoder_parse_charstrings): Ditto.
80 * src/cff/cffparse.c (cff_parse_integer): Ditto.
86 [cff] Make Adobe CFF engine work correctly on 64bit hosts.
97 * src/cff/cf2ft.h (cf2_getBlueValues, cf2_getOtherBlues,
100 * src/cff/cf2ft.c (cf2_getBlueValues, cf2_getOtherBlues,
102 * src/cff/cf2blues.c (cf2_blues_init): Updated.
114 * src/cff/cffgload.c (cff_decoder_parse_charstrings): Simplify.
115 * src/cff/cffload.c (cff_subfont_load): Fix constant.
116 * src/cff/cffparse.c (cff_parse_integer, cff_parse_real, do_fixed,
[all …]
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/builds/atari/
DFREETYPE.PRJ22 ..\..\src\cff\cff.c

1234