.
On the left is firefox 4, on the right is chrome 12. Is there a way to make chrome render prettier fonts?
The above image was taken on windows xp. Below is another example from windows 7.
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.
Sign up to join this community.
On the left is firefox 4, on the right is chrome 12. Is there a way to make chrome render prettier fonts?
The above image was taken on windows xp. Below is another example from windows 7.
Check ClearType settings - the Chrome screenshot looks like it's being forced to render non-anti-aliased. That will kill just about any web font, since they don't have monochrome hints (for size reasons among other things). I used to see this reported as "IE renders text better", because it ignores your OS-level ClearType settings and turns it on by default.
All those answers are wrong! This is a big bug in Google Chrome, please see the official bug report/thread including lots of screenshots here: Official bug report on Chrome Code
Currently the best workaround is to simply give your element/headline this simple rule:
-webkit-text-stroke: 1px
Addition from Dr John:
I found a suggestion that html { -webkit-text-stroke: 0.25px}
would work as well - found it here
https://groups.google.com/forum/?fromgroups#!topic/mathjax-users/dV_TmJ1QMO4
-webkit-text-stroke
in the Stylish addon. Now Chrome gives me a bit more pleasure.
Dec 20, 2014 at 17:59
Chrome is reading your ClearType setting which on Windows XP is switched off by default.
To fix the issue, first close the Chrome browser.
Now right-click anywhere on the desktop and select 'Properties' from the drop-down menu.
Click on the 'Appearance' tab found along the top on the new window.
And click on the 'Effects' button.
The second option down should read, "Use the following method to smooth edges of screen fonts."
Select the "ClearType" option.
Click Apply & Re-open your Chrome browser.
From now on Chrome will render your fonts nicely anti-aliased for that smooth effect.
Place the SVG file higher in the font-face css rule, either 1st or second for example:
@font-face {
font-family: 'gothbook';
src: url('fonts/gothamrnd-book-webfont.eot');
src: url('fonts/gothamrnd-book-webfont.eot?#iefix') format('embedded-opentype'),
url('fonts/gothamrnd-book-webfont.svg#GothamRoundedBookRegular') format('svg'),
url('fonts/gothamrnd-book-webfont.woff') format('woff'),
url('fonts/gothamrnd-book-webfont.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
Instead of:
@font-face {
font-family: 'gothbook';
src: url('fonts/gothamrnd-book-webfont.eot');
src: url('fonts/gothamrnd-book-webfont.eot?#iefix') format('embedded-opentype'),
url('fonts/gothamrnd-book-webfont.woff') format('woff'),
url('fonts/gothamrnd-book-webfont.ttf') format('truetype'),
url('fonts/gothamrnd-book-webfont.svg#GothamRoundedBookRegular') format('svg');
font-weight: normal;
font-style: normal;
}
Examples of this fix can be seen here:
Do you have GPU Acceleration enabled in Google Chrome? Type about:flags
and look for GPU Accelerated Canvas 2D
, Disable it if enabled. Fonts on some sites appear really jagged when I browsed with the acceleration enabled.
Within Google Chrome click on the Wrench > Options > Under the Hood > [next to Web Content] click Customize Fonts.
Change your settings so that your page looks just like mine
Then click the x, and see if your problem is fixed.
If this doesn't fix it, there might be one more thing... but I'll wait until you try this.
Chrome does not render web fonts well at the moment. There are several bugs on their issue tracker for this. Please star any relevant to you them to give them more attention.
I had exactly the same issue, rendering webfonts from http://www.google.com/webfonts in Chrome. I tried all the suggestions on this and a couple of other sites and none of them worked.
Eventually I began inspecting the CSS properties of the affected text, it turned out to the the actual font colour that was causing the issue. A title given color:#454545
would render badly, yet the same title given the following: color:#333
worked fine. Thank God for user agent specific style sheets!
In Windows XP, I just changed the anti-alias option from "Default" to "Clear Type" in
Display → Properties → Appearance → VisualEffects.
Chrome takes the system clearType value for fonts. Looking better in Windows 7 explains that. On a Mac, Anti-aliasing is enabled for all fonts above size 8, I suppose. Try turning on or changing the clearType of your Windows machine
Update: Seems like Chrome 22 and up ignore the System Settings for clearType
I had this problem so severely in Windows XP SP3 that it rendered Chrome unusable for all intents and purposes. I noticed that I had installed Clear Type Tuning in the Control Panel and tried unchecking "Enable Font Smoothing" in the advanced tab. After restarting Chrome. it was ok, even after turning Font Smoothing on again. I decided to check the box "Apply all settings to defaults for new users and system".
For me it wasn't the ClearType setting in Windows 10.1 x64, but it turned out to be a setting in my Chrome browser called DirectWrite.
chrome://flags/#directwrite
That fixed the issue for me.
In Windows 10, Go to
Control panel -> System and Security -> System
then click
Advanced -> Performance -> Settings
and select "Adjust for best performance".
Then restart Chrome.
Fonts will render again correctly.
It looks like the long and hard answer is you can't. There are plenty of discussions and suggestions in Chrome help, but I don't see anything worth suggesting.
The big question is how are you getting it to look so bad?! I'm using Chrome to type in this box... I even zoomed in a whole bunch and I don't see anything like you are. If you still have questions after this you should explain out your configuration to the community.
Although Chrome is "useable" for the fonts, it looks thin and washed out where it renders diagonal lines especially. IE renders much better but IE is a slower browser and so it FireFox.
I believe this is inherent in the code for chrome.
BTW, HackToHell, where do I go to change the rendering color?
I'll try this.
press windows key + r then type cttune.exe in there
alternative method is to press windows key then type in cleartype then select Adjust ClearType Text
and follow the instructions, if you still have issues try some of the other examples
this worked for me, you have to try the different examples, its much like contrast/brightness calibration but for text instead
FYI: disabling 2d acceleration might help to get chrome to play with windows cleartype tune tool
If you want web fonts to be readable while still having font smoothing/cleartype disabled, then the solution is to disable web fonts in Google Chrome. In such case browser will use OS standard fonts which are rendered correctly when cleartype/smoothing is disabled. To do so pass the /disable-remote-fonts
flag to chrome.exe. Rigt click on Google Chrome shortcut on Desktop, select Properties, go to Shortcut tab and set Target to:
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" /disable-remote-fonts
There may be one issue with web fonts being disabled. If website is using icons from web fonts, then they won't display.
The corresponding issue in Chromium tracker:
"System-wide ClearType setting not respected for web fonts" https://code.google.com/p/chromium/issues/detail?id=319429
Go to chrome://flags/
(or about:flags
) and Disable the option Override software rendering list.
Accelerated 2D canvas should be disabled too.
That combination helped me.
Go to chrome://flags/ and set "LCD text antialiasing" to enabled. Restart the browser.