Home
last modified time | relevance | path

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

/external/pdfium/fpdfsdk/
Dfpdfedit_embeddertest.cpp477 CPDF_Dictionary* font_desc = font_dict->GetDictFor("FontDescriptor"); in TEST_F() local
478 EXPECT_EQ("FontDescriptor", font_desc->GetStringFor("Type")); in TEST_F()
480 font_desc->GetStringFor("FontName")); in TEST_F()
483 ASSERT_TRUE(font_desc->KeyExist("Flags")); in TEST_F()
484 int font_flags = font_desc->GetIntegerFor("Flags"); in TEST_F()
487 ASSERT_TRUE(font_desc->KeyExist("FontBBox")); in TEST_F()
488 EXPECT_EQ(4U, font_desc->GetArrayFor("FontBBox")->GetCount()); in TEST_F()
489 EXPECT_TRUE(font_desc->KeyExist("ItalicAngle")); in TEST_F()
490 EXPECT_TRUE(font_desc->KeyExist("Ascent")); in TEST_F()
491 EXPECT_TRUE(font_desc->KeyExist("Descent")); in TEST_F()
[all …]
/external/harfbuzz_ng/src/
Dhb-coretext.cc98 CTFontDescriptorRef font_desc = CTFontDescriptorCreateWithAttributes (attributes); in HB_SHAPER_DATA_ENSURE_DECLARE() local
100 return font_desc; in HB_SHAPER_DATA_ENSURE_DECLARE()
674 CTFontDescriptorRef font_desc = CTFontDescriptorCreateWithAttributes (attributes); in _hb_coretext_shape() local
677 range->font = CTFontCreateCopyWithAttributes (face_data->ct_font, 0.0, NULL, font_desc); in _hb_coretext_shape()
678 CFRelease (font_desc); in _hb_coretext_shape()