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_FXGE_APPLE_APPLE_INT_H_ | 7 #ifndef CORE_FXGE_APPLE_APPLE_INT_H_ |
8 #define CORE_FXGE_APPLE_APPLE_INT_H_ | 8 #define CORE_FXGE_APPLE_APPLE_INT_H_ |
9 | 9 |
10 #include "core/fxcrt/include/fx_system.h" | 10 #include "core/fxcrt/include/fx_system.h" |
11 | 11 |
12 #if _FXM_PLATFORM_ == _FXM_PLATFORM_APPLE_ | 12 #if _FXM_PLATFORM_ == _FXM_PLATFORM_APPLE_ |
13 | 13 |
14 #include "core/include/fxge/fx_ge.h" | 14 #include "core/fxge/include/fx_ge.h" |
15 | 15 |
16 #if _FX_OS_ == _FX_MACOSX_ | 16 #if _FX_OS_ == _FX_MACOSX_ |
17 #include <Carbon/Carbon.h> | 17 #include <Carbon/Carbon.h> |
18 #endif | 18 #endif |
19 | 19 |
20 typedef enum eFXIOSFONTCHARSET { | 20 typedef enum eFXIOSFONTCHARSET { |
21 eFXFontCharsetDEFAULT = 0, | 21 eFXFontCharsetDEFAULT = 0, |
22 eFXFontCharsetANSI = 1, | 22 eFXFontCharsetANSI = 1, |
23 eFXFontCharsetSYMBOL = 1 << 1, | 23 eFXFontCharsetSYMBOL = 1 << 1, |
24 eFXFontCharsetSHIFTJIS = 1 << 2, | 24 eFXFontCharsetSHIFTJIS = 1 << 2, |
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 int32_t m_vertSize; | 218 int32_t m_vertSize; |
219 }; | 219 }; |
220 | 220 |
221 uint32_t FX_GetHashCode(const FX_CHAR* pStr); | 221 uint32_t FX_GetHashCode(const FX_CHAR* pStr); |
222 uint32_t FX_IOSGetMatchFamilyNameHashcode(const FX_CHAR* pFontName); | 222 uint32_t FX_IOSGetMatchFamilyNameHashcode(const FX_CHAR* pFontName); |
223 uint32_t FX_IOSGetFamilyNamesCount(); | 223 uint32_t FX_IOSGetFamilyNamesCount(); |
224 const FX_CHAR* FX_IOSGetFamilyName(uint32_t uIndex); | 224 const FX_CHAR* FX_IOSGetFamilyName(uint32_t uIndex); |
225 #endif | 225 #endif |
226 | 226 |
227 #endif // CORE_FXGE_APPLE_APPLE_INT_H_ | 227 #endif // CORE_FXGE_APPLE_APPLE_INT_H_ |
OLD | NEW |