Lines Matching refs:fontDesc
36 CPDF_Dictionary* fontDesc = pDoc->NewIndirect<CPDF_Dictionary>();
37 fontDesc->SetNewFor<CPDF_Name>("Type", "FontDescriptor");
38 fontDesc->SetNewFor<CPDF_Name>("FontName", font_name);
52 fontDesc->SetNewFor<CPDF_Number>("Flags", flags);
60 fontDesc->SetFor("FontBBox", std::move(pBBox));
63 fontDesc->SetNewFor<CPDF_Number>("ItalicAngle", pFont->IsItalic() ? -12 : 0);
65 fontDesc->SetNewFor<CPDF_Number>("Ascent", pFont->GetAscent());
66 fontDesc->SetNewFor<CPDF_Number>("Descent", pFont->GetDescent());
69 fontDesc->SetNewFor<CPDF_Number>("CapHeight", pFont->GetAscent());
70 fontDesc->SetNewFor<CPDF_Number>("StemV", pFont->IsBold() ? 120 : 70);
80 fontDesc->SetNewFor<CPDF_Reference>(fontFile, pDoc, pStream->GetObjNum());
81 return fontDesc;
274 CPDF_Dictionary* fontDesc =
278 fontDesc->GetObjNum());
317 CPDF_Dictionary* fontDesc =
320 fontDesc->GetObjNum());