Searched refs:pFontDesc (Results 1 – 9 of 9) sorted by relevance
/external/pdfium/core/fpdfapi/font/ |
D | cpdf_font.cpp | 161 void CPDF_Font::LoadFontDescriptor(const CPDF_Dictionary* pFontDesc) { in LoadFontDescriptor() argument 162 m_Flags = pFontDesc->GetIntegerFor("Flags", FXFONT_NONSYMBOLIC); in LoadFontDescriptor() 165 if (pFontDesc->KeyExist("ItalicAngle")) { in LoadFontDescriptor() 166 ItalicAngle = pFontDesc->GetIntegerFor("ItalicAngle"); in LoadFontDescriptor() 174 if (pFontDesc->KeyExist("StemV")) { in LoadFontDescriptor() 175 m_StemV = pFontDesc->GetIntegerFor("StemV"); in LoadFontDescriptor() 179 if (pFontDesc->KeyExist("Ascent")) { in LoadFontDescriptor() 180 m_Ascent = pFontDesc->GetIntegerFor("Ascent"); in LoadFontDescriptor() 184 if (pFontDesc->KeyExist("Descent")) { in LoadFontDescriptor() 185 m_Descent = pFontDesc->GetIntegerFor("Descent"); in LoadFontDescriptor() [all …]
|
D | cpdf_simplefont.cpp | 190 const CPDF_Dictionary* pFontDesc = m_pFontDict->GetDictFor("FontDescriptor"); in LoadCommon() local 191 if (pFontDesc) { in LoadCommon() 192 LoadFontDescriptor(pFontDesc); in LoadCommon() 197 if (pFontDesc && pFontDesc->KeyExist("MissingWidth")) { in LoadCommon() 198 int MissingWidth = pFontDesc->GetIntegerFor("MissingWidth"); in LoadCommon()
|
D | cpdf_type1font.cpp | 93 const CPDF_Dictionary* pFontDesc = m_pFontDict->GetDictFor("FontDescriptor"); in Load() local 94 if (pFontDesc && pFontDesc->KeyExist("Flags")) { in Load() 95 m_Flags = pFontDesc->GetIntegerFor("Flags"); in Load()
|
D | cpdf_cidfont.cpp | 369 const CPDF_Dictionary* pFontDesc = pCIDFontDict->GetDictFor("FontDescriptor"); in Load() local 370 if (pFontDesc) in Load() 371 LoadFontDescriptor(pFontDesc); in Load() 826 const CPDF_Dictionary* pFontDesc = m_pFontDict->GetDictFor("FontDescriptor"); in LoadGB2312() local 827 if (pFontDesc) in LoadGB2312() 828 LoadFontDescriptor(pFontDesc); in LoadGB2312()
|
D | cpdf_font.h | 142 void LoadFontDescriptor(const CPDF_Dictionary* pFontDesc);
|
/external/pdfium/fpdfsdk/ |
D | fpdf_edittext.cpp | 72 CPDF_Dictionary* pFontDesc = pDoc->NewIndirect<CPDF_Dictionary>(); in LoadFontDesc() local 73 pFontDesc->SetNewFor<CPDF_Name>("Type", "FontDescriptor"); in LoadFontDesc() 74 pFontDesc->SetNewFor<CPDF_Name>("FontName", font_name); in LoadFontDesc() 88 pFontDesc->SetNewFor<CPDF_Number>("Flags", flags); in LoadFontDesc() 91 pFontDesc->SetRectFor("FontBBox", CFX_FloatRect(bbox)); in LoadFontDesc() 94 pFontDesc->SetNewFor<CPDF_Number>("ItalicAngle", pFont->IsItalic() ? -12 : 0); in LoadFontDesc() 96 pFontDesc->SetNewFor<CPDF_Number>("Ascent", pFont->GetAscent()); in LoadFontDesc() 97 pFontDesc->SetNewFor<CPDF_Number>("Descent", pFont->GetDescent()); in LoadFontDesc() 100 pFontDesc->SetNewFor<CPDF_Number>("CapHeight", pFont->GetAscent()); in LoadFontDesc() 101 pFontDesc->SetNewFor<CPDF_Number>("StemV", pFont->IsBold() ? 120 : 70); in LoadFontDesc() [all …]
|
/external/pdfium/core/fxge/ |
D | cfx_fontmapper.cpp | 710 RetainPtr<CFX_FontMgr::FontDesc> pFontDesc = in GetCachedTTCFace() local 712 if (!pFontDesc) { in GetCachedTTCFace() 716 pFontDesc = m_pFontMgr->AddCachedTTCFontDesc( in GetCachedTTCFace() 722 GetTTCIndex(pFontDesc->FontData().first(ttc_size), font_offset); in GetCachedTTCFace() 723 RetainPtr<CFX_Face> pFace(pFontDesc->GetFace(face_index)); in GetCachedTTCFace() 728 pFontDesc, pFontDesc->FontData().first(ttc_size), face_index); in GetCachedTTCFace() 732 pFontDesc->SetFace(face_index, pFace.Get()); in GetCachedTTCFace() 741 RetainPtr<CFX_FontMgr::FontDesc> pFontDesc = in GetCachedFace() local 743 if (!pFontDesc) { in GetCachedFace() 747 pFontDesc = m_pFontMgr->AddCachedFontDesc(SubstName, weight, bItalic, in GetCachedFace() [all …]
|
D | cfx_fontmgr.cpp | 125 auto pFontDesc = pdfium::MakeRetain<FontDesc>(std::move(pData), size); in AddCachedFontDesc() local 126 m_FaceMap[KeyNameFromFace(face_name, weight, bItalic)].Reset(pFontDesc.Get()); in AddCachedFontDesc() 127 return pFontDesc; in AddCachedFontDesc()
|
/external/pdfium/core/fpdfapi/page/ |
D | cpdf_docpagedata.cpp | 145 auto pFontDesc = pDoc->New<CPDF_Dictionary>(); in CalculateFontDesc() local 146 pFontDesc->SetNewFor<CPDF_Name>("Type", "FontDescriptor"); in CalculateFontDesc() 147 pFontDesc->SetNewFor<CPDF_Name>("FontName", basefont); in CalculateFontDesc() 148 pFontDesc->SetNewFor<CPDF_Number>("Flags", flags); in CalculateFontDesc() 149 pFontDesc->SetFor("FontBBox", bbox); in CalculateFontDesc() 150 pFontDesc->SetNewFor<CPDF_Number>("ItalicAngle", italicangle); in CalculateFontDesc() 151 pFontDesc->SetNewFor<CPDF_Number>("Ascent", ascend); in CalculateFontDesc() 152 pFontDesc->SetNewFor<CPDF_Number>("Descent", descend); in CalculateFontDesc() 153 pFontDesc->SetNewFor<CPDF_Number>("StemV", stemV); in CalculateFontDesc() 154 return pFontDesc; in CalculateFontDesc() [all …]
|