Searched refs:pFontDesc (Results 1 – 8 of 8) sorted by relevance
/external/pdfium/core/fxge/ |
D | cfx_fontmgr.cpp | 126 CTTFontDesc* pFontDesc = it->second.get(); in GetCachedFace() local 127 *pFontData = pFontDesc->FontData(); in GetCachedFace() 128 pFontDesc->AddRef(); in GetCachedFace() 129 return pFontDesc->SingleFace(); in GetCachedFace() 149 auto pFontDesc = pdfium::MakeUnique<CTTFontDesc>(pData, face); in AddCachedFace() local 150 CTTFontDesc* pResult = pFontDesc.get(); in AddCachedFace() 151 m_FaceMap[KeyNameFromFace(face_name, weight, bItalic)] = std::move(pFontDesc); in AddCachedFace() 163 CTTFontDesc* pFontDesc = it->second.get(); in GetCachedTTCFace() local 164 *pFontData = pFontDesc->FontData(); in GetCachedTTCFace() 165 int face_index = GetTTCIndex(pFontDesc->FontData(), ttc_size, font_offset); in GetCachedTTCFace() [all …]
|
/external/pdfium/core/fpdfapi/font/ |
D | cpdf_font.cpp | 167 void CPDF_Font::LoadFontDescriptor(CPDF_Dictionary* pFontDesc) { in LoadFontDescriptor() argument 168 m_Flags = pFontDesc->GetIntegerFor("Flags", FXFONT_NONSYMBOLIC); in LoadFontDescriptor() 171 if (pFontDesc->KeyExist("ItalicAngle")) { in LoadFontDescriptor() 172 ItalicAngle = pFontDesc->GetIntegerFor("ItalicAngle"); in LoadFontDescriptor() 180 if (pFontDesc->KeyExist("StemV")) { in LoadFontDescriptor() 181 m_StemV = pFontDesc->GetIntegerFor("StemV"); in LoadFontDescriptor() 185 if (pFontDesc->KeyExist("Ascent")) { in LoadFontDescriptor() 186 m_Ascent = pFontDesc->GetIntegerFor("Ascent"); in LoadFontDescriptor() 190 if (pFontDesc->KeyExist("Descent")) { in LoadFontDescriptor() 191 m_Descent = pFontDesc->GetIntegerFor("Descent"); in LoadFontDescriptor() [all …]
|
D | cpdf_simplefont.cpp | 107 CPDF_Dictionary* pFontDesc = m_pFontDict->GetDictFor("FontDescriptor"); in LoadCommon() local 108 if (pFontDesc) { in LoadCommon() 109 LoadFontDescriptor(pFontDesc); in LoadCommon() 114 if (pFontDesc && pFontDesc->KeyExist("MissingWidth")) { in LoadCommon() 115 int MissingWidth = pFontDesc->GetIntegerFor("MissingWidth"); in LoadCommon()
|
D | cpdf_type1font.cpp | 80 CPDF_Dictionary* pFontDesc = m_pFontDict->GetDictFor("FontDescriptor"); in Load() local 81 if (pFontDesc && pFontDesc->KeyExist("Flags")) in Load() 82 m_Flags = pFontDesc->GetIntegerFor("Flags"); in Load()
|
D | cpdf_cidfont.cpp | 357 CPDF_Dictionary* pFontDesc = pCIDFontDict->GetDictFor("FontDescriptor"); in Load() local 358 if (pFontDesc) in Load() 359 LoadFontDescriptor(pFontDesc); in Load() 844 CPDF_Dictionary* pFontDesc = m_pFontDict->GetDictFor("FontDescriptor"); in LoadGB2312() local 845 if (pFontDesc) in LoadGB2312() 846 LoadFontDescriptor(pFontDesc); in LoadGB2312()
|
/external/pdfium/core/fxge/android/ |
D | cfpf_skiafontmgr.cpp | 456 CFPF_SkiaPathFont* pFontDesc = new CFPF_SkiaPathFont; in ScanFile() local 457 pFontDesc->SetPath(file.c_str()); in ScanFile() 458 ReportFace(face, pFontDesc); in ScanFile() 459 m_FontFaces.push_back(pFontDesc); in ScanFile() 464 CFPF_SkiaFontDescriptor* pFontDesc) { in ReportFace() argument 465 if (!face || !pFontDesc) in ReportFace() 467 pFontDesc->SetFamily(FXFT_Get_Face_Family_Name(face)); in ReportFace() 469 pFontDesc->m_dwStyle |= FXFONT_BOLD; in ReportFace() 471 pFontDesc->m_dwStyle |= FXFONT_ITALIC; in ReportFace() 473 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 | 326 auto pFontDesc = in CalculateFontDesc() local 328 pFontDesc->SetNewFor<CPDF_Name>("Type", "FontDescriptor"); in CalculateFontDesc() 329 pFontDesc->SetNewFor<CPDF_Name>("FontName", basefont); in CalculateFontDesc() 330 pFontDesc->SetNewFor<CPDF_Number>("Flags", flags); in CalculateFontDesc() 331 pFontDesc->SetFor("FontBBox", std::move(bbox)); in CalculateFontDesc() 332 pFontDesc->SetNewFor<CPDF_Number>("ItalicAngle", italicangle); in CalculateFontDesc() 333 pFontDesc->SetNewFor<CPDF_Number>("Ascent", ascend); in CalculateFontDesc() 334 pFontDesc->SetNewFor<CPDF_Number>("Descent", descend); in CalculateFontDesc() 335 pFontDesc->SetNewFor<CPDF_Number>("StemV", stemV); in CalculateFontDesc() 336 return pFontDesc; in CalculateFontDesc() [all …]
|