OLD | NEW |
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 TTGSUBTable_H | 7 #ifndef CORE_SRC_FPDFAPI_FPDF_FONT_TTGSUBTABLE_H_ |
8 #define TTGSUBTable_H | 8 #define CORE_SRC_FPDFAPI_FPDF_FONT_TTGSUBTABLE_H_ |
| 9 |
9 #include "../../../include/fxge/fx_freetype.h" | 10 #include "../../../include/fxge/fx_freetype.h" |
10 #include "../../../include/fxcrt/fx_basic.h" | 11 #include "../../../include/fxcrt/fx_basic.h" |
11 #include "common.h" | 12 #include "common.h" |
| 13 |
12 class CFX_GlyphMap | 14 class CFX_GlyphMap |
13 { | 15 { |
14 public: | 16 public: |
15 CFX_GlyphMap(); | 17 CFX_GlyphMap(); |
16 ~CFX_GlyphMap(); | 18 ~CFX_GlyphMap(); |
17 void SetAt(int key, int value); | 19 void SetAt(int key, int value); |
18 FX_BOOL Lookup(int key, int &value); | 20 FX_BOOL Lookup(int key, int &value); |
19 protected: | 21 protected: |
20 CFX_BinaryBuf m_Buffer; | 22 CFX_BinaryBuf m_Buffer; |
21 }; | 23 }; |
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
413 { | 415 { |
414 delete this; | 416 delete this; |
415 } | 417 } |
416 virtual FX_BOOL GetVerticalGlyph(FX_DWORD glyphnum, FX_DWORD* vglyphnum) FX_
OVERRIDE; | 418 virtual FX_BOOL GetVerticalGlyph(FX_DWORD glyphnum, FX_DWORD* vglyphnum) FX_
OVERRIDE; |
417 | 419 |
418 CFX_CTTGSUBTable m_GsubImp; | 420 CFX_CTTGSUBTable m_GsubImp; |
419 | 421 |
420 private: | 422 private: |
421 ~CFX_GSUBTable() { } | 423 ~CFX_GSUBTable() { } |
422 }; | 424 }; |
423 #endif | |
424 | 425 |
| 426 #endif // CORE_SRC_FPDFAPI_FPDF_FONT_TTGSUBTABLE_H_ |
OLD | NEW |