Lines Matching refs:font_desc
46 const CPDF_Dictionary* font_desc = font_dict->GetDictFor("FontDescriptor"); in CheckFontDescriptor() local
47 ASSERT_TRUE(font_desc); in CheckFontDescriptor()
48 EXPECT_EQ("FontDescriptor", font_desc->GetStringFor("Type")); in CheckFontDescriptor()
50 font_desc->GetStringFor("FontName")); in CheckFontDescriptor()
54 ASSERT_TRUE(font_desc->KeyExist("Flags")); in CheckFontDescriptor()
56 int font_flags = font_desc->GetIntegerFor("Flags"); in CheckFontDescriptor()
60 ASSERT_TRUE(font_desc->KeyExist("FontBBox")); in CheckFontDescriptor()
62 const CPDF_Array* fontBBox = font_desc->GetArrayFor("FontBBox"); in CheckFontDescriptor()
70 EXPECT_TRUE(font_desc->KeyExist("ItalicAngle")); in CheckFontDescriptor()
71 EXPECT_TRUE(font_desc->KeyExist("Ascent")); in CheckFontDescriptor()
72 EXPECT_TRUE(font_desc->KeyExist("Descent")); in CheckFontDescriptor()
73 EXPECT_TRUE(font_desc->KeyExist("CapHeight")); in CheckFontDescriptor()
74 EXPECT_TRUE(font_desc->KeyExist("StemV")); in CheckFontDescriptor()
79 EXPECT_TRUE(font_desc->KeyExist(present)); in CheckFontDescriptor()
80 EXPECT_FALSE(font_desc->KeyExist(absent)); in CheckFontDescriptor()
83 pdfium::MakeRetain<CPDF_StreamAcc>(font_desc->GetStreamFor(present)); in CheckFontDescriptor()