From 93f4dd2703b55ba7fd154a3765670c10792753eb Mon Sep 17 00:00:00 2001 From: Adrian Cochrane Date: Thu, 4 Jan 2018 08:32:42 +1300 Subject: [PATCH] Better bandaid style fix for plus.google.com. Google should really read http://usabilitypost.com/2012/11/05/stop-fixing-font-smoothing/. --- src/Traits/decorate/fix-plus.google.com.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Traits/decorate/fix-plus.google.com.vala b/src/Traits/decorate/fix-plus.google.com.vala index 94f2cd3..e18cb3d 100644 --- a/src/Traits/decorate/fix-plus.google.com.vala +++ b/src/Traits/decorate/fix-plus.google.com.vala @@ -21,7 +21,7 @@ Not really something I want to build into Odysseus as I'd rather focus it should this only covers the symptoms, and not the real issue. */ namespace Odysseus.Traits { public void fix_google_plus(WebKit.WebView web) { - var css = new WebKit.UserStyleSheet("* {font-family: sans-serif;}", + var css = new WebKit.UserStyleSheet("* {-webkit-font-smoothing: subpixel-anialiased;}", WebKit.UserContentInjectedFrames.TOP_FRAME, WebKit.UserStyleLevel.USER, new string[] {"https://plus.google.com/*"}, new string[0]);