Home | History | Annotate | Download | only in cff

Lines Matching defs:cff

106   /* CFF and Type 1 private dictionaries have slightly different      */
512 FT_TRACE2(( "CFF driver\n" ));
522 if ( face->format_tag != TTAG_OTTO ) /* `OTTO'; OpenType/CFF font */
524 FT_TRACE2(( " not an OpenType/CFF font\n" ));
535 /* now, the font can be either an OpenType/CFF font, or an SVG CEF */
556 /* now load the CFF part of the file */
563 /* rewind to start of file; we are going to load a pure-CFF font */
569 /* now load and parse the CFF table in the file */
571 CFF_Font cff = NULL;
578 if ( FT_NEW( cff ) )
581 face->extra.data = cff;
582 error = cff_font_load( library, stream, face_index, cff, pure_cff );
586 cff->pshinter = pshinter;
587 cff->psnames = psnames;
592 /* Note that this is only necessary for pure CFF and CEF fonts; */
595 cffface->num_glyphs = cff->num_glyphs;
597 dict = &cff->top_font.font_dict;
599 /* we need the `PSNames' module for CFF and CEF formats */
604 " cannot open CFF & CEF fonts\n"
620 for ( idx = 0; idx < cff->num_strings + 390; idx++ )
622 s = cff_index_get_sid_string( cff, idx );
663 for ( i = cff->num_subfonts; i > 0; i-- )
665 CFF_FontRecDict sub = &cff->subfonts[i - 1]->font_dict;
666 CFF_FontRecDict top = &cff->top_font.font_dict;
736 cffface->num_faces = cff->num_faces;
740 cffface->num_glyphs = cff->charset.max_cid + 1;
742 cffface->num_glyphs = cff->charstrings_index.count;
766 cffface->family_name = cff_index_get_name( cff, face_index );
769 char* full = cff_index_get_sid_string( cff,
780 family_name = cff_index_get_sid_string( cff,
832 cff_index_get_sid_string( cff,
881 char *weight = cff_index_get_sid_string( cff,
902 /* CID-keyed CFF fonts don't have glyph names -- the SFNT loader */
919 /* will use it, whatever be in the CFF part of the file. */
924 CFF_Encoding encoding = &cff->encoding;
943 if ( pure_cff && cff->top_font.font_dict.cid_registry != 0xFFFFU )
1021 CFF_Font cff = (CFF_Font)face->extra.data;
1024 if ( cff )
1026 cff_font_done( cff );