Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get smooth Google fonts?

I formerly used the plugin WP Google Fonts, which hasn't got my requested feature, either.

For now I'm using Google fonts with an implemented feature in the currently used theme. The fonts are embedded without trouble and they are shown correctly.

For now there are plenty blogs with nicely readable smooth fonts for HD displays and I want those fonts, too. As seen in my WordPress, it is capable of showing them, example below:

enter image description here

There are no sharp edges, no pixels, etc. That's how I would like it.

I selected "Droid Sans" currently as the font for my articles. But this font shows up WITH sharp edges and pixelated. Example below:

enter image description here(Please note that opening this picture in a new tab shows the issue much more clearly.)

Is there anything to make this look smooth and cool?

  • Is it just the wrong font? I'm not bound to it and tried some others fonts. They all seem to have those sharp edges. If you know a font for compare, please note it.
  • Is there a CSS snippet I have to add?
  • Is it a server-sided configuration?

How can I achieve smooth fonts in my articles page?

like image 459
Trollwut Avatar asked Feb 12 '14 17:02

Trollwut


People also ask

How do I make my font look smoother?

Open the Control Panel. Double-click the Display icon. In the Display menu, click the Effects tab and check the box on smooth edges on-screen fonts. After that, click Apply and then click Ok.

Can I use font smoothing?

font-smooth has also been removed from the CSS standards and the MDN documents strongly recommend you not to use it on production websites.

What is the easiest Google font to read?

Arial. Arial is the standard font for many word processors, such as Microsoft Word and Google Docs. It's a clean, contemporary, sans-serif typeface that works extremely well for body text. Due to its popularity and familiarity, Arial easily adapts to just about any style.


1 Answers

It can depend on what browser you are using.

I tend to use:

 -webkit-font-smoothing: antialiased;

or if you have blurry bold text:

-webkit-filter: blur(0.000001px);

on webkit browsers.


Alternatively, you can add a text-shadow to make the text seem smoother

 html, html a {
      text-shadow: 1px 1px 1px rgba(0,0,0,0.004);
 }

I also recommend you try different font sizes as some custom fonts will only look good at certain sizes.

Other than that, there isn't much you can do apart from use another font. Google Chrome did just release an update for smoother fonts. It might also be useful to look at svg fonts:

Google Fonts & http://www.fontspring.com/demos/svg-vs-woff/

like image 66
Jack Avatar answered Oct 17 '22 02:10

Jack