Home
last modified time | relevance | path

Searched refs:pFontDesc (Results 1 – 8 of 8) sorted by relevance

/external/pdfium/core/fxge/ge/
Dcfx_fontmgr.cpp135 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/
Dcpdf_font.cpp163 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 …]
Dcpdf_simplefont.cpp105 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()
Dcpdf_type1font.cpp83 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()
Dcpdf_cidfont.cpp343 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/
Dcfpf_skiafontmgr.cpp454 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 …]
Dcfpf_skiafontmgr.h44 void ReportFace(FXFT_Face face, CFPF_SkiaFontDescriptor* pFontDesc);
/external/pdfium/core/fpdfapi/parser/
Dcpdf_document.cpp325 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 …]