From 563f7f8fbc445021fe37397eadf10847bddc004a Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Mon, 5 Oct 2015 13:11:43 -0700 Subject: Merge to XFA: Added a fallback Win32 font information class for win32k lockdown. (cherry picked from commit d7ba833df5c9dc70cb94dba2d0aae1339b345ae4) Original Review URL: https://codereview.chromium.org/1306883002 . TBR=forshaw@chromium.org BUG=523278 Review URL: https://codereview.chromium.org/1383353002 . --- core/include/fxge/fx_font.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'core/include/fxge/fx_font.h') diff --git a/core/include/fxge/fx_font.h b/core/include/fxge/fx_font.h index 571be3f22a..39353d7b16 100644 --- a/core/include/fxge/fx_font.h +++ b/core/include/fxge/fx_font.h @@ -418,6 +418,13 @@ class CFX_FolderFontInfo : public IFX_SystemFontInfo { FXSYS_FILE* pFile, FX_DWORD filesize, FX_DWORD offset); + void* GetSubstFont(const CFX_ByteString& face); + void* FindFont(int weight, + FX_BOOL bItalic, + int charset, + int pitch_family, + const FX_CHAR* family, + FX_BOOL bMatchName); }; class CFX_CountedFaceCache { public: -- cgit v1.2.3