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

Side by Side Diff: core/fpdfapi/fpdf_font/ttgsubtable.h

Issue 2084603003: Change func(void) to func() (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: style fix Created 4 years, 6 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 | « no previous file | core/fpdfapi/fpdf_font/ttgsubtable.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_FPDFAPI_FPDF_FONT_TTGSUBTABLE_H_ 7 #ifndef CORE_FPDFAPI_FPDF_FONT_TTGSUBTABLE_H_
8 #define CORE_FPDFAPI_FPDF_FONT_TTGSUBTABLE_H_ 8 #define CORE_FPDFAPI_FPDF_FONT_TTGSUBTABLE_H_
9 9
10 #include <stdint.h> 10 #include <stdint.h>
(...skipping 15 matching lines...) Expand all
26 protected: 26 protected:
27 CFX_BinaryBuf m_Buffer; 27 CFX_BinaryBuf m_Buffer;
28 }; 28 };
29 29
30 class CFX_CTTGSUBTable { 30 class CFX_CTTGSUBTable {
31 public: 31 public:
32 CFX_CTTGSUBTable(); 32 CFX_CTTGSUBTable();
33 explicit CFX_CTTGSUBTable(FT_Bytes gsub); 33 explicit CFX_CTTGSUBTable(FT_Bytes gsub);
34 virtual ~CFX_CTTGSUBTable(); 34 virtual ~CFX_CTTGSUBTable();
35 35
36 bool IsOk(void) const; 36 bool IsOk() const;
37 bool LoadGSUBTable(FT_Bytes gsub); 37 bool LoadGSUBTable(FT_Bytes gsub);
38 bool GetVerticalGlyph(uint32_t glyphnum, uint32_t* vglyphnum); 38 bool GetVerticalGlyph(uint32_t glyphnum, uint32_t* vglyphnum);
39 39
40 private: 40 private:
41 struct tt_gsub_header { 41 struct tt_gsub_header {
42 uint32_t Version; 42 uint32_t Version;
43 uint16_t ScriptList; 43 uint16_t ScriptList;
44 uint16_t FeatureList; 44 uint16_t FeatureList;
45 uint16_t LookupList; 45 uint16_t LookupList;
46 }; 46 };
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 std::map<uint32_t, uint32_t> m_featureMap; 338 std::map<uint32_t, uint32_t> m_featureMap;
339 FX_BOOL m_bFeautureMapLoad; 339 FX_BOOL m_bFeautureMapLoad;
340 bool loaded; 340 bool loaded;
341 struct tt_gsub_header header; 341 struct tt_gsub_header header;
342 struct TScriptList ScriptList; 342 struct TScriptList ScriptList;
343 struct TFeatureList FeatureList; 343 struct TFeatureList FeatureList;
344 struct TLookupList LookupList; 344 struct TLookupList LookupList;
345 }; 345 };
346 346
347 #endif // CORE_FPDFAPI_FPDF_FONT_TTGSUBTABLE_H_ 347 #endif // CORE_FPDFAPI_FPDF_FONT_TTGSUBTABLE_H_
OLDNEW
« no previous file with comments | « no previous file | core/fpdfapi/fpdf_font/ttgsubtable.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698