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

Side by Side Diff: core/fxge/android/fx_android_font.h

Issue 1832173003: Remove FX_DWORD from core/ and delete definition (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 9 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/android/fpf_skiafontmgr.cpp ('k') | core/fxge/android/fx_android_font.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_FXGE_ANDROID_FX_ANDROID_FONT_H_ 7 #ifndef CORE_FXGE_ANDROID_FX_ANDROID_FONT_H_
8 #define CORE_FXGE_ANDROID_FX_ANDROID_FONT_H_ 8 #define CORE_FXGE_ANDROID_FX_ANDROID_FONT_H_
9 9
10 #include "core/fxcrt/include/fx_system.h" 10 #include "core/fxcrt/include/fx_system.h"
(...skipping 12 matching lines...) Expand all
23 virtual FX_BOOL EnumFontList(CFX_FontMapper* pMapper); 23 virtual FX_BOOL EnumFontList(CFX_FontMapper* pMapper);
24 24
25 virtual void* MapFont(int weight, 25 virtual void* MapFont(int weight,
26 FX_BOOL bItalic, 26 FX_BOOL bItalic,
27 int charset, 27 int charset,
28 int pitch_family, 28 int pitch_family,
29 const FX_CHAR* face, 29 const FX_CHAR* face,
30 int& bExact); 30 int& bExact);
31 31
32 virtual void* GetFont(const FX_CHAR* face); 32 virtual void* GetFont(const FX_CHAR* face);
33 virtual FX_DWORD GetFontData(void* hFont, 33 virtual uint32_t GetFontData(void* hFont,
34 FX_DWORD table, 34 uint32_t table,
35 uint8_t* buffer, 35 uint8_t* buffer,
36 FX_DWORD size); 36 uint32_t size);
37 virtual FX_BOOL GetFaceName(void* hFont, CFX_ByteString& name); 37 virtual FX_BOOL GetFaceName(void* hFont, CFX_ByteString& name);
38 virtual FX_BOOL GetFontCharset(void* hFont, int& charset); 38 virtual FX_BOOL GetFontCharset(void* hFont, int& charset);
39 39
40 virtual void DeleteFont(void* hFont); 40 virtual void DeleteFont(void* hFont);
41 virtual void* RetainFont(void* hFont); 41 virtual void* RetainFont(void* hFont);
42 FX_BOOL Init(IFPF_FontMgr* pFontMgr); 42 FX_BOOL Init(IFPF_FontMgr* pFontMgr);
43 43
44 protected: 44 protected:
45 IFPF_FontMgr* m_pFontMgr; 45 IFPF_FontMgr* m_pFontMgr;
46 }; 46 };
47 #endif 47 #endif
48 48
49 #endif // CORE_FXGE_ANDROID_FX_ANDROID_FONT_H_ 49 #endif // CORE_FXGE_ANDROID_FX_ANDROID_FONT_H_
OLDNEW
« no previous file with comments | « core/fxge/android/fpf_skiafontmgr.cpp ('k') | core/fxge/android/fx_android_font.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698