Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(339)

Side by Side Diff: core/src/fpdfapi/fpdf_font/font_int.h

Issue 1722873002: Remove many _CAPS structure names. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Nits. Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « core/include/fxcodec/fx_codec.h ('k') | core/src/fpdfapi/fpdf_page/fpdf_page_colors.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #ifndef CORE_SRC_FPDFAPI_FPDF_FONT_FONT_INT_H_ 7 #ifndef CORE_SRC_FPDFAPI_FPDF_FONT_FONT_INT_H_
8 #define CORE_SRC_FPDFAPI_FPDF_FONT_FONT_INT_H_ 8 #define CORE_SRC_FPDFAPI_FPDF_FONT_FONT_INT_H_
9 9
10 #include <map> 10 #include <map>
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 CodingScheme m_CodingScheme; 155 CodingScheme m_CodingScheme;
156 int m_nCodeRanges; 156 int m_nCodeRanges;
157 uint8_t* m_pLeadingBytes; 157 uint8_t* m_pLeadingBytes;
158 FX_WORD* m_pMapping; 158 FX_WORD* m_pMapping;
159 uint8_t* m_pAddMapping; 159 uint8_t* m_pAddMapping;
160 FX_BOOL m_bLoaded; 160 FX_BOOL m_bLoaded;
161 const FXCMAP_CMap* m_pEmbedMap; 161 const FXCMAP_CMap* m_pEmbedMap;
162 CPDF_CMap* m_pUseMap; 162 CPDF_CMap* m_pUseMap;
163 }; 163 };
164 164
165 typedef struct _FileHeader {
166 uint8_t btTag[4];
167 uint8_t btVersion;
168 uint8_t btFormat;
169 uint8_t btReserved1[2];
170 FX_DWORD dwStartIndex;
171 FX_DWORD dwEndIndex;
172 FX_DWORD dwDataSize;
173 FX_DWORD dwDataOffset;
174 FX_DWORD dwRecordSize;
175 } FXMP_FILEHEADER;
176
177 class CPDF_CID2UnicodeMap { 165 class CPDF_CID2UnicodeMap {
178 public: 166 public:
179 CPDF_CID2UnicodeMap(); 167 CPDF_CID2UnicodeMap();
180 ~CPDF_CID2UnicodeMap(); 168 ~CPDF_CID2UnicodeMap();
181 FX_BOOL Initialize(); 169 FX_BOOL Initialize();
182 FX_BOOL IsLoaded(); 170 FX_BOOL IsLoaded();
183 void Load(CPDF_CMapManager* pMgr, CIDSet charset, FX_BOOL bPromptCJK); 171 void Load(CPDF_CMapManager* pMgr, CIDSet charset, FX_BOOL bPromptCJK);
184 FX_WCHAR UnicodeFromCID(FX_WORD CID); 172 FX_WCHAR UnicodeFromCID(FX_WORD CID);
185 173
186 protected: 174 protected:
(...skipping 19 matching lines...) Expand all
206 194
207 static FX_DWORD StringToCode(const CFX_ByteStringC& str); 195 static FX_DWORD StringToCode(const CFX_ByteStringC& str);
208 static CFX_WideString StringToWideString(const CFX_ByteStringC& str); 196 static CFX_WideString StringToWideString(const CFX_ByteStringC& str);
209 }; 197 };
210 198
211 void FPDFAPI_LoadCID2UnicodeMap(CIDSet charset, 199 void FPDFAPI_LoadCID2UnicodeMap(CIDSet charset,
212 const FX_WORD*& pMap, 200 const FX_WORD*& pMap,
213 FX_DWORD& count); 201 FX_DWORD& count);
214 202
215 #endif // CORE_SRC_FPDFAPI_FPDF_FONT_FONT_INT_H_ 203 #endif // CORE_SRC_FPDFAPI_FPDF_FONT_FONT_INT_H_
OLDNEW
« no previous file with comments | « core/include/fxcodec/fx_codec.h ('k') | core/src/fpdfapi/fpdf_page/fpdf_page_colors.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698