[Webkit-unassigned] [Bug 206273] [Win] Remove obsolete useGDI code path and FontRenderingMode enum

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 15 00:01:37 PST 2020


https://bugs.webkit.org/show_bug.cgi?id=206273

--- Comment #4 from Fujii Hironori <Hironori.Fujii at sony.com> ---
Created attachment 387758

  --> https://bugs.webkit.org/attachment.cgi?id=387758&action=review

minibrowser.exe.plist to enable useGDI

There are two ways to enable useGDI code path for AppleWin MiniBrowser.

1. applying the following patch

diff --git a/Tools/MiniBrowser/win/WebKitLegacyBrowserWindow.cpp b/Tools/MiniBrowser/win/WebKitLegacyBrowserWindow.cpp
index f81a9be39f3..a062b973aca 100644
--- a/Tools/MiniBrowser/win/WebKitLegacyBrowserWindow.cpp
+++ b/Tools/MiniBrowser/win/WebKitLegacyBrowserWindow.cpp
@@ -297,6 +297,7 @@ bool WebKitLegacyBrowserWindow::setToDefaultPreferences()
     m_standardPreferences->setJavaScriptEnabled(TRUE);
     m_prefsPrivate->setAllowUniversalAccessFromFileURLs(FALSE);
     m_prefsPrivate->setAllowFileAccessFromFileURLs(TRUE);
+    m_standardPreferences->setFontSmoothing(FontSmoothingTypeWindows);

     m_prefsPrivate->setDeveloperExtrasEnabled(TRUE);


2. put this minibrowser.exe.plist to %userprofile%\AppData\Roaming\Apple Computer\Preferences

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200115/570c6535/attachment.htm>


More information about the webkit-unassigned mailing list