Searched refs:font_desc (Results 1 – 3 of 3) sorted by relevance
24 mod font_desc; module25 pub use font_desc::*;
46 const CPDF_Dictionary* font_desc = font_dict->GetDictFor("FontDescriptor"); in CheckFontDescriptor() local47 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()[all …]
105 CTFontDescriptorRef font_desc = CTFontDescriptorCreateWithAttributes (attributes); in get_last_resort_font_desc() local107 return font_desc; in get_last_resort_font_desc()564 CTFontDescriptorRef font_desc = CTFontDescriptorCreateWithAttributes (attributes); in _hb_coretext_shape() local567 range->font = CTFontCreateCopyWithAttributes (ct_font, 0.0, nullptr, font_desc); in _hb_coretext_shape()568 CFRelease (font_desc); in _hb_coretext_shape()