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 #include <memory> | 13 #include <memory> |
14 | 14 |
15 #include "core/fxcrt/include/fx_basic.h" | 15 #include "core/fxcrt/fx_basic.h" |
16 #include "core/fxge/include/fx_font.h" | 16 #include "core/fxge/include/fx_font.h" |
17 #include "core/fxge/include/fx_freetype.h" | 17 #include "core/fxge/include/fx_freetype.h" |
18 | 18 |
19 class CFX_GlyphMap { | 19 class CFX_GlyphMap { |
20 public: | 20 public: |
21 CFX_GlyphMap(); | 21 CFX_GlyphMap(); |
22 ~CFX_GlyphMap(); | 22 ~CFX_GlyphMap(); |
23 | 23 |
24 void SetAt(int key, int value); | 24 void SetAt(int key, int value); |
25 FX_BOOL Lookup(int key, int& value); | 25 FX_BOOL Lookup(int key, int& value); |
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
292 std::map<uint32_t, uint32_t> m_featureMap; | 292 std::map<uint32_t, uint32_t> m_featureMap; |
293 FX_BOOL m_bFeautureMapLoad; | 293 FX_BOOL m_bFeautureMapLoad; |
294 bool loaded; | 294 bool loaded; |
295 tt_gsub_header header; | 295 tt_gsub_header header; |
296 TScriptList ScriptList; | 296 TScriptList ScriptList; |
297 TFeatureList FeatureList; | 297 TFeatureList FeatureList; |
298 TLookupList LookupList; | 298 TLookupList LookupList; |
299 }; | 299 }; |
300 | 300 |
301 #endif // CORE_FPDFAPI_FPDF_FONT_TTGSUBTABLE_H_ | 301 #endif // CORE_FPDFAPI_FPDF_FONT_TTGSUBTABLE_H_ |
OLD | NEW |