Home
last modified time | relevance | path

Searched refs:font_dict (Results 1 – 11 of 11) sorted by relevance

/external/pdfium/core/fpdfapi/font/
Dcpdf_cidfont_unittest.cpp27 auto font_dict = pdfium::MakeRetain<CPDF_Dictionary>(); in TEST_F() local
28 font_dict->SetNewFor<CPDF_Name>("Encoding", "Identity−H"); in TEST_F()
37 font_dict->SetFor("DescendantFonts", std::move(descendant_fonts)); in TEST_F()
40 auto font = pdfium::MakeRetain<CPDF_CIDFont>(&doc, font_dict.Get()); in TEST_F()
/external/pdfium/fpdfsdk/
Dfpdf_edit_embeddertest.cpp41 void CheckFontDescriptor(const CPDF_Dictionary* font_dict, in CheckFontDescriptor() argument
46 const CPDF_Dictionary* font_desc = font_dict->GetDictFor("FontDescriptor"); in CheckFontDescriptor()
49 EXPECT_EQ(font_dict->GetStringFor("BaseFont"), in CheckFontDescriptor()
2407 CPDF_Dictionary* font_dict = cpage->m_pResources->GetDictFor("Font"); in TEST_F() local
2408 ASSERT_TRUE(font_dict); in TEST_F()
2409 EXPECT_EQ(1u, font_dict->size()); in TEST_F()
2414 EXPECT_EQ(1u, font_dict->size()); in TEST_F()
2430 const CPDF_Dictionary* font_dict = typed_font->GetFontDict(); in TEST_F() local
2431 EXPECT_EQ("Font", font_dict->GetStringFor("Type")); in TEST_F()
2432 EXPECT_EQ("Type1", font_dict->GetStringFor("Subtype")); in TEST_F()
[all …]
/external/freetype/src/cff/
Dcffgload.c218 if ( cff->top_font.font_dict.cid_registry != 0xFFFFU && in cff_slot_load()
363 top_upm = (FT_Long)cff->top_font.font_dict.units_per_em; in cff_slot_load()
364 sub_upm = (FT_Long)cff->subfonts[fd_index]->font_dict.units_per_em; in cff_slot_load()
366 font_matrix = cff->subfonts[fd_index]->font_dict.font_matrix; in cff_slot_load()
367 font_offset = cff->subfonts[fd_index]->font_dict.font_offset; in cff_slot_load()
379 font_matrix = cff->top_font.font_dict.font_matrix; in cff_slot_load()
380 font_offset = cff->top_font.font_dict.font_offset; in cff_slot_load()
Dcffobjs.c245 FT_Long top_upm = (FT_Long)font->top_font.font_dict.units_per_em; in cff_size_select()
256 FT_Long sub_upm = (FT_Long)sub->font_dict.units_per_em; in cff_size_select()
317 FT_Long top_upm = (FT_Long)font->top_font.font_dict.units_per_em; in cff_size_request()
328 FT_Long sub_upm = (FT_Long)sub->font_dict.units_per_em; in cff_size_request()
655 dict = &cff->top_font.font_dict; in cff_face_init()
782 CFF_FontRecDict sub = &cff->subfonts[i - 1]->font_dict; in cff_face_init()
783 CFF_FontRecDict top = &cff->top_font.font_dict; in cff_face_init()
1072 if ( pure_cff && cff->top_font.font_dict.cid_registry != 0xFFFFU ) in cff_face_init()
Dcffdrivr.c476 CFF_FontRecDict dict = &cff->top_font.font_dict; in cff_ps_get_font_info()
520 CFF_FontRecDict dict = &cff->top_font.font_dict; in cff_ps_get_font_extra()
706 CFF_FontRecDict dict = &cff->top_font.font_dict; in cff_get_ros()
763 CFF_FontRecDict dict = &cff->top_font.font_dict; in cff_get_is_cid()
788 CFF_FontRecDict dict = &cff->top_font.font_dict; in cff_get_cid_from_glyph_index()
Dcffload.c1885 CFF_FontRecDict top = &subfont->font_dict; in cff_load_private_dict()
1914 stackSize = font->cff2 ? font->top_font.font_dict.maxstack + 1 in cff_load_private_dict()
1998 CFF_FontRecDict top = &subfont->font_dict; in cff_subfont_load()
2013 &subfont->font_dict, in cff_subfont_load()
2213 dict = &font->top_font.font_dict; in cff_font_load()
Dcffparse.c1291 cff_rec.top_font.font_dict.num_designs = parser->num_designs; in cff_parser_run()
1292 cff_rec.top_font.font_dict.num_axes = parser->num_axes; in cff_parser_run()
/external/freetype/src/psaux/
Dcffdecode.c509 decoder->cff->top_font.font_dict.charstring_type; in cff_decoder_parse_charstrings()
511 decoder->cff->top_font.font_dict.num_designs; in cff_decoder_parse_charstrings()
513 decoder->cff->top_font.font_dict.num_axes; in cff_decoder_parse_charstrings()
2352 cff->top_font.font_dict.charstring_type, in cff_decoder_init()
2409 decoder->cff->top_font.font_dict.charstring_type, in cff_decoder_prepare()
Dpsft.c472 return decoder->cff->top_font.font_dict.maxstack; in cf2_getMaxstack()
/external/freetype/include/freetype/internal/
Dcfftypes.h304 CFF_FontRecDictRec font_dict; member
/external/fonttools/Lib/fontTools/varLib/
Dcff.py183 for fd_index, font_dict in enumerate(topDict.FDArray):
184 private_dict = font_dict.Private