Home | History | Annotate | Download | only in cff

Lines Matching defs:cff

390     CFF_Font  cff = (CFF_Font)face->extra.data;
400 decoder->cff = cff;
401 decoder->num_globals = cff->global_subrs_index.count;
402 decoder->globals = cff->global_subrs;
404 cff->top_font.font_dict.charstring_type,
419 CFF_Font cff = (CFF_Font)builder->face->extra.data;
420 CFF_SubFont sub = &cff->top_font;
425 if ( cff->num_subfonts )
427 FT_Byte fd_index = cff_fd_select_get( &cff->fd_select, glyph_index );
430 if ( fd_index >= cff->num_subfonts )
439 sub = cff->subfonts[fd_index];
454 decoder->cff->top_font.font_dict.charstring_type,
460 decoder->current_subfont = sub; /* for Adobe's CFF handler */
628 cff_lookup_glyph_by_stdcharcode( CFF_Font cff,
636 if ( !cff->charset.sids )
646 for ( n = 0; n < cff->num_glyphs; n++ )
648 if ( cff->charset.sids[n] == glyph_sid )
683 CFF_Font cff = (CFF_Font)(face->extra.data);
686 return cff_index_access_element( &cff->charstrings_index, glyph_index,
719 CFF_Font cff = (CFF_Font)(face->extra.data);
722 cff_index_forget_element( &cff->charstrings_index, pointer );
767 CFF_Font cff = (CFF_Font)(face->extra.data);
770 bchar_index = cff_lookup_glyph_by_stdcharcode( cff, bchar );
771 achar_index = cff_lookup_glyph_by_stdcharcode( cff, achar );
915 decoder->cff->top_font.font_dict.charstring_type;
2241 /* Type 1 to CFF, and some parsers seem to accept it */
2251 /* Type 1 to CFF, and some parsers seem to accept it */
2268 /* Type 1 to CFF, and some parsers seem to accept it */
2285 /* Type 1 to CFF, and some parsers seem to accept it */
2297 /* Type 1 to CFF, and some parsers seem to accept it */
2314 /* Type 1 to CFF, and some parsers seem to accept it */
2320 /* code like this (actually found in a CFF font): */
2332 /* the fact that CFF fonts with `pop' are invalid, it is */
2545 #if 0 /* unused until we support pure CFF fonts */
2555 CFF_Font cff = (CFF_Font)face->other;
2612 CFF_Font cff = (CFF_Font)face->extra.data;
2623 if ( cff->top_font.font_dict.cid_registry != 0xFFFFU &&
2624 cff->charset.cids )
2629 glyph_index = cff_charset_cid_to_gindex( &cff->charset,
2635 else if ( glyph_index >= cff->num_glyphs )
2758 if ( cff->num_subfonts )
2761 FT_Byte fd_index = cff_fd_select_get( &cff->fd_select,
2765 if ( fd_index >= cff->num_subfonts )
2766 fd_index = (FT_Byte)( cff->num_subfonts - 1 );
2768 top_upm = cff->top_font.font_dict.units_per_em;
2769 sub_upm = cff->subfonts[fd_index]->font_dict.units_per_em;
2772 font_matrix = cff->subfonts[fd_index]->font_dict.font_matrix;
2773 font_offset = cff->subfonts[fd_index]->font_dict.font_offset;
2785 font_matrix = cff->top_font.font_dict.font_matrix;
2786 font_offset = cff->top_font.font_dict.font_offset;
2831 /* choose which CFF renderer to use */
2880 CFF_Index csindex = &cff->charstrings_index;