| 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_FXGE_APPLE_APPLE_INT_H_ | 7 #ifndef CORE_SRC_FXGE_APPLE_APPLE_INT_H_ |
| 8 #define CORE_SRC_FXGE_APPLE_APPLE_INT_H_ | 8 #define CORE_SRC_FXGE_APPLE_APPLE_INT_H_ |
| 9 | 9 |
| 10 #if _FXM_PLATFORM_ == _FXM_PLATFORM_APPLE_ | 10 #if _FXM_PLATFORM_ == _FXM_PLATFORM_APPLE_ |
| 11 | 11 |
| 12 #include "../../../include/fxge/fx_ge.h" | 12 #include "core/include/fxge/fx_ge.h" |
| 13 | 13 |
| 14 #if _FX_OS_ == _FX_MACOSX_ | 14 #if _FX_OS_ == _FX_MACOSX_ |
| 15 #include <Carbon/Carbon.h> | 15 #include <Carbon/Carbon.h> |
| 16 #endif | 16 #endif |
| 17 | 17 |
| 18 typedef enum eFXIOSFONTCHARSET { | 18 typedef enum eFXIOSFONTCHARSET { |
| 19 eFXFontCharsetDEFAULT = 0, | 19 eFXFontCharsetDEFAULT = 0, |
| 20 eFXFontCharsetANSI = 1, | 20 eFXFontCharsetANSI = 1, |
| 21 eFXFontCharsetSYMBOL = 1 << 1, | 21 eFXFontCharsetSYMBOL = 1 << 1, |
| 22 eFXFontCharsetSHIFTJIS = 1 << 2, | 22 eFXFontCharsetSHIFTJIS = 1 << 2, |
| (...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 260 int _totalSize; | 260 int _totalSize; |
| 261 }; | 261 }; |
| 262 | 262 |
| 263 uint32_t FX_GetHashCode(const FX_CHAR* pStr); | 263 uint32_t FX_GetHashCode(const FX_CHAR* pStr); |
| 264 FX_DWORD FX_IOSGetMatchFamilyNameHashcode(const FX_CHAR* pFontName); | 264 FX_DWORD FX_IOSGetMatchFamilyNameHashcode(const FX_CHAR* pFontName); |
| 265 uint32_t FX_IOSGetFamilyNamesCount(); | 265 uint32_t FX_IOSGetFamilyNamesCount(); |
| 266 const FX_CHAR* FX_IOSGetFamilyName(uint32_t uIndex); | 266 const FX_CHAR* FX_IOSGetFamilyName(uint32_t uIndex); |
| 267 #endif | 267 #endif |
| 268 | 268 |
| 269 #endif // CORE_SRC_FXGE_APPLE_APPLE_INT_H_ | 269 #endif // CORE_SRC_FXGE_APPLE_APPLE_INT_H_ |
| OLD | NEW |