Searched refs:pFontDesc (Results 1 – 6 of 6) sorted by relevance
/external/pdfium/core/src/fpdfapi/fpdf_edit/ |
D | fpdf_edit_doc.cpp | 407 CPDF_Dictionary* pFontDesc = new CPDF_Dictionary; in AddWindowsFont() local 408 pFontDesc->SetAtName("Type", "FontDescriptor"); in AddWindowsFont() 409 pFontDesc->SetAtName("FontName", basefont); in AddWindowsFont() 410 pFontDesc->SetAtInteger("Flags", flags); in AddWindowsFont() 415 pFontDesc->SetAt("FontBBox", pBBox); in AddWindowsFont() 416 pFontDesc->SetAtInteger("ItalicAngle", italicangle); in AddWindowsFont() 417 pFontDesc->SetAtInteger("Ascent", ascend); in AddWindowsFont() 418 pFontDesc->SetAtInteger("Descent", descend); in AddWindowsFont() 419 pFontDesc->SetAtInteger("CapHeight", capheight); in AddWindowsFont() 420 pFontDesc->SetAtInteger("StemV", pLogFont->lfWeight / 5); in AddWindowsFont() [all …]
|
/external/pdfium/core/src/fxge/android/ |
D | fpf_skiafontmgr.cpp | 443 CFPF_SkiaPathFont* pFontDesc = new CFPF_SkiaPathFont; in ScanFile() local 444 pFontDesc->SetPath(file.GetCStr()); in ScanFile() 445 ReportFace(face, pFontDesc); in ScanFile() 446 m_FontFaces.Add(pFontDesc); in ScanFile() 497 CFPF_SkiaFontDescriptor* pFontDesc) { in ReportFace() argument 498 if (!face || !pFontDesc) { in ReportFace() 501 pFontDesc->SetFamily(FXFT_Get_Face_Family_Name(face)); in ReportFace() 503 pFontDesc->m_dwStyle |= FXFONT_BOLD; in ReportFace() 506 pFontDesc->m_dwStyle |= FXFONT_ITALIC; in ReportFace() 509 pFontDesc->m_dwStyle |= FXFONT_FIXED_PITCH; in ReportFace() [all …]
|
D | fpf_skiafontmgr.h | 108 void ReportFace(FXFT_Face face, CFPF_SkiaFontDescriptor* pFontDesc);
|
/external/pdfium/core/src/fxge/ge/ |
D | fx_ge_fontmap.cpp | 505 CTTFontDesc* pFontDesc = it->second; in GetCachedFace() local 506 pFontData = pFontDesc->m_pFontData; in GetCachedFace() 507 pFontDesc->m_RefCount++; in GetCachedFace() 508 return pFontDesc->m_SingleFace.m_pFace; in GetCachedFace() 516 CTTFontDesc* pFontDesc = new CTTFontDesc; in AddCachedFace() local 517 pFontDesc->m_Type = 1; in AddCachedFace() 518 pFontDesc->m_SingleFace.m_pFace = NULL; in AddCachedFace() 519 pFontDesc->m_SingleFace.m_bBold = weight; in AddCachedFace() 520 pFontDesc->m_SingleFace.m_bItalic = bItalic; in AddCachedFace() 521 pFontDesc->m_pFontData = pData; in AddCachedFace() [all …]
|
/external/pdfium/core/src/fpdfapi/fpdf_font/ |
D | fpdf_font.cpp | 196 void CPDF_Font::LoadFontDescriptor(CPDF_Dictionary* pFontDesc) { in LoadFontDescriptor() argument 197 m_Flags = pFontDesc->GetInteger("Flags", PDFFONT_NONSYMBOLIC); in LoadFontDescriptor() 200 if (pFontDesc->KeyExist("ItalicAngle")) { in LoadFontDescriptor() 201 ItalicAngle = pFontDesc->GetInteger("ItalicAngle"); in LoadFontDescriptor() 209 if (pFontDesc->KeyExist("StemV")) { in LoadFontDescriptor() 210 m_StemV = pFontDesc->GetInteger("StemV"); in LoadFontDescriptor() 214 if (pFontDesc->KeyExist("Ascent")) { in LoadFontDescriptor() 215 m_Ascent = pFontDesc->GetInteger("Ascent"); in LoadFontDescriptor() 219 if (pFontDesc->KeyExist("Descent")) { in LoadFontDescriptor() 220 m_Descent = pFontDesc->GetInteger("Descent"); in LoadFontDescriptor() [all …]
|
D | fpdf_font_cid.cpp | 1178 CPDF_Dictionary* pFontDesc = pCIDFontDict->GetDict("FontDescriptor"); in _Load() local 1179 if (pFontDesc) { in _Load() 1180 LoadFontDescriptor(pFontDesc); in _Load() 1691 CPDF_Dictionary* pFontDesc = m_pFontDict->GetDict("FontDescriptor"); in LoadGB2312() local 1692 if (pFontDesc) { in LoadGB2312() 1693 LoadFontDescriptor(pFontDesc); in LoadGB2312()
|