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 CORE_SRC_FPDFAPI_FPDF_FONT_TTGSUBTABLE_H_ | 7 #ifndef CORE_SRC_FPDFAPI_FPDF_FONT_TTGSUBTABLE_H_ |
8 #define CORE_SRC_FPDFAPI_FPDF_FONT_TTGSUBTABLE_H_ | 8 #define CORE_SRC_FPDFAPI_FPDF_FONT_TTGSUBTABLE_H_ |
9 | 9 |
10 #include "../../../include/fxge/fx_freetype.h" | 10 #include <map> |
11 #include "../../../include/fxcrt/fx_basic.h" | 11 |
12 #include "common.h" | 12 #include "common.h" |
| 13 #include "core/include/fxcrt/fx_basic.h" |
| 14 #include "core/include/fxge/fx_font.h" |
| 15 #include "core/include/fxge/fx_freetype.h" |
13 | 16 |
14 class CFX_GlyphMap { | 17 class CFX_GlyphMap { |
15 public: | 18 public: |
16 CFX_GlyphMap(); | 19 CFX_GlyphMap(); |
17 ~CFX_GlyphMap(); | 20 ~CFX_GlyphMap(); |
18 void SetAt(int key, int value); | 21 void SetAt(int key, int value); |
19 FX_BOOL Lookup(int key, int& value); | 22 FX_BOOL Lookup(int key, int& value); |
20 | 23 |
21 protected: | 24 protected: |
22 CFX_BinaryBuf m_Buffer; | 25 CFX_BinaryBuf m_Buffer; |
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
352 class CFX_GSUBTable final : public IFX_GSUBTable { | 355 class CFX_GSUBTable final : public IFX_GSUBTable { |
353 public: | 356 public: |
354 ~CFX_GSUBTable() override {} | 357 ~CFX_GSUBTable() override {} |
355 virtual FX_BOOL GetVerticalGlyph(FX_DWORD glyphnum, | 358 virtual FX_BOOL GetVerticalGlyph(FX_DWORD glyphnum, |
356 FX_DWORD* vglyphnum) override; | 359 FX_DWORD* vglyphnum) override; |
357 | 360 |
358 CFX_CTTGSUBTable m_GsubImp; | 361 CFX_CTTGSUBTable m_GsubImp; |
359 }; | 362 }; |
360 | 363 |
361 #endif // CORE_SRC_FPDFAPI_FPDF_FONT_TTGSUBTABLE_H_ | 364 #endif // CORE_SRC_FPDFAPI_FPDF_FONT_TTGSUBTABLE_H_ |
OLD | NEW |