| 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 _APPLE_INT_H_ | 7 #ifndef CORE_SRC_FXGE_APPLE_APPLE_INT_H_ |
| 8 #define _APPLE_INT_H_ | 8 #define CORE_SRC_FXGE_APPLE_APPLE_INT_H_ |
| 9 |
| 9 #if _FXM_PLATFORM_ == _FXM_PLATFORM_APPLE_ | 10 #if _FXM_PLATFORM_ == _FXM_PLATFORM_APPLE_ |
| 10 #if _FX_OS_ == _FX_MACOSX_ | 11 #if _FX_OS_ == _FX_MACOSX_ |
| 11 #include <Carbon/Carbon.h> | 12 #include <Carbon/Carbon.h> |
| 12 #endif | 13 #endif |
| 13 typedef enum eFXIOSFONTCHARSET { | 14 typedef enum eFXIOSFONTCHARSET { |
| 14 eFXFontCharsetDEFAULT = 0, | 15 eFXFontCharsetDEFAULT = 0, |
| 15 eFXFontCharsetANSI = 1, | 16 eFXFontCharsetANSI = 1, |
| 16 eFXFontCharsetSYMBOL = 1 << 1, | 17 eFXFontCharsetSYMBOL = 1 << 1, |
| 17 eFXFontCharsetSHIFTJIS = 1 << 2, | 18 eFXFontCharsetSHIFTJIS = 1 << 2, |
| 18 eFXFontCharsetHANGEUL = 1 << 3, | 19 eFXFontCharsetHANGEUL = 1 << 3, |
| (...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 236 unsigned char * _tableEntries; | 237 unsigned char * _tableEntries; |
| 237 size_t * _tableOffsets; | 238 size_t * _tableOffsets; |
| 238 int _tableCount; | 239 int _tableCount; |
| 239 int _totalSize; | 240 int _totalSize; |
| 240 }; | 241 }; |
| 241 FX_UINT32 FX_GetHashCode( FX_LPCSTR pStr); | 242 FX_UINT32 FX_GetHashCode( FX_LPCSTR pStr); |
| 242 FX_DWORD FX_IOSGetMatchFamilyNameHashcode(FX_LPCSTR pFontName); | 243 FX_DWORD FX_IOSGetMatchFamilyNameHashcode(FX_LPCSTR pFontName); |
| 243 FX_UINT32 FX_IOSGetFamilyNamesCount(); | 244 FX_UINT32 FX_IOSGetFamilyNamesCount(); |
| 244 FX_LPCSTR FX_IOSGetFamilyName( FX_UINT32 uIndex); | 245 FX_LPCSTR FX_IOSGetFamilyName( FX_UINT32 uIndex); |
| 245 #endif | 246 #endif |
| 246 #endif | 247 |
| 248 #endif // CORE_SRC_FXGE_APPLE_APPLE_INT_H_ |
| OLD | NEW |