Searched refs:pFontDesc (Results 1 – 8 of 8) sorted by relevance
/external/pdfium/core/fxge/ge/ |
D | cfx_fontmgr.cpp | 135 CTTFontDesc* pFontDesc = it->second; in GetCachedFace() local 136 pFontData = pFontDesc->m_pFontData; in GetCachedFace() 137 pFontDesc->m_RefCount++; in GetCachedFace() 138 return pFontDesc->m_SingleFace; in GetCachedFace() 147 CTTFontDesc* pFontDesc = new CTTFontDesc; in AddCachedFace() local 148 pFontDesc->m_Type = 1; in AddCachedFace() 149 pFontDesc->m_SingleFace = nullptr; in AddCachedFace() 150 pFontDesc->m_pFontData = pData; in AddCachedFace() 151 pFontDesc->m_RefCount = 1; in AddCachedFace() 156 &pFontDesc->m_SingleFace); in AddCachedFace() [all …]
|
/external/pdfium/core/fpdfapi/font/ |
D | cpdf_font.cpp | 163 void CPDF_Font::LoadFontDescriptor(CPDF_Dictionary* pFontDesc) { in LoadFontDescriptor() argument 164 m_Flags = pFontDesc->GetIntegerFor("Flags", FXFONT_NONSYMBOLIC); in LoadFontDescriptor() 167 if (pFontDesc->KeyExist("ItalicAngle")) { in LoadFontDescriptor() 168 ItalicAngle = pFontDesc->GetIntegerFor("ItalicAngle"); in LoadFontDescriptor() 176 if (pFontDesc->KeyExist("StemV")) { in LoadFontDescriptor() 177 m_StemV = pFontDesc->GetIntegerFor("StemV"); in LoadFontDescriptor() 181 if (pFontDesc->KeyExist("Ascent")) { in LoadFontDescriptor() 182 m_Ascent = pFontDesc->GetIntegerFor("Ascent"); in LoadFontDescriptor() 186 if (pFontDesc->KeyExist("Descent")) { in LoadFontDescriptor() 187 m_Descent = pFontDesc->GetIntegerFor("Descent"); in LoadFontDescriptor() [all …]
|
D | cpdf_simplefont.cpp | 105 CPDF_Dictionary* pFontDesc = m_pFontDict->GetDictFor("FontDescriptor"); in LoadCommon() local 106 if (pFontDesc) { in LoadCommon() 107 LoadFontDescriptor(pFontDesc); in LoadCommon() 112 if (pFontDesc && pFontDesc->KeyExist("MissingWidth")) { in LoadCommon() 113 int MissingWidth = pFontDesc->GetIntegerFor("MissingWidth"); in LoadCommon()
|
D | cpdf_type1font.cpp | 83 CPDF_Dictionary* pFontDesc = m_pFontDict->GetDictFor("FontDescriptor"); in Load() local 84 if (pFontDesc && pFontDesc->KeyExist("Flags")) in Load() 85 m_Flags = pFontDesc->GetIntegerFor("Flags"); in Load()
|
D | cpdf_cidfont.cpp | 343 CPDF_Dictionary* pFontDesc = pCIDFontDict->GetDictFor("FontDescriptor"); in Load() local 344 if (pFontDesc) in Load() 345 LoadFontDescriptor(pFontDesc); in Load() 824 CPDF_Dictionary* pFontDesc = m_pFontDict->GetDictFor("FontDescriptor"); in LoadGB2312() local 825 if (pFontDesc) in LoadGB2312() 826 LoadFontDescriptor(pFontDesc); in LoadGB2312()
|
/external/pdfium/core/fxge/android/ |
D | cfpf_skiafontmgr.cpp | 454 CFPF_SkiaPathFont* pFontDesc = new CFPF_SkiaPathFont; in ScanFile() local 455 pFontDesc->SetPath(file.c_str()); in ScanFile() 456 ReportFace(face, pFontDesc); in ScanFile() 457 m_FontFaces.push_back(pFontDesc); in ScanFile() 462 CFPF_SkiaFontDescriptor* pFontDesc) { in ReportFace() argument 463 if (!face || !pFontDesc) in ReportFace() 465 pFontDesc->SetFamily(FXFT_Get_Face_Family_Name(face)); in ReportFace() 467 pFontDesc->m_dwStyle |= FXFONT_BOLD; in ReportFace() 469 pFontDesc->m_dwStyle |= FXFONT_ITALIC; in ReportFace() 471 pFontDesc->m_dwStyle |= FXFONT_FIXED_PITCH; in ReportFace() [all …]
|
D | cfpf_skiafontmgr.h | 44 void ReportFace(FXFT_Face face, CFPF_SkiaFontDescriptor* pFontDesc);
|
/external/pdfium/core/fpdfapi/parser/ |
D | cpdf_document.cpp | 325 auto pFontDesc = in CalculateFontDesc() local 327 pFontDesc->SetNewFor<CPDF_Name>("Type", "FontDescriptor"); in CalculateFontDesc() 328 pFontDesc->SetNewFor<CPDF_Name>("FontName", basefont); in CalculateFontDesc() 329 pFontDesc->SetNewFor<CPDF_Number>("Flags", flags); in CalculateFontDesc() 330 pFontDesc->SetFor("FontBBox", std::move(bbox)); in CalculateFontDesc() 331 pFontDesc->SetNewFor<CPDF_Number>("ItalicAngle", italicangle); in CalculateFontDesc() 332 pFontDesc->SetNewFor<CPDF_Number>("Ascent", ascend); in CalculateFontDesc() 333 pFontDesc->SetNewFor<CPDF_Number>("Descent", descend); in CalculateFontDesc() 334 pFontDesc->SetNewFor<CPDF_Number>("StemV", stemV); in CalculateFontDesc() 335 return pFontDesc; in CalculateFontDesc() [all …]
|