/third_party/skia/third_party/externals/freetype/src/cff/ |
H A D | cffdrivr.c | 386 CFF_Font cff; in cff_get_name_index() local 394 cff = (CFF_FontRec *)face->extra.data; in cff_get_name_index() 395 charset = &cff->charset; in cff_get_name_index() 399 if ( cff->version_major == 2 ) in cff_get_name_index() 426 for ( i = 0; i < cff->num_glyphs; i++ ) in cff_get_name_index() 431 name = cff_index_get_string( cff, sid - 391 ); in cff_get_name_index() 470 CFF_Font cff = (CFF_Font)face->extra.data; in cff_ps_get_font_info() local 474 if ( cff && !cff->font_info ) in cff_ps_get_font_info() 476 CFF_FontRecDict dict = &cff in cff_ps_get_font_info() 514 CFF_Font cff = (CFF_Font)face->extra.data; cff_ps_get_font_extra() local 609 CFF_Font cff = (CFF_Font)face->extra.data; cff_get_ps_name() local 701 CFF_Font cff = (CFF_Font)face->extra.data; cff_get_ros() local 756 CFF_Font cff = (CFF_Font)face->extra.data; cff_get_is_cid() local 780 CFF_Font cff; cff_get_cid_from_glyph_index() local [all...] |
H A D | cffcmap.c | 39 CFF_Font cff = (CFF_Font)face->extra.data; in FT_CALLBACK_DEF() local 40 CFF_Encoding encoding = &cff->encoding; in FT_CALLBACK_DEF() 136 CFF_Font cff = (CFF_Font)face->extra.data; in cff_sid_to_glyph_name() local 137 CFF_Charset charset = &cff->charset; in cff_sid_to_glyph_name() 141 return cff_index_get_sid_string( cff, sid ); in cff_sid_to_glyph_name() 151 CFF_Font cff = (CFF_Font)face->extra.data; in FT_CALLBACK_DEF() local 152 CFF_Charset charset = &cff->charset; in FT_CALLBACK_DEF() 153 FT_Service_PsCMaps psnames = (FT_Service_PsCMaps)cff->psnames; in FT_CALLBACK_DEF() 168 cff->num_glyphs, in FT_CALLBACK_DEF() 192 CFF_Font cff in FT_CALLBACK_DEF() local 205 CFF_Font cff = (CFF_Font)face->extra.data; FT_CALLBACK_DEF() local [all...] |
H A D | cffgload.c | 70 CFF_Font cff = (CFF_Font)(face->extra.data); in FT_LOCAL_DEF() local 73 return cff_index_access_element( &cff->charstrings_index, glyph_index, in FT_LOCAL_DEF() 106 CFF_Font cff = (CFF_Font)(face->extra.data); in cff_free_glyph_data() local 109 cff_index_forget_element( &cff->charstrings_index, pointer ); in cff_free_glyph_data() 142 CFF_Font cff = (CFF_Font)face->other; 204 CFF_Font cff = (CFF_Font)face->extra.data; in FT_LOCAL_DEF() local 218 if ( cff->top_font.font_dict.cid_registry != 0xFFFFU && in FT_LOCAL_DEF() 219 cff->charset.cids ) in FT_LOCAL_DEF() 224 glyph_index = cff_charset_cid_to_gindex( &cff->charset, in FT_LOCAL_DEF() 230 else if ( glyph_index >= cff in FT_LOCAL_DEF() [all...] |
H A D | cffobjs.c | 619 CFF_Font cff = NULL; in FT_LOCAL_DEF() local 626 if ( FT_NEW( cff ) ) in FT_LOCAL_DEF() 629 face->extra.data = cff; in FT_LOCAL_DEF() 633 cff, in FT_LOCAL_DEF() 644 cffface->num_faces = (FT_Long)cff->num_faces; in FT_LOCAL_DEF() 648 cff->pshinter = pshinter; in FT_LOCAL_DEF() 649 cff->psnames = psnames; in FT_LOCAL_DEF() 650 cff->cffload = cffload; in FT_LOCAL_DEF() 658 cffface->num_glyphs = (FT_Long)cff->num_glyphs; in FT_LOCAL_DEF() 660 dict = &cff in FT_LOCAL_DEF() 1156 CFF_Font cff = (CFF_Font)face->extra.data; cff_face_done() local [all...] |
H A D | rules.mk | 18 CFF_DIR := $(SRC_DIR)/cff 50 CFF_DRV_OBJ_S := $(OBJ_DIR)/cff.$O 54 CFF_DRV_SRC_S := $(CFF_DIR)/cff.c
|
H A D | module.mk | 20 $(ECHO_DRIVER)cff $(ECHO_DRIVER_DESC)OpenType fonts with extension *.otf$(ECHO_DRIVER_DONE)
|
H A D | cffparse.c | 1294 decoder.cff = &cff_rec; in FT_LOCAL_DEF()
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | hb-ot-cff1-table.cc | 317 cff = _cff; in init() 328 const OT::cff1::accelerator_t *cff; member 365 static bool _get_bounds (const OT::cff1::accelerator_t *cff, hb_codepoint_t glyph, bounds_t &bounds, bool in_seac=false); 375 hb_codepoint_t base = param.cff->std_code_to_glyph (env.argStack[n-2].to_int ()); in process_seac() 376 hb_codepoint_t accent = param.cff->std_code_to_glyph (env.argStack[n-1].to_int ()); in process_seac() 380 && _get_bounds (param.cff, base, base_bounds, true) in process_seac() 381 && _get_bounds (param.cff, accent, accent_bounds, true))) in process_seac() 392 bool _get_bounds (const OT::cff1::accelerator_t *cff, hb_codepoint_t glyph, bounds_t &bounds, bool in_seac) in _get_bounds() argument 395 if (unlikely (!cff->is_valid () || (glyph >= cff in _get_bounds() 491 const OT::cff1::accelerator_t *cff; global() member 539 _get_path(const OT::cff1::accelerator_t *cff, hb_font_t *font, hb_codepoint_t glyph, draw_helper_t &draw_helper, bool in_seac, point_t *delta) _get_path() argument 580 const OT::cff1::accelerator_t *cff; global() member [all...] |
H A D | hb-subset-plan.cc | 47 _add_cff_seac_components (const OT::cff1::accelerator_t &cff, in _add_cff_seac_components() argument 52 if (cff.get_seac_components (gid, &base_gid, &accent_gid)) in _add_cff_seac_components() 347 OT::cff1::accelerator_t cff; in _populate_gids_to_retain() local 351 cff.init (plan->source); in _populate_gids_to_retain() 394 if (cff.is_valid ()) in _populate_gids_to_retain() 395 _add_cff_seac_components (cff, gid, plan->_glyphset); in _populate_gids_to_retain() 412 cff.fini (); in _populate_gids_to_retain()
|
H A D | hb-ot-cff1-table.hh | 30 #include "hb-ot-cff-common.hh" 1013 const OT::cff1 *cff = this->blob->template as<OT::cff1> (); in init() local 1015 if (cff == &Null (OT::cff1)) in init() 1018 nameIndex = &cff->nameIndex (cff); in init() 1039 charset = &StructAtOffsetOrNull<Charset> (cff, topDict.CharsetOffset); in init() 1046 fdArray = &StructAtOffsetOrNull<CFF1FDArray> (cff, topDict.FDArrayOffset); in init() 1047 fdSelect = &StructAtOffsetOrNull<CFF1FDSelect> (cff, topDict.FDSelectOffset); in init() 1069 encoding = &StructAtOffsetOrNull<Encoding> (cff, topDict.EncodingOffset); in init() 1082 charStrings = &StructAtOffsetOrNull<CFF1CharStrings> (cff, topDic in init() [all...] |
H A D | hb-subset-cff1.cc | 37 #include "hb-subset-cff-common.hh" 866 OT::cff1 *cff = c->allocate_min<OT::cff1> (); in _serialize_cff1() local 867 if (unlikely (!cff)) in _serialize_cff1() 871 cff->version.major = 0x01; in _serialize_cff1() 872 cff->version.minor = 0x00; in _serialize_cff1() 873 cff->nameIndex = cff->min_size; in _serialize_cff1() 874 cff->offSize = 4; /* unused? */ in _serialize_cff1() 913 DEBUG_MSG(SUBSET, nullptr, "Failed to generate a cff subsetting plan."); in _hb_subset_cff1()
|
/third_party/skia/third_party/externals/freetype/src/psaux/ |
H A D | cffdecode.c | 251 CFF_Font cff = (CFF_Font)(face->extra.data); in cff_operator_seac() local 254 bchar_index = cff_lookup_glyph_by_stdcharcode( cff, bchar ); in cff_operator_seac() 255 achar_index = cff_lookup_glyph_by_stdcharcode( cff, achar ); in cff_operator_seac() 421 cff_lookup_glyph_by_stdcharcode( CFF_Font cff, in FT_LOCAL_DEF() 431 if ( !cff->charset.sids ) in FT_LOCAL_DEF() 452 cffload = (FT_Service_CFFLoad)cff->cffload; in FT_LOCAL_DEF() 457 for ( n = 0; n < cff->num_glyphs; n++ ) in FT_LOCAL_DEF() 459 if ( cff->charset.sids[n] == glyph_sid ) in FT_LOCAL_DEF() 509 decoder->cff->top_font.font_dict.charstring_type; in FT_LOCAL_DEF() 511 decoder->cff in FT_LOCAL_DEF() 2339 CFF_Font cff = (CFF_Font)face->extra.data; cff_decoder_init() local 2371 CFF_Font cff = (CFF_Font)builder->face->extra.data; FT_LOCAL_DEF() local [all...] |
H A D | psft.c | 320 ( is_t1 || decoder->cff ) ); in FT_LOCAL_DEF() 349 font->cffload = (FT_Service_CFFLoad)decoder->cff->cffload; in FT_LOCAL_DEF() 460 FT_ASSERT( decoder && decoder->cff ); in FT_LOCAL_DEF() 462 return &decoder->cff->vstore; in FT_LOCAL_DEF() 470 FT_ASSERT( decoder && decoder->cff ); in FT_LOCAL_DEF() 472 return decoder->cff->top_font.font_dict.maxstack; in FT_LOCAL_DEF() 683 gid = cff_lookup_glyph_by_stdcharcode( decoder->cff, code ); in FT_LOCAL_DEF()
|
H A D | cffdecode.h | 45 cff_lookup_glyph_by_stdcharcode( CFF_Font cff,
|
H A D | psfont.c | 299 cffload->load_private_dict( decoder->cff, in cf2_font_setup()
|
H A D | psobjs.c | 2464 ps_decoder->cff = cff_decoder->cff; in ps_decoder_init() 2465 ps_decoder->cf2_instance = &cff_decoder->cff->cf2_instance; in ps_decoder_init()
|
/third_party/skia/third_party/externals/harfbuzz/perf/ |
H A D | perf-extents.hh | 67 BENCHMARK_CAPTURE (extents, cff - ot - SourceSansPro, FONT_BASE_PATH "SourceSansPro-Regular.otf", false, HARFBUZZ); 68 BENCHMARK_CAPTURE (extents, cff - ft - SourceSansPro, FONT_BASE_PATH "SourceSansPro-Regular.otf", false, FREETYPE); 69 BENCHMARK_CAPTURE (extents, cff - tp - SourceSansPro, FONT_BASE_PATH "SourceSansPro-Regular.otf", false, TTF_PARSER);
|
H A D | perf-draw.hh | 147 BENCHMARK_CAPTURE (draw, cff - ot - SourceSansPro, FONT_BASE_PATH "SourceSansPro-Regular.otf", false, HARFBUZZ); 148 BENCHMARK_CAPTURE (draw, cff - ft - SourceSansPro, FONT_BASE_PATH "SourceSansPro-Regular.otf", false, FREETYPE); 149 BENCHMARK_CAPTURE (draw, cff - tp - SourceSansPro, FONT_BASE_PATH "SourceSansPro-Regular.otf", false, TTF_PARSER);
|
/third_party/skia/third_party/externals/freetype/builds/amiga/ |
H A D | makefile | 186 cff.ppc.o: $(FTSRC)/cff/cff.c 284 FONTDPPC = cff.ppc.o type1.ppc.o type42.ppc.o type1cid.ppc.o truetype.ppc.o\
|
/third_party/skia/src/sfnt/ |
H A D | SkOTTable_maxp.h | 27 struct CFF : SkOTTableMaximumProfile_CFF { } cff; member
|
/third_party/mesa3d/src/imgui/ |
H A D | imstb_truetype.h | 726 stbtt__buf cff; // cff font data member 1337 static stbtt__buf stbtt__get_subrs(stbtt__buf cff, stbtt__buf fontdict) in stbtt__get_subrs() argument 1343 pdict = stbtt__buf_range(&cff, private_loc[1], private_loc[0]); in stbtt__get_subrs() 1346 stbtt__buf_seek(&cff, private_loc[1]+subrsoff); in stbtt__get_subrs() 1347 return stbtt__cff_get_index(&cff); in stbtt__get_subrs() 1357 info->cff = stbtt__new_buf(NULL, 0); in stbtt_InitFont_internal() 1377 stbtt_uint32 cff; in stbtt_InitFont_internal() local 1379 cff = stbtt__find_table(data, fontstart, "CFF "); in stbtt_InitFont_internal() 1380 if (!cff) retur in stbtt_InitFont_internal() [all...] |
/third_party/skia/third_party/externals/imgui/ |
H A D | imstb_truetype.h | 726 stbtt__buf cff; // cff font data member 1337 static stbtt__buf stbtt__get_subrs(stbtt__buf cff, stbtt__buf fontdict) in stbtt__get_subrs() argument 1343 pdict = stbtt__buf_range(&cff, private_loc[1], private_loc[0]); in stbtt__get_subrs() 1346 stbtt__buf_seek(&cff, private_loc[1]+subrsoff); in stbtt__get_subrs() 1347 return stbtt__cff_get_index(&cff); in stbtt__get_subrs() 1357 info->cff = stbtt__new_buf(NULL, 0); in stbtt_InitFont_internal() 1377 stbtt_uint32 cff; in stbtt_InitFont_internal() local 1379 cff = stbtt__find_table(data, fontstart, "CFF "); in stbtt_InitFont_internal() 1380 if (!cff) retur in stbtt_InitFont_internal() [all...] |
/third_party/skia/third_party/externals/freetype/include/freetype/internal/ |
H A D | psaux.h | 644 CFF_Font cff; member 1169 CFF_Font cff; member
|