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 = (FT_Long)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;
738 cffface->num_faces = (FT_Long)cff->num_faces;
742 cffface->num_glyphs = (FT_Long)( cff->charset.max_cid + 1 );
744 cffface->num_glyphs = (FT_Long)cff->charstrings_index.count;
768 cffface->family_name = cff_index_get_name( cff,
772 char* full = cff_index_get_sid_string( cff,
783 family_name = cff_index_get_sid_string( cff,
835 cff_index_get_sid_string( cff,
884 char *weight = cff_index_get_sid_string( cff,
905 /* CID-keyed CFF fonts don't have glyph names -- the SFNT loader */
922 /* will use it, whatever be in the CFF part of the file. */
927 CFF_Encoding encoding = &cff->encoding;
946 if ( pure_cff && cff->top_font.font_dict.cid_registry != 0xFFFFU )
1024 CFF_Font cff = (CFF_Font)face->extra.data;
1027 if ( cff )
1029 cff_font_done( cff );