Home | History | Annotate | Download | only in cff

Lines Matching refs:cff

102   /* CFF and Type 1 private dictionaries have slightly different      */
512 if ( face->format_tag != TTAG_OTTO ) /* `OTTO'; OpenType/CFF font */
514 FT_TRACE2(( "[not a valid OpenType/CFF font]\n" ));
522 /* UNDOCUMENTED! A CFF in an SFNT can have only a single font. */
532 /* 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"
644 for ( i = cff->num_subfonts; i > 0; i-- )
646 CFF_FontRecDict sub = &cff->subfonts[i - 1]->font_dict;
647 CFF_FontRecDict top = &cff->top_font.font_dict;
721 cffface->num_faces = cff->num_faces;
725 cffface->num_glyphs = cff->charset.max_cid + 1;
727 cffface->num_glyphs = cff->charstrings_index.count;
751 cffface->family_name = cff_index_get_name( cff, face_index );
754 char* full = cff_index_get_sid_string( cff,
765 family_name = cff_index_get_sid_string( cff,
817 cff_index_get_sid_string( cff,
866 char *weight = cff_index_get_sid_string( cff,
887 /* CID-keyed CFF fonts don't have glyph names -- the SFNT loader */
904 /* will use it, whatever be in the CFF part of the file. */
909 CFF_Encoding encoding = &cff->encoding;
928 if ( pure_cff && cff->top_font.font_dict.cid_registry != 0xFFFFU )
1028 CFF_Font cff = (CFF_Font)face->extra.data;
1031 if ( cff )
1033 cff );