| OLD | NEW |
| 1 // Copyright 2016 PDFium Authors. All rights reserved. | 1 // Copyright 2016 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_INCLUDE_IFX_SYSTEMFONTINFO_H_ | 7 #ifndef CORE_FXGE_INCLUDE_IFX_SYSTEMFONTINFO_H_ |
| 8 #define CORE_FXGE_INCLUDE_IFX_SYSTEMFONTINFO_H_ | 8 #define CORE_FXGE_INCLUDE_IFX_SYSTEMFONTINFO_H_ |
| 9 | 9 |
| 10 #include "core/fxge/include/cfx_fontmapper.h" | 10 #include "core/fxge/include/cfx_fontmapper.h" |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 | 37 |
| 38 virtual void* GetFont(const FX_CHAR* face) = 0; | 38 virtual void* GetFont(const FX_CHAR* face) = 0; |
| 39 virtual uint32_t GetFontData(void* hFont, | 39 virtual uint32_t GetFontData(void* hFont, |
| 40 uint32_t table, | 40 uint32_t table, |
| 41 uint8_t* buffer, | 41 uint8_t* buffer, |
| 42 uint32_t size) = 0; | 42 uint32_t size) = 0; |
| 43 virtual FX_BOOL GetFaceName(void* hFont, CFX_ByteString& name) = 0; | 43 virtual FX_BOOL GetFaceName(void* hFont, CFX_ByteString& name) = 0; |
| 44 virtual FX_BOOL GetFontCharset(void* hFont, int& charset) = 0; | 44 virtual FX_BOOL GetFontCharset(void* hFont, int& charset) = 0; |
| 45 virtual int GetFaceIndex(void* hFont); | 45 virtual int GetFaceIndex(void* hFont); |
| 46 virtual void DeleteFont(void* hFont) = 0; | 46 virtual void DeleteFont(void* hFont) = 0; |
| 47 virtual void* RetainFont(void* hFont); | |
| 48 }; | 47 }; |
| 49 | 48 |
| 50 #endif // CORE_FXGE_INCLUDE_IFX_SYSTEMFONTINFO_H_ | 49 #endif // CORE_FXGE_INCLUDE_IFX_SYSTEMFONTINFO_H_ |
| OLD | NEW |