• Home
  • Raw
  • Download

Lines Matching refs:font_dict

41   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()
2433 EXPECT_EQ("TimesNewRomanPS-BoldMT", font_dict->GetStringFor("BaseFont")); in TEST_F()
2434 ASSERT_TRUE(font_dict->KeyExist("FirstChar")); in TEST_F()
2435 ASSERT_TRUE(font_dict->KeyExist("LastChar")); in TEST_F()
2436 EXPECT_EQ(32, font_dict->GetIntegerFor("FirstChar")); in TEST_F()
2437 EXPECT_EQ(255, font_dict->GetIntegerFor("LastChar")); in TEST_F()
2439 const CPDF_Array* widths_array = font_dict->GetArrayFor("Widths"); in TEST_F()
2445 CheckFontDescriptor(font_dict, FPDF_FONT_TYPE1, true, false, span); in TEST_F()
2459 const CPDF_Dictionary* font_dict = typed_font->GetFontDict(); in TEST_F() local
2460 EXPECT_EQ("Font", font_dict->GetStringFor("Type")); in TEST_F()
2461 EXPECT_EQ("TrueType", font_dict->GetStringFor("Subtype")); in TEST_F()
2462 EXPECT_EQ("CourierNewPSMT", font_dict->GetStringFor("BaseFont")); in TEST_F()
2463 ASSERT_TRUE(font_dict->KeyExist("FirstChar")); in TEST_F()
2464 ASSERT_TRUE(font_dict->KeyExist("LastChar")); in TEST_F()
2465 EXPECT_EQ(32, font_dict->GetIntegerFor("FirstChar")); in TEST_F()
2466 EXPECT_EQ(255, font_dict->GetIntegerFor("LastChar")); in TEST_F()
2468 const CPDF_Array* widths_array = font_dict->GetArrayFor("Widths"); in TEST_F()
2474 CheckFontDescriptor(font_dict, FPDF_FONT_TRUETYPE, false, false, span); in TEST_F()
2489 const CPDF_Dictionary* font_dict = typed_font->GetFontDict(); in TEST_F() local
2490 EXPECT_EQ("Font", font_dict->GetStringFor("Type")); in TEST_F()
2491 EXPECT_EQ("Type0", font_dict->GetStringFor("Subtype")); in TEST_F()
2493 font_dict->GetStringFor("BaseFont")); in TEST_F()
2494 EXPECT_EQ("Identity-H", font_dict->GetStringFor("Encoding")); in TEST_F()
2496 font_dict->GetArrayFor("DescendantFonts"); in TEST_F()
2538 const CPDF_Dictionary* font_dict = typed_font->GetFontDict(); in TEST_F() local
2539 EXPECT_EQ("Font", font_dict->GetStringFor("Type")); in TEST_F()
2540 EXPECT_EQ("Type0", font_dict->GetStringFor("Subtype")); in TEST_F()
2541 EXPECT_EQ("Arial-ItalicMT", font_dict->GetStringFor("BaseFont")); in TEST_F()
2542 EXPECT_EQ("Identity-H", font_dict->GetStringFor("Encoding")); in TEST_F()
2544 font_dict->GetArrayFor("DescendantFonts"); in TEST_F()