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_INCLUDE_FXGE_FX_FONT_H_ | 7 #ifndef CORE_INCLUDE_FXGE_FX_FONT_H_ |
8 #define CORE_INCLUDE_FXGE_FX_FONT_H_ | 8 #define CORE_INCLUDE_FXGE_FX_FONT_H_ |
9 | 9 |
10 #include <map> | 10 #include <map> |
(...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
438 public: | 438 public: |
439 static IFX_GSUBTable* Create(CFX_Font* pFont); | 439 static IFX_GSUBTable* Create(CFX_Font* pFont); |
440 virtual FX_BOOL GetVerticalGlyph(FX_DWORD glyphnum, FX_DWORD* vglyphnum) = 0; | 440 virtual FX_BOOL GetVerticalGlyph(FX_DWORD glyphnum, FX_DWORD* vglyphnum) = 0; |
441 | 441 |
442 protected: | 442 protected: |
443 virtual ~IFX_GSUBTable() {} | 443 virtual ~IFX_GSUBTable() {} |
444 }; | 444 }; |
445 | 445 |
446 CFX_ByteString GetNameFromTT(const uint8_t* name_table, FX_DWORD name); | 446 CFX_ByteString GetNameFromTT(const uint8_t* name_table, FX_DWORD name); |
447 | 447 |
| 448 int PDF_GetStandardFontName(CFX_ByteString* name); |
| 449 |
448 #endif // CORE_INCLUDE_FXGE_FX_FONT_H_ | 450 #endif // CORE_INCLUDE_FXGE_FX_FONT_H_ |
OLD | NEW |