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

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

Issue 1715583002: Remove useless CPDF_FontCharMap. (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: more 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/fpdfapi/fpdf_resource.h ('k') | core/src/fpdfapi/fpdf_font/fpdf_font.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 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 CPDF_CID2UnicodeMap* m_pBaseMap; 200 CPDF_CID2UnicodeMap* m_pBaseMap;
201 CFX_WideTextBuf m_MultiCharBuf; 201 CFX_WideTextBuf m_MultiCharBuf;
202 202
203 private: 203 private:
204 friend class fpdf_font_StringToCode_Test; 204 friend class fpdf_font_StringToCode_Test;
205 friend class fpdf_font_StringToWideString_Test; 205 friend class fpdf_font_StringToWideString_Test;
206 206
207 static FX_DWORD StringToCode(const CFX_ByteStringC& str); 207 static FX_DWORD StringToCode(const CFX_ByteStringC& str);
208 static CFX_WideString StringToWideString(const CFX_ByteStringC& str); 208 static CFX_WideString StringToWideString(const CFX_ByteStringC& str);
209 }; 209 };
210 class CPDF_FontCharMap : public CFX_CharMap {
211 public:
212 CPDF_FontCharMap(CPDF_Font* pFont);
213 CPDF_Font* m_pFont;
214 };
215 210
216 void FPDFAPI_LoadCID2UnicodeMap(CIDSet charset, 211 void FPDFAPI_LoadCID2UnicodeMap(CIDSet charset,
217 const FX_WORD*& pMap, 212 const FX_WORD*& pMap,
218 FX_DWORD& count); 213 FX_DWORD& count);
219 214
220 #endif // CORE_SRC_FPDFAPI_FPDF_FONT_FONT_INT_H_ 215 #endif // CORE_SRC_FPDFAPI_FPDF_FONT_FONT_INT_H_
OLDNEW
« no previous file with comments | « core/include/fpdfapi/fpdf_resource.h ('k') | core/src/fpdfapi/fpdf_font/fpdf_font.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698