Home
last modified time | relevance | path

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

/external/pdfium/core/src/fxge/ge/
Dfx_ge_fontmap.cpp127 CTTFontDesc* pFontDesc = NULL; in GetCachedFace() local
128 m_FaceMap.Lookup(key, (void*&)pFontDesc); in GetCachedFace()
129 if(pFontDesc) { in GetCachedFace()
130 pFontData = pFontDesc->m_pFontData; in GetCachedFace()
131 pFontDesc->m_RefCount ++; in GetCachedFace()
132 return pFontDesc->m_SingleFace.m_pFace; in GetCachedFace()
139 CTTFontDesc* pFontDesc = FX_NEW CTTFontDesc; in AddCachedFace() local
140 if (!pFontDesc) { in AddCachedFace()
143 pFontDesc->m_Type = 1; in AddCachedFace()
144 pFontDesc->m_SingleFace.m_pFace = NULL; in AddCachedFace()
[all …]
/external/pdfium/core/src/fxge/android/
Dfpf_skiafontmgr.cpp467 CFPF_SkiaPathFont *pFontDesc = FX_NEW CFPF_SkiaPathFont; in ScanFile() local
468 if (!pFontDesc) { in ScanFile()
471 pFontDesc->SetPath(file.GetCStr()); in ScanFile()
472 ReportFace(face, pFontDesc); in ScanFile()
473 m_FontFaces.Add(pFontDesc); in ScanFile()
524 void CFPF_SkiaFontMgr::ReportFace(FXFT_Face face, CFPF_SkiaFontDescriptor *pFontDesc) in ReportFace() argument
526 if (!face || !pFontDesc) { in ReportFace()
529 pFontDesc->SetFamily(FXFT_Get_Face_Family_Name(face)); in ReportFace()
531 pFontDesc->m_dwStyle |= FXFONT_BOLD; in ReportFace()
534 pFontDesc->m_dwStyle |= FXFONT_ITALIC; in ReportFace()
[all …]
Dfpf_skiafontmgr.h109 void ReportFace(FXFT_Face face, CFPF_SkiaFontDescriptor *pFontDesc);
/external/pdfium/core/src/fpdfapi/fpdf_edit/
Dfpdf_edit_doc.cpp409 CPDF_Dictionary* pFontDesc = FX_NEW CPDF_Dictionary; in AddWindowsFont() local
410 pFontDesc->SetAtName("Type", "FontDescriptor"); in AddWindowsFont()
411 pFontDesc->SetAtName("FontName", basefont); in AddWindowsFont()
412 pFontDesc->SetAtInteger("Flags", flags); in AddWindowsFont()
417 pFontDesc->SetAt("FontBBox", pBBox); in AddWindowsFont()
418 pFontDesc->SetAtInteger("ItalicAngle", italicangle); in AddWindowsFont()
419 pFontDesc->SetAtInteger("Ascent", ascend); in AddWindowsFont()
420 pFontDesc->SetAtInteger("Descent", descend); in AddWindowsFont()
421 pFontDesc->SetAtInteger("CapHeight", capheight); in AddWindowsFont()
422 pFontDesc->SetAtInteger("StemV", pLogFont->lfWeight / 5); in AddWindowsFont()
[all …]
/external/pdfium/core/src/fpdfapi/fpdf_font/
Dfpdf_font.cpp236 void CPDF_Font::LoadFontDescriptor(CPDF_Dictionary* pFontDesc) in LoadFontDescriptor() argument
238 m_Flags = pFontDesc->GetInteger(FX_BSTRC("Flags"), PDFFONT_NONSYMBOLIC); in LoadFontDescriptor()
241 if (pFontDesc->KeyExist(FX_BSTRC("ItalicAngle"))) { in LoadFontDescriptor()
242 ItalicAngle = pFontDesc->GetInteger(FX_BSTRC("ItalicAngle")); in LoadFontDescriptor()
250 if (pFontDesc->KeyExist(FX_BSTRC("StemV"))) { in LoadFontDescriptor()
251 m_StemV = pFontDesc->GetInteger(FX_BSTRC("StemV")); in LoadFontDescriptor()
255 if (pFontDesc->KeyExist(FX_BSTRC("Ascent"))) { in LoadFontDescriptor()
256 m_Ascent = pFontDesc->GetInteger(FX_BSTRC("Ascent")); in LoadFontDescriptor()
260 if (pFontDesc->KeyExist(FX_BSTRC("Descent"))) { in LoadFontDescriptor()
261 m_Descent = pFontDesc->GetInteger(FX_BSTRC("Descent")); in LoadFontDescriptor()
[all …]
Dfpdf_font_cid.cpp1017 CPDF_Dictionary* pFontDesc = pCIDFontDict->GetDict(FX_BSTRC("FontDescriptor")); in _Load() local
1018 if (pFontDesc) { in _Load()
1019 LoadFontDescriptor(pFontDesc); in _Load()
1516 CPDF_Dictionary* pFontDesc = m_pFontDict->GetDict(FX_BSTRC("FontDescriptor")); in LoadGB2312() local
1517 if (pFontDesc) { in LoadGB2312()
1518 LoadFontDescriptor(pFontDesc); in LoadGB2312()