summaryrefslogtreecommitdiff
path: root/core/include/fxge
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-10-05 13:11:43 -0700
committerTom Sepez <tsepez@chromium.org>2015-10-05 13:11:43 -0700
commit563f7f8fbc445021fe37397eadf10847bddc004a (patch)
tree17479fab03fd33a0543780901f491f6d7bf80a41 /core/include/fxge
parent0ecd473f0844b4c0b4a95360216af68de3a3570b (diff)
downloadpdfium-563f7f8fbc445021fe37397eadf10847bddc004a.tar.xz
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 .
Diffstat (limited to 'core/include/fxge')
-rw-r--r--core/include/fxge/fx_font.h7
1 files changed, 7 insertions, 0 deletions
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: