Home | History | Annotate | Download | only in cff

Lines Matching refs:cff

114   /* CFF and Type 1 private dictionaries have slightly different      */
535 FT_TRACE2(( "CFF driver\n" ));
546 if ( face->format_tag != TTAG_OTTO ) /* `OTTO'; OpenType/CFF font */
548 CFF font\n" ));
559 /* now, the font can be either an OpenType/CFF font, or an SVG CEF */
580 /* now load the CFF part of the file; */
597 /* rewind to start of file; we are going to load a pure-CFF font */
603 /* now load and parse the CFF table in the file */
605 CFF_Font cff = NULL;
612 if ( FT_NEW( cff ) )
615 face->extra.data = cff;
619 cff,
627 /* (this is here for pure CFF) */
630 cffface->num_faces = (FT_Long)cff->num_faces;
634 cff->pshinter = pshinter;
635 cff->psnames = psnames;
636 cff->cffload = cffload;
641 /* Note that this is only necessary for pure CFF and CEF fonts; */
644 cffface->num_glyphs = (FT_Long)cff->num_glyphs;
646 dict = &cff->top_font.font_dict;
648 /* we need the `PSNames' module for CFF and CEF formats */
653 " cannot open CFF & CEF fonts\n"
671 s = cff_index_get_sid_string( cff, idx );
679 /* We thus access `cff->strings' directly. */
680 for ( idx = 1; idx < cff->num_strings; idx++ )
682 FT_Byte* s1 = cff->strings[idx - 1];
683 FT_Byte* s2 = cff->strings[idx];
695 if ( cff->num_strings )
697 FT_Byte* s1 = cff->strings[cff->num_strings - 1];
698 FT_Byte* s2 = cff->string_pool + cff->string_pool_size;
703 FT_TRACE4(( " %5d ", cff->num_strings + 390 ));
771 for ( i = cff->num_subfonts; i > 0; i-- )
773 CFF_FontRecDict sub = &cff->subfonts[i - 1]->font_dict;
774 CFF_FontRecDict top = &cff->top_font.font_dict;
849 cffface->num_faces = (FT_Long)cff->num_faces;
853 cffface->num_glyphs = (FT_Long)( cff->charset.max_cid + 1 );
855 cffface->num_glyphs = (FT_Long)cff->charstrings_index.count;
885 family_name = cff_index_get_sid_string( cff, dict->family_name );
893 cff,
901 char* full = cff_index_get_sid_string( cff,
953 cff_index_get_sid_string( cff,
1002 char *weight = cff_index_get_sid_string( cff,
1022 /* CID-keyed CFF fonts don't have glyph names -- the SFNT loader */
1038 /* will use it, whatever be in the CFF part of the file. */
1043 CFF_Encoding encoding = &cff->encoding;
1062 if ( pure_cff && cff->top_font.font_dict.cid_registry != 0xFFFFU )
1140 CFF_Font cff = (CFF_Font)face->extra.data;
1143 if ( cff )
1145 cff_font_done( cff );