| 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_GE_TEXT_INT_H_ | 7 #ifndef CORE_SRC_FXGE_GE_TEXT_INT_H_ |
| 8 #define CORE_SRC_FXGE_GE_TEXT_INT_H_ | 8 #define CORE_SRC_FXGE_GE_TEXT_INT_H_ |
| 9 | 9 |
| 10 struct _CFX_UniqueKeyGen { | 10 struct _CFX_UniqueKeyGen { |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 }; | 60 }; |
| 61 #define CHARSET_FLAG_ANSI 1 | 61 #define CHARSET_FLAG_ANSI 1 |
| 62 #define CHARSET_FLAG_SYMBOL 2 | 62 #define CHARSET_FLAG_SYMBOL 2 |
| 63 #define CHARSET_FLAG_SHIFTJIS 4 | 63 #define CHARSET_FLAG_SHIFTJIS 4 |
| 64 #define CHARSET_FLAG_BIG5 8 | 64 #define CHARSET_FLAG_BIG5 8 |
| 65 #define CHARSET_FLAG_GB 16 | 65 #define CHARSET_FLAG_GB 16 |
| 66 #define CHARSET_FLAG_KOREAN 32 | 66 #define CHARSET_FLAG_KOREAN 32 |
| 67 | 67 |
| 68 class CFX_FontFaceInfo { | 68 class CFX_FontFaceInfo { |
| 69 public: | 69 public: |
| 70 CFX_FontFaceInfo(CFX_ByteString filePath, CFX_ByteString faceName, | 70 CFX_FontFaceInfo(CFX_ByteString filePath, |
| 71 CFX_ByteString fontTables, FX_DWORD fontOffset, | 71 CFX_ByteString faceName, |
| 72 CFX_ByteString fontTables, |
| 73 FX_DWORD fontOffset, |
| 72 FX_DWORD fileSize) | 74 FX_DWORD fileSize) |
| 73 : m_FilePath(filePath), | 75 : m_FilePath(filePath), |
| 74 m_FaceName(faceName), | 76 m_FaceName(faceName), |
| 75 m_FontTables(fontTables), | 77 m_FontTables(fontTables), |
| 76 m_FontOffset(fontOffset), | 78 m_FontOffset(fontOffset), |
| 77 m_FileSize(fileSize), | 79 m_FileSize(fileSize), |
| 78 m_Styles(0), | 80 m_Styles(0), |
| 79 m_Charsets(0) {} | 81 m_Charsets(0) {} |
| 80 | 82 |
| 81 const CFX_ByteString m_FilePath; | 83 const CFX_ByteString m_FilePath; |
| (...skipping 16 matching lines...) Expand all Loading... |
| 98 FX_DWORD m_Charsets; | 100 FX_DWORD m_Charsets; |
| 99 FX_DWORD m_FileSize; | 101 FX_DWORD m_FileSize; |
| 100 FX_DWORD m_FontOffset; | 102 FX_DWORD m_FontOffset; |
| 101 int m_Weight; | 103 int m_Weight; |
| 102 FX_BOOL m_bItalic; | 104 FX_BOOL m_bItalic; |
| 103 int m_PitchFamily; | 105 int m_PitchFamily; |
| 104 CFX_ByteString m_FontTables; | 106 CFX_ByteString m_FontTables; |
| 105 }; | 107 }; |
| 106 | 108 |
| 107 #endif // CORE_SRC_FXGE_GE_TEXT_INT_H_ | 109 #endif // CORE_SRC_FXGE_GE_TEXT_INT_H_ |
| OLD | NEW |