1Frothy Posted March 28, 2008 Share Posted March 28, 2008 Source: Webkit.org The version of WebKit that ships with Safari 3.1 on Windows uses CoreGraphics antialiasing for text. The latest WebKit in nightly builds has made good progress on a GDI text rendering mode (i.e., the text rendering matches your OS look/settings). We encourage Windows testers to try out GDI text rendering and file bugs that you find at http://bugs.webkit.org/. To enable GDI text rendering, you will need to hand edit your preferences file, as there is no visible UI option in Safari 3.1 for this. You will need to set WebKit?s ?WebKitFontSmoothingType? preference to a value of ?4″. The preferences file on Windows XP is: C:\Documents and Settings\<username>\Application Data\Apple Computer\Safari\WebKitPreferences.plist On Vista, it is: C:\Users\<username>\AppData\Roaming\Apple Computer\Safari\WebKitPreferences.plist The values that are listed in Safari?s UI for this preference map to the numbers 0-3. Note that while you can turn on GDI text rendering in the WebKit that ships with Safari 3.1, most advanced text features will not work. These include stroking and filling text, most advanced text features in SVG, shadows, partially transparent text (rgba/hsla) and text inside a transparency layer (opacity). All of these features should work now in the latest nightlies. If you have changed the setting in Safari you may have to edit that preference file. It can be found at: %APPDATA%\Apple Computer\Safari\Preferences\com.apple.Safari.plist Link to comment https://www.neowin.net/forum/topic/628218-gdi-text-on-windows/ Share on other sites More sharing options...
DigitalE Posted March 28, 2008 Share Posted March 28, 2008 Doesn't seem to do anything for me... Link to comment https://www.neowin.net/forum/topic/628218-gdi-text-on-windows/#findComment-589297348 Share on other sites More sharing options...
megamanXplosion Posted March 28, 2008 Share Posted March 28, 2008 It didn't do anything for me either. Link to comment https://www.neowin.net/forum/topic/628218-gdi-text-on-windows/#findComment-589297484 Share on other sites More sharing options...
The_Decryptor Veteran Posted March 28, 2008 Veteran Share Posted March 28, 2008 http://webkit.org/blog/168/gdi-text-on-win.../#comment-24085 Make sure the page you're on isn't using Lucida Grande (read the comment one up to see why, and oh hey it's me!) Link to comment https://www.neowin.net/forum/topic/628218-gdi-text-on-windows/#findComment-589297510 Share on other sites More sharing options...
megamanXplosion Posted March 28, 2008 Share Posted March 28, 2008 I figured out why it wasn't working for me. The setting kept being reverted because you have to change two settings to make it work. Using Notepad, open this file: C:\Documents and Settings\<username>\Application Data\Apple Computer\Safari\WebKitPreferences.plist. Change the value for FontSmoothing and WebKitFontSmoothingType from 0 to 4. Save the file and open Safari to visit Neowin or another website that doesn't use the Lucida Grande font. Link to comment https://www.neowin.net/forum/topic/628218-gdi-text-on-windows/#findComment-589297575 Share on other sites More sharing options...
Recommended Posts