Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(157)

Side by Side Diff: core/fxge/include/ifx_systemfontinfo.h

Issue 2252833002: Delete m_ExtHandle and RetainFont (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « core/fxge/include/fx_font.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « core/fxge/include/fx_font.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698