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

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

Issue 1747123002: Fix and enable lint checks. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 9 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/src/fpdfapi/fpdf_edit/fpdf_edit_doc.cpp ('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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 struct CMap_CodeRange { 82 struct CMap_CodeRange {
83 int m_CharSize; 83 int m_CharSize;
84 uint8_t m_Lower[4]; 84 uint8_t m_Lower[4];
85 uint8_t m_Upper[4]; 85 uint8_t m_Upper[4];
86 }; 86 };
87 87
88 class CPDF_CMapParser { 88 class CPDF_CMapParser {
89 public: 89 public:
90 CPDF_CMapParser(); 90 CPDF_CMapParser();
91 ~CPDF_CMapParser() {} 91 ~CPDF_CMapParser() {}
92 FX_BOOL Initialize(CPDF_CMap*); 92 FX_BOOL Initialize(CPDF_CMap* pMap);
93 void ParseWord(const CFX_ByteStringC& str); 93 void ParseWord(const CFX_ByteStringC& str);
94 CFX_BinaryBuf m_AddMaps; 94 CFX_BinaryBuf m_AddMaps;
95 95
96 private: 96 private:
97 friend class fpdf_font_cid_CMap_GetCode_Test; 97 friend class fpdf_font_cid_CMap_GetCode_Test;
98 friend class fpdf_font_cid_CMap_GetCodeRange_Test; 98 friend class fpdf_font_cid_CMap_GetCodeRange_Test;
99 99
100 static FX_DWORD CMap_GetCode(const CFX_ByteStringC& word); 100 static FX_DWORD CMap_GetCode(const CFX_ByteStringC& word);
101 static bool CMap_GetCodeRange(CMap_CodeRange& range, 101 static bool CMap_GetCodeRange(CMap_CodeRange& range,
102 const CFX_ByteStringC& first, 102 const CFX_ByteStringC& first,
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 194
195 static FX_DWORD StringToCode(const CFX_ByteStringC& str); 195 static FX_DWORD StringToCode(const CFX_ByteStringC& str);
196 static CFX_WideString StringToWideString(const CFX_ByteStringC& str); 196 static CFX_WideString StringToWideString(const CFX_ByteStringC& str);
197 }; 197 };
198 198
199 void FPDFAPI_LoadCID2UnicodeMap(CIDSet charset, 199 void FPDFAPI_LoadCID2UnicodeMap(CIDSet charset,
200 const FX_WORD*& pMap, 200 const FX_WORD*& pMap,
201 FX_DWORD& count); 201 FX_DWORD& count);
202 202
203 #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/src/fpdfapi/fpdf_edit/fpdf_edit_doc.cpp ('k') | core/src/fpdfapi/fpdf_font/fpdf_font.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698