Home
last modified time | relevance | path

Searched refs:nFontIndex (Results 1 – 25 of 88) sorted by relevance

1234

/dports/lang/spidermonkey60/firefox-60.9.0/modules/pdfium/pdfium/fpdfsdk/pdfwindow/
H A DPWL_FontMap.cpp63 if (nFontIndex >= 0 && nFontIndex < pdfium::CollectionSize<int32_t>(m_Data)) { in GetPDFFont()
64 if (m_Data[nFontIndex]) in GetPDFFont()
71 if (nFontIndex >= 0 && nFontIndex < pdfium::CollectionSize<int32_t>(m_Data)) { in GetPDFFontAlias()
72 if (m_Data[nFontIndex]) in GetPDFFontAlias()
79 if (nFontIndex >= 0 && nFontIndex < pdfium::CollectionSize<int32_t>(m_Data)) { in KnowWord()
80 if (m_Data[nFontIndex]) in KnowWord()
89 if (nFontIndex > 0) { in GetWordFontIndex()
91 return nFontIndex; in GetWordFontIndex()
119 if (nFontIndex < 0 || nFontIndex >= pdfium::CollectionSize<int32_t>(m_Data)) in CharCodeFromUnicode()
185 if (nFontIndex >= 0) in GetFontIndex()
[all …]
/dports/editors/texmaker/texmaker-5.0.3/pdfium/fpdfsdk/pdfwindow/
H A DPWL_FontMap.cpp65 if (nFontIndex >= 0 && nFontIndex < m_aData.GetSize()) { in GetPDFFont()
75 if (nFontIndex >= 0 && nFontIndex < m_aData.GetSize()) { in GetPDFFontAlias()
85 if (nFontIndex >= 0 && nFontIndex < m_aData.GetSize()) { in KnowWord()
86 if (m_aData.GetAt(nFontIndex)) { in KnowWord()
97 if (nFontIndex > 0) { in GetWordFontIndex()
98 if (KnowWord(nFontIndex, word)) in GetWordFontIndex()
99 return nFontIndex; in GetWordFontIndex()
125 CPWL_FontMap_Data* pData = m_aData.GetAt(nFontIndex); in CharCodeFromUnicode()
206 if (nFontIndex >= 0) in GetFontIndex()
207 return nFontIndex; in GetFontIndex()
[all …]
H A DPWL_FontMap.h58 CPDF_Font* GetPDFFont(int32_t nFontIndex) override;
59 CFX_ByteString GetPDFFontAlias(int32_t nFontIndex) override;
62 int32_t nFontIndex) override;
63 int32_t CharCodeFromUnicode(int32_t nFontIndex, uint16_t word) override;
90 FX_BOOL KnowWord(int32_t nFontIndex, uint16_t word);
106 CFX_ByteString GetFontName(int32_t nFontIndex);
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/pdfium/core/fpdfdoc/
H A Dcba_fontmap.cpp81 if (pdfium::IndexInBounds(m_Data, nFontIndex)) in GetPDFFont()
82 return m_Data[nFontIndex]->pFont; in GetPDFFont()
87 if (pdfium::IndexInBounds(m_Data, nFontIndex)) in GetPDFFontAlias()
88 return m_Data[nFontIndex]->sFontName; in GetPDFFontAlias()
95 if (nFontIndex > 0) { in GetWordFontIndex()
96 if (KnowWord(nFontIndex, word)) in GetWordFontIndex()
97 return nFontIndex; in GetWordFontIndex()
125 if (!pdfium::IndexInBounds(m_Data, nFontIndex)) in CharCodeFromUnicode()
128 Data* pData = m_Data[nFontIndex].get(); in CharCodeFromUnicode()
364 if (nFontIndex >= 0) in GetFontIndex()
[all …]
H A Dcpvt_wordinfo.cpp17 nFontIndex(-1) {} in CPVT_WordInfo()
25 nFontIndex(fontIndex) {} in CPVT_WordInfo()
33 nFontIndex(-1) { in CPVT_WordInfo()
45 nFontIndex = word.nFontIndex; in operator =()
H A Dcpvt_fontmap.cpp54 RetainPtr<CPDF_Font> CPVT_FontMap::GetPDFFont(int32_t nFontIndex) { in GetPDFFont() argument
55 switch (nFontIndex) { in GetPDFFont()
69 ByteString CPVT_FontMap::GetPDFFontAlias(int32_t nFontIndex) { in GetPDFFontAlias() argument
70 switch (nFontIndex) { in GetPDFFontAlias()
86 int32_t nFontIndex) { in GetWordFontIndex() argument
91 int32_t CPVT_FontMap::CharCodeFromUnicode(int32_t nFontIndex, uint16_t word) { in CharCodeFromUnicode() argument
H A Dcpdf_variabletext.h56 virtual int GetCharWidth(int32_t nFontIndex, uint16_t word);
57 virtual int32_t GetTypeAscent(int32_t nFontIndex);
58 virtual int32_t GetTypeDescent(int32_t nFontIndex);
61 int32_t nFontIndex);
145 float GetFontAscent(int32_t nFontIndex, float fFontSize);
146 float GetFontDescent(int32_t nFontIndex, float fFontSize);
151 float GetWordWidth(int32_t nFontIndex,
166 int GetCharWidth(int32_t nFontIndex, uint16_t Word, uint16_t SubWord);
167 int32_t GetTypeAscent(int32_t nFontIndex);
168 int32_t GetTypeDescent(int32_t nFontIndex);
[all …]
H A Dipvt_fontmap.h21 virtual RetainPtr<CPDF_Font> GetPDFFont(int32_t nFontIndex) = 0;
22 virtual ByteString GetPDFFontAlias(int32_t nFontIndex) = 0;
25 int32_t nFontIndex) = 0;
26 virtual int32_t CharCodeFromUnicode(int32_t nFontIndex, uint16_t word) = 0;
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/pdfium/core/fpdfdoc/
H A Dcba_fontmap.cpp85 if (pdfium::IndexInBounds(m_Data, nFontIndex)) in GetPDFFont()
86 return m_Data[nFontIndex]->pFont; in GetPDFFont()
91 if (pdfium::IndexInBounds(m_Data, nFontIndex)) in GetPDFFontAlias()
92 return m_Data[nFontIndex]->sFontName; in GetPDFFontAlias()
99 if (nFontIndex > 0) { in GetWordFontIndex()
100 if (KnowWord(nFontIndex, word)) in GetWordFontIndex()
101 return nFontIndex; in GetWordFontIndex()
129 if (!pdfium::IndexInBounds(m_Data, nFontIndex)) in CharCodeFromUnicode()
132 Data* pData = m_Data[nFontIndex].get(); in CharCodeFromUnicode()
368 if (nFontIndex >= 0) in GetFontIndex()
[all …]
H A Dcpvt_wordinfo.cpp17 nFontIndex(-1) {} in CPVT_WordInfo()
25 nFontIndex(fontIndex) {} in CPVT_WordInfo()
33 nFontIndex(-1) { in CPVT_WordInfo()
45 nFontIndex = word.nFontIndex; in operator =()
H A Dcpvt_fontmap.cpp52 RetainPtr<CPDF_Font> CPVT_FontMap::GetPDFFont(int32_t nFontIndex) { in GetPDFFont() argument
53 switch (nFontIndex) { in GetPDFFont()
67 ByteString CPVT_FontMap::GetPDFFontAlias(int32_t nFontIndex) { in GetPDFFontAlias() argument
68 switch (nFontIndex) { in GetPDFFontAlias()
84 int32_t nFontIndex) { in GetWordFontIndex() argument
89 int32_t CPVT_FontMap::CharCodeFromUnicode(int32_t nFontIndex, uint16_t word) { in CharCodeFromUnicode() argument
H A Dcpdf_variabletext.h56 virtual uint32_t GetCharWidth(int32_t nFontIndex, uint16_t word);
57 virtual int32_t GetTypeAscent(int32_t nFontIndex);
58 virtual int32_t GetTypeDescent(int32_t nFontIndex);
61 int32_t nFontIndex);
145 float GetFontAscent(int32_t nFontIndex, float fFontSize);
146 float GetFontDescent(int32_t nFontIndex, float fFontSize);
151 float GetWordWidth(int32_t nFontIndex,
166 uint32_t GetCharWidth(int32_t nFontIndex, uint16_t Word, uint16_t SubWord);
167 int32_t GetTypeAscent(int32_t nFontIndex);
168 int32_t GetTypeDescent(int32_t nFontIndex);
[all …]
H A Dipvt_fontmap.h21 virtual RetainPtr<CPDF_Font> GetPDFFont(int32_t nFontIndex) = 0;
22 virtual ByteString GetPDFFontAlias(int32_t nFontIndex) = 0;
25 int32_t nFontIndex) = 0;
26 virtual int32_t CharCodeFromUnicode(int32_t nFontIndex, uint16_t word) = 0;
/dports/lang/spidermonkey60/firefox-60.9.0/modules/pdfium/pdfium/core/fpdfdoc/
H A Dcpvt_fontmap.cpp49 CPDF_Font* CPVT_FontMap::GetPDFFont(int32_t nFontIndex) { in GetPDFFont() argument
50 switch (nFontIndex) { in GetPDFFont()
64 CFX_ByteString CPVT_FontMap::GetPDFFontAlias(int32_t nFontIndex) { in GetPDFFontAlias() argument
65 switch (nFontIndex) { in GetPDFFontAlias()
81 int32_t nFontIndex) { in GetWordFontIndex() argument
86 int32_t CPVT_FontMap::CharCodeFromUnicode(int32_t nFontIndex, uint16_t word) { in CharCodeFromUnicode() argument
H A Dcpvt_wordinfo.cpp16 nFontIndex(-1) {} in CPVT_WordInfo()
27 nFontIndex(fontIndex) {} in CPVT_WordInfo()
35 nFontIndex(-1) { in CPVT_WordInfo()
47 nFontIndex = word.nFontIndex; in operator =()
H A Dcpvt_wordprops.h16 : nFontIndex(-1), in CPVT_WordProps()
32 : nFontIndex(fontIndex), in nFontIndex() function
41 : nFontIndex(other.nFontIndex), in CPVT_WordProps()
49 int32_t nFontIndex; member
H A Dcpdf_variabletext.h69 virtual int32_t GetCharWidth(int32_t nFontIndex, uint16_t word);
70 virtual int32_t GetTypeAscent(int32_t nFontIndex);
71 virtual int32_t GetTypeDescent(int32_t nFontIndex);
74 int32_t nFontIndex);
167 int32_t GetCharWidth(int32_t nFontIndex, uint16_t Word, uint16_t SubWord);
168 int32_t GetTypeAscent(int32_t nFontIndex);
169 int32_t GetTypeDescent(int32_t nFontIndex);
170 int32_t GetWordFontIndex(uint16_t word, int32_t charset, int32_t nFontIndex);
185 FX_FLOAT GetWordWidth(int32_t nFontIndex,
199 FX_FLOAT GetFontAscent(int32_t nFontIndex, FX_FLOAT fFontSize);
[all …]
H A Dipvt_fontmap.h20 virtual CPDF_Font* GetPDFFont(int32_t nFontIndex) = 0;
21 virtual CFX_ByteString GetPDFFontAlias(int32_t nFontIndex) = 0;
24 int32_t nFontIndex) = 0;
25 virtual int32_t CharCodeFromUnicode(int32_t nFontIndex, uint16_t word) = 0;
H A Dcpvt_fontmap.h28 CPDF_Font* GetPDFFont(int32_t nFontIndex) override;
29 CFX_ByteString GetPDFFontAlias(int32_t nFontIndex) override;
32 int32_t nFontIndex) override;
33 int32_t CharCodeFromUnicode(int32_t nFontIndex, uint16_t word) override;
/dports/editors/texmaker/texmaker-5.0.3/pdfium/core/fpdfdoc/
H A Dcpvt_fontmap.cpp47 CPDF_Font* CPVT_FontMap::GetPDFFont(int32_t nFontIndex) { in GetPDFFont() argument
48 switch (nFontIndex) { in GetPDFFont()
62 CFX_ByteString CPVT_FontMap::GetPDFFontAlias(int32_t nFontIndex) { in GetPDFFontAlias() argument
63 switch (nFontIndex) { in GetPDFFontAlias()
79 int32_t nFontIndex) { in GetWordFontIndex() argument
84 int32_t CPVT_FontMap::CharCodeFromUnicode(int32_t nFontIndex, uint16_t word) { in CharCodeFromUnicode() argument
H A Dcpvt_wordinfo.cpp15 nFontIndex(-1) {} in CPVT_WordInfo()
26 nFontIndex(fontIndex) {} in CPVT_WordInfo()
34 nFontIndex(-1) { in CPVT_WordInfo()
46 nFontIndex = word.nFontIndex; in operator =()
H A Dcpvt_fontmap.h28 CPDF_Font* GetPDFFont(int32_t nFontIndex) override;
29 CFX_ByteString GetPDFFontAlias(int32_t nFontIndex) override;
32 int32_t nFontIndex) override;
33 int32_t CharCodeFromUnicode(int32_t nFontIndex, uint16_t word) override;
/dports/editors/texmaker/texmaker-5.0.3/pdfium/core/fpdfdoc/include/
H A Dcpvt_wordprops.h16 : nFontIndex(-1), in CPVT_WordProps()
32 : nFontIndex(fontIndex), in nFontIndex() function
41 : nFontIndex(other.nFontIndex), in CPVT_WordProps()
49 int32_t nFontIndex; member
H A Dipvt_fontmap.h20 virtual CPDF_Font* GetPDFFont(int32_t nFontIndex) = 0;
21 virtual CFX_ByteString GetPDFFontAlias(int32_t nFontIndex) = 0;
24 int32_t nFontIndex) = 0;
25 virtual int32_t CharCodeFromUnicode(int32_t nFontIndex, uint16_t word) = 0;
H A Dcpdf_variabletext.h69 virtual int32_t GetCharWidth(int32_t nFontIndex,
72 virtual int32_t GetTypeAscent(int32_t nFontIndex);
73 virtual int32_t GetTypeDescent(int32_t nFontIndex);
76 int32_t nFontIndex);
167 int32_t GetCharWidth(int32_t nFontIndex,
171 int32_t GetTypeAscent(int32_t nFontIndex);
172 int32_t GetTypeDescent(int32_t nFontIndex);
173 int32_t GetWordFontIndex(uint16_t word, int32_t charset, int32_t nFontIndex);
191 FX_FLOAT GetWordWidth(int32_t nFontIndex,
208 FX_FLOAT GetFontAscent(int32_t nFontIndex, FX_FLOAT fFontSize);
[all …]

1234