Home
last modified time | relevance | path

Searched refs:font_desc (Results 1 – 2 of 2) sorted by relevance

/external/pdfium/fpdfsdk/
Dfpdfedit_embeddertest.cpp41 CPDF_Dictionary* font_desc = font_dict->GetDictFor("FontDescriptor"); in CheckFontDescriptor() local
42 ASSERT_TRUE(font_desc); in CheckFontDescriptor()
43 EXPECT_EQ("FontDescriptor", font_desc->GetStringFor("Type")); in CheckFontDescriptor()
45 font_desc->GetStringFor("FontName")); in CheckFontDescriptor()
49 ASSERT_TRUE(font_desc->KeyExist("Flags")); in CheckFontDescriptor()
51 int font_flags = font_desc->GetIntegerFor("Flags"); in CheckFontDescriptor()
55 ASSERT_TRUE(font_desc->KeyExist("FontBBox")); in CheckFontDescriptor()
57 CPDF_Array* fontBBox = font_desc->GetArrayFor("FontBBox"); in CheckFontDescriptor()
65 EXPECT_TRUE(font_desc->KeyExist("ItalicAngle")); in CheckFontDescriptor()
66 EXPECT_TRUE(font_desc->KeyExist("Ascent")); in CheckFontDescriptor()
[all …]
/external/harfbuzz_ng/src/
Dhb-coretext.cc120 CTFontDescriptorRef font_desc = CTFontDescriptorCreateWithAttributes (attributes); in get_last_resort_font_desc() local
122 return font_desc; in get_last_resort_font_desc()
578 CTFontDescriptorRef font_desc = CTFontDescriptorCreateWithAttributes (attributes); in _hb_coretext_shape() local
581 range->font = CTFontCreateCopyWithAttributes (ct_font, 0.0, nullptr, font_desc); in _hb_coretext_shape()
582 CFRelease (font_desc); in _hb_coretext_shape()