Home
last modified time | relevance | path

Searched refs:CPDF_Font (Results 1 – 25 of 59) sorted by relevance

123

/external/pdfium/core/fpdfapi/font/
Dcpdf_font.cpp53 CPDF_Font::CPDF_Font() in CPDF_Font() function in CPDF_Font
63 CPDF_Font::~CPDF_Font() { in ~CPDF_Font()
73 bool CPDF_Font::IsType1Font() const { in IsType1Font()
77 bool CPDF_Font::IsTrueTypeFont() const { in IsTrueTypeFont()
81 bool CPDF_Font::IsType3Font() const { in IsType3Font()
85 bool CPDF_Font::IsCIDFont() const { in IsCIDFont()
89 const CPDF_Type1Font* CPDF_Font::AsType1Font() const { in AsType1Font()
93 CPDF_Type1Font* CPDF_Font::AsType1Font() { in AsType1Font()
97 const CPDF_TrueTypeFont* CPDF_Font::AsTrueTypeFont() const { in AsTrueTypeFont()
101 CPDF_TrueTypeFont* CPDF_Font::AsTrueTypeFont() { in AsTrueTypeFont()
[all …]
Dcfx_stockfontarray.h20 CPDF_Font* SetFont(uint32_t index, std::unique_ptr<CPDF_Font> pFont);
21 CPDF_Font* GetFont(uint32_t index) const;
24 std::unique_ptr<CPDF_Font> m_StockFonts[14];
Dcfx_stockfontarray.cpp23 CPDF_Font* CFX_StockFontArray::GetFont(uint32_t index) const { in GetFont()
29 CPDF_Font* CFX_StockFontArray::SetFont(uint32_t index, in SetFont()
30 std::unique_ptr<CPDF_Font> pFont) { in SetFont()
31 CPDF_Font* result = pFont.get(); in SetFont()
Dcpdf_font.h31 class CPDF_Font {
33 static std::unique_ptr<CPDF_Font> Create(CPDF_Document* pDoc,
35 static CPDF_Font* GetStockFont(CPDF_Document* pDoc,
39 virtual ~CPDF_Font();
91 CPDF_Font();
Dcpdf_fontglobals.cpp22 CPDF_Font* CPDF_FontGlobals::Find(CPDF_Document* pDoc, uint32_t index) { in Find()
29 CPDF_Font* CPDF_FontGlobals::Set(CPDF_Document* pDoc, in Set()
31 std::unique_ptr<CPDF_Font> pFont) { in Set()
Dcpdf_fontglobals.h24 CPDF_Font* Find(CPDF_Document* pDoc, uint32_t index);
27 CPDF_Font* Set(CPDF_Document* key,
29 std::unique_ptr<CPDF_Font> pFont);
/external/pdfium/fpdfsdk/formfiller/
Dcba_fontmap.h22 void SetDefaultFont(CPDF_Font* pFont, const ByteString& sFontName);
29 CPDF_Font* FindFontSameCharset(ByteString* sFontAlias,
31 void AddedFont(CPDF_Font* pFont, const ByteString& sFontAlias) override;
33 CPDF_Font* FindResFontSameCharset(CPDF_Dictionary* pResDict,
36 CPDF_Font* GetAnnotDefaultFont(ByteString* csNameTag);
37 void AddFontToAnnotDict(CPDF_Font* pFont, const ByteString& sAlias);
41 UnownedPtr<CPDF_Font> m_pDefaultFont;
Dcba_fontmap.cpp70 void CBA_FontMap::SetDefaultFont(CPDF_Font* pFont, in SetDefaultFont()
86 CPDF_Font* CBA_FontMap::FindFontSameCharset(ByteString* sFontAlias, in FindFontSameCharset()
111 CPDF_Font* CBA_FontMap::FindResFontSameCharset(CPDF_Dictionary* pResDict, in FindResFontSameCharset()
122 CPDF_Font* pFind = nullptr; in FindResFontSameCharset()
134 CPDF_Font* pFont = pDocument->LoadFont(pElement); in FindResFontSameCharset()
148 void CBA_FontMap::AddedFont(CPDF_Font* pFont, const ByteString& sFontAlias) { in AddedFont()
152 void CBA_FontMap::AddFontToAnnotDict(CPDF_Font* pFont, in AddFontToAnnotDict()
196 CPDF_Font* CBA_FontMap::GetAnnotDefaultFont(ByteString* sAlias) { in GetAnnotDefaultFont()
/external/pdfium/fpdfsdk/pwl/
Dcpwl_font_map.h21 CPDF_Font* pFont;
37 CPDF_Font* GetPDFFont(int32_t nFontIndex) override;
55 virtual CPDF_Font* FindFontSameCharset(ByteString* sFontAlias,
57 virtual void AddedFont(CPDF_Font* pFont, const ByteString& sFontAlias);
65 int32_t AddFontData(CPDF_Font* pFont,
80 CPDF_Font* AddFontToDocument(CPDF_Document* pDoc,
84 CPDF_Font* AddStandardFont(CPDF_Document* pDoc, ByteString& sFontName);
85 CPDF_Font* AddSystemFont(CPDF_Document* pDoc,
Dcpwl_font_map.cpp62 CPDF_Font* CPWL_FontMap::GetPDFFont(int32_t nFontIndex) { in GetPDFFont()
181 CPDF_Font* pFont = bFind ? FindFontSameCharset(&sAlias, nCharset) : nullptr; in GetFontIndex()
191 CPDF_Font* CPWL_FontMap::FindFontSameCharset(ByteString* sFontAlias, in FindFontSameCharset()
196 int32_t CPWL_FontMap::AddFontData(CPDF_Font* pFont, in AddFontData()
207 void CPWL_FontMap::AddedFont(CPDF_Font* pFont, const ByteString& sFontAlias) {} in AddedFont()
220 CPDF_Font* CPWL_FontMap::AddFontToDocument(CPDF_Document* pDoc, in AddFontToDocument()
229 CPDF_Font* CPWL_FontMap::AddStandardFont(CPDF_Document* pDoc, in AddStandardFont()
234 CPDF_Font* pFont = nullptr; in AddStandardFont()
246 CPDF_Font* CPWL_FontMap::AddSystemFont(CPDF_Document* pDoc, in AddSystemFont()
/external/pdfium/core/fpdfdoc/
Dcpvt_fontmap.h18 class CPDF_Font; variable
24 CPDF_Font* pDefFont,
29 CPDF_Font* GetPDFFont(int32_t nFontIndex) override;
37 static CPDF_Font* GetAnnotSysPDFFont(CPDF_Document* pDoc,
44 UnownedPtr<CPDF_Font> const m_pDefFont;
45 UnownedPtr<CPDF_Font> m_pSysFont;
Dcpdf_interform.h24 class CPDF_Font; variable
31 CPDF_Font* AddNativeInterFormFont(CPDF_Dictionary*& pFormDict,
46 static CPDF_Font* AddStandardFont(CPDF_Document* pDocument,
50 static CPDF_Font* AddNativeFont(uint8_t iCharSet, CPDF_Document* pDocument);
51 static CPDF_Font* AddNativeFont(CPDF_Document* pDocument);
67 CPDF_Font* GetFormFont(ByteString csNameTag) const;
Dcpvt_fontmap.cpp19 CPDF_Font* pDefFont, in CPVT_FontMap()
28 CPDF_Font* CPVT_FontMap::GetAnnotSysPDFFont(CPDF_Document* pDoc, in GetAnnotSysPDFFont()
35 CPDF_Font* pPDFFont = AddNativeInterFormFont(pFormDict, pDoc, sSysFontAlias); in GetAnnotSysPDFFont()
47 CPDF_Font* CPVT_FontMap::GetPDFFont(int32_t nFontIndex) { in GetPDFFont()
Dcpdf_interform.cpp59 const CPDF_Font* pFont,
76 CPDF_Font* pFont = CPDF_InterForm::AddStandardFont(pDocument, "Helvetica"); in InitDict()
101 CPDF_Font* GetFont(CPDF_Dictionary* pFormDict, in GetFont()
125 CPDF_Font* GetNativeFont(CPDF_Dictionary* pFormDict, in GetNativeFont()
150 CPDF_Font* pFind = pDocument->LoadFont(pElement); in GetNativeFont()
167 const CPDF_Font* pFont, in FindFont()
200 CPDF_Font*& pFont, in FindFont()
243 const CPDF_Font* pFont, in AddFont()
276 CPDF_Font* AddNativeFont(CPDF_Dictionary*& pFormDict, in AddNativeFont()
284 CPDF_Font* pFont = GetNativeFont(pFormDict, pDocument, charSet, &csTemp); in AddNativeFont()
[all …]
/external/pdfium/core/fpdfapi/page/
Dcpdf_textobject.cpp37 if (pInfo->m_CharCode == CPDF_Font::kInvalidCharCode) in GetItemInfo()
40 CPDF_Font* pFont = m_TextState.GetFont(); in GetItemInfo()
61 if (charcode != CPDF_Font::kInvalidCharCode) in CountChars()
72 if (m_CharCodes[i] == CPDF_Font::kInvalidCharCode) in GetCharInfo()
78 m_CharCodes[i + 1] != CPDF_Font::kInvalidCharCode) { in GetCharInfo()
92 if (charcode == CPDF_Font::kInvalidCharCode) in GetCharInfo()
151 CPDF_Font* pFont = m_TextState.GetFont(); in SetSegments()
167 m_CharCodes[index++] = CPDF_Font::kInvalidCharCode; in SetSegments()
180 CPDF_Font* pFont = m_TextState.GetFont(); in GetCharWidth()
192 CPDF_Font* CPDF_TextObject::GetFont() const { in GetFont()
[all …]
Dcpdf_textstate.h14 class CPDF_Font; variable
35 CPDF_Font* GetFont() const;
36 void SetFont(CPDF_Font* pFont);
68 void SetFont(CPDF_Font* pFont);
74 CPDF_Font* m_pFont;
Dcpdf_docpagedata.h20 class CPDF_Font; variable
37 CPDF_Font* GetFont(CPDF_Dictionary* pFontDict);
38 CPDF_Font* GetStandardFont(const ByteString& fontName,
69 using CPDF_CountedFont = CPDF_CountedObject<CPDF_Font>;
Dcpdf_docpagedata.cpp121 CPDF_Font* CPDF_DocPageData::GetFont(CPDF_Dictionary* pFontDict) { in GetFont()
133 std::unique_ptr<CPDF_Font> pFont = in GetFont()
134 CPDF_Font::Create(m_pPDFDoc.Get(), pFontDict); in GetFont()
147 CPDF_Font* CPDF_DocPageData::GetStandardFont(const ByteString& fontName, in GetStandardFont()
154 CPDF_Font* pFont = fontData->get(); in GetStandardFont()
182 std::unique_ptr<CPDF_Font> pFont = CPDF_Font::Create(m_pPDFDoc.Get(), pDict); in GetStandardFont()
/external/pdfium/xfa/fgas/font/
Dcfgas_pdffontmgr.h21 class CPDF_Font; variable
28 void SetFont(const RetainPtr<CFGAS_GEFont>& pFont, CPDF_Font* pPDFFont);
31 CPDF_Font** pPDFFont,
41 CPDF_Font** pPDFFont,
54 std::map<RetainPtr<CFGAS_GEFont>, CPDF_Font*> m_FDE2PDFFont;
Dcfgas_pdffontmgr.cpp38 CPDF_Font** pDstPDFFont, in FindFont()
62 CPDF_Font* pPDFFont = m_pDoc->LoadFont(pFontDict); in FindFont()
78 CPDF_Font** pPDFFont, in GetFont()
196 CPDF_Font* pPDFFont = it->second; in GetCharWidth()
202 CPDF_Font* pPDFFont) { in SetFont()
/external/pdfium/core/fpdfapi/render/
Dcpdf_textrenderer.h21 class CPDF_Font; variable
28 CPDF_Font* pFont,
39 CPDF_Font* pFont,
52 CPDF_Font* pFont,
Dcpdf_textrenderer.cpp20 CFX_Font* GetFont(CPDF_Font* pFont, int32_t position) { in GetFont()
30 CPDF_Font* pFont, in DrawTextPath()
76 CPDF_Font* pFont, in DrawTextString()
117 CPDF_Font* pFont, in DrawNormalText()
Dcpdf_charposlist.h15 class CPDF_Font; variable
23 CPDF_Font* pFont,
/external/pdfium/core/fpdfapi/parser/
Dcpdf_document.h26 class CPDF_Font; variable
73 CPDF_Font* LoadFont(CPDF_Dictionary* pFontDict);
93 CPDF_Font* AddStandardFont(const char* font, CPDF_FontEncoding* pEncoding);
94 CPDF_Font* AddFont(CFX_Font* pFont, int charset, bool bVert);
96 CPDF_Font* AddWindowsFont(LOGFONTA* pLogFont,
99 CPDF_Font* AddWindowsFont(LOGFONTW* pLogFont,
/external/pdfium/fpdfsdk/
Dfpdfedit_embeddertest.cpp90 CPDF_Font* typed_font) { in CheckCompositeFontWidths()
721 const CPDF_Font* stock_font = in TEST_F()
722 CPDF_Font::GetStockFont(cpdf_doc(), "Times-Bold"); in TEST_F()
728 CPDF_Font* typed_font = static_cast<CPDF_Font*>(font.get()); in TEST_F()
751 const CPDF_Font* stock_font = CPDF_Font::GetStockFont(cpdf_doc(), "Courier"); in TEST_F()
757 CPDF_Font* typed_font = static_cast<CPDF_Font*>(font.get()); in TEST_F()
780 const CPDF_Font* stock_font = in TEST_F()
781 CPDF_Font::GetStockFont(cpdf_doc(), "Times-Roman"); in TEST_F()
787 CPDF_Font* typed_font = static_cast<CPDF_Font*>(font.get()); in TEST_F()
821 const CPDF_Font* stock_font = in TEST_F()
[all …]

123