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