Original patch by forshaw.
authorTom Sepez <tsepez@chromium.org>
Mon, 5 Oct 2015 19:57:17 +0000 (12:57 -0700)
committerTom Sepez <tsepez@chromium.org>
Mon, 5 Oct 2015 19:57:17 +0000 (12:57 -0700)
commitd7ba833df5c9dc70cb94dba2d0aae1339b345ae4
tree58bcf8ed6c54fbc63a5173593f52fbef2baa4eb0
parentfd12ec5584d9a17f310a2c0c408a438ef3b1ce63
Original patch by forshaw.

Added a fallback Win32 font information class for win32k lockdown.
This is to support running PDFIUM within the Win32k lockdown by
removing dependancies on USER32/GDI for the font information code.
It falls back to using a freetype/directory enumeration implementation
if it detects the win32k system calls have been disabled by policy.

BUG=523278
R=tsepez@chromium.org

Review URL: https://codereview.chromium.org/1306883002 .
core/include/fxge/fx_font.h
core/src/fxge/ge/fx_ge_fontmap.cpp
core/src/fxge/ge/fx_ge_linux.cpp
core/src/fxge/win32/fx_win32_device.cpp