Skip to content

Font smoothing in Chrome

1 / 2
Not downloaded yet
Not downloaded yet

Update: I've installed Infinality, and it works like a charm. Cheers!

Hi there!

I recently installed Arch, and so far I'm loving it. Cinnamon broke a few days ago because of an update, and I used it as an excuse to try out Gnome.

But I have a problem: My fonts in Chrome look "off". There is no smoothing, and I'm not really sure how to fix it.

Difference in Chrome Advanced Font Settings
Left side is Arch, right side is Windows in VBox. And it looks so much better in Windows!

I saw somewhere that there's something about DirectWrite in Chrome, but I can't find it in Linux, only on Windows.

Another picture that shows the difference

I'm quite lost here, and I'm hoping someone here can help!
Thank you.

Edit: The images don't do the problem justice at all. It doesn't look that bad in the images, it does in reality.

Edited 12 Apr 2015. We only hold this version.

8 points15 comments
Open on Reddit
About this post
Posted
Archived
Edited
Score
8 · 100% up
Kind
Gallery · 2 files
ID
32c7rl

Author

3
posts
11
comments
2
media
View profile

18 comments

just install Infinality on your system and all the fonts will look much better

https://wiki.archlinux.org/index.php/Infinality

http://i.imgur.com/JKcmyB4.png

http://i.imgur.com/vTKlaUS.png

6 points

I ignored / resisted Infinality for too long (not sure why). Once I tried it I was a convert.

3 points

… at least on your monitor. To me on both screenshots it’s just a blurry mess.

2 points

at least on your monitor

That's because those bitmaps include sub-pixel rendering. It will only look good at the exact resolution and monitor type (RGB layout) as the original.

2 points

Oh man, this is good. Cheers for that, it's much better.

I've never heard of Infinality, but it's awesome! Thanks you for your answer!

1 points

And then enjoy the woff fonts bug that screws so many websites!

1 points

By default, arch is like that. There's a font configuration wiki page, but honestly, I just couldn't understand it (I'm not a font guy!). Instead, I went with the infinality wiki page and it instantly looked much better.

6 points

I think the font configuration wiki needs a tldr, it's at least a days work for a noob to get those steps completed... good thing infinality developers recognized that.

3 points

What about a paragraph like this:

TL;DR: Install infinality-ultimate and (preferably) ib-fonts.

It could solve 95% use cases, wouldn't it?

1 points

Does it help if you save this in a file called .fonts.conf in your home directory and restart?

<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
 <match target="font">
  <edit mode="assign" name="rgba">
   <const>rgb</const>
  </edit>
 </match>
 <match target="font">
  <edit mode="assign" name="hinting">
   <bool>true</bool>
  </edit>
 </match>
 <match target="font">
  <edit mode="assign" name="hintstyle">
   <const>hintslight</const>
  </edit>
 </match>
 <match target="font">
  <edit mode="assign" name="antialias">
   <bool>true</bool>
  </edit>
 </match>
  <match target="font">
    <edit mode="assign" name="lcdfilter">
      <const>lcddefault</const>
    </edit>
  </match>
</fontconfig>
2 points

Thank you for your answer! I will save it in case of an emergency, but Infinality worked really well, and that'll be my solution for now. Again, thank you!

2 points

It probably isn't specific to Chrome. The default font settings on Arch are just... well, what you see.

You don't mention what you've tried. Gnome-tweak-tool gives you some basic font settings. Beyond that, read the font configuration wiki page.

2 points
unknown author

Just use the fontconfig instructions from the wiki. It will look as good or better than infinality, and you're not installing an extra package and tons of patched fonts. Arch is about using the simplest, most straightforward option by default.

2 points
unknown author

Deleted before we saved it.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.