You are not logged in.

#1 2009-04-05 07:08:46

jalu
Member
Registered: 2009-04-05
Posts: 140

"Clean" font?

Some websites (e.g. Yahoo Answers) specify "clean" in the font-family section of the CSS. The text on such websites is very small and not anti-aliased.

For a while, I thought that "clean" was a generic CSS font-family (like "sans-serif"). Today I found that I do in fact have a font called "Clean" installed on my system, and it is the same ugly font that is being displayed on these websites.

I do not remember ever seeing this font when I was using Ubuntu. Does Arch use a different "Clean" font, or is something else happening here? Is there any way I can avoid having such an ugly "Clean" font, maybe linking "Clean" to "Sans" or something like that?

Thanks in advance. Sorry if it's a strange question.

Offline

#2 2009-04-05 07:17:55

dr0p
Member
From: Seattle, WA, USA
Registered: 2008-06-11
Posts: 120

Re: "Clean" font?

I personally don't have this font installed, so everything looks fine for me, why don't you just remove it?


Arch i686 User
xmonad :: xmobar :: urxvt :: vim

Offline

#3 2009-04-05 08:33:20

mikesd
Member
From: Australia
Registered: 2008-02-01
Posts: 788
Website

Re: "Clean" font?

clean is included in xorg-fonts-misc. I never see it in webpages though including Yahoo Answers and I have it installed. I use the core fonts in Firefox, Arial, Times and Courier New. Perhaps try changing the font settings for your browser?

Offline

#4 2009-04-05 08:33:46

jRRYo
Member
Registered: 2008-11-28
Posts: 8

Re: "Clean" font?

I'm using Clean font for terminal, looks nice.
Looks like you don't have "ttf-ms-fonts" installed on your system, as Clean is sor of a fallback on their site: {..arial,helvetica,clean,sans-serif...}

Offline

#5 2009-04-05 16:48:28

peets
Member
From: Montreal
Registered: 2007-01-11
Posts: 936
Website

Re: "Clean" font?

this won't solve your problem, but will make your life better: prevent web sites from using their own fonts. Pick one that you like and apply it everywhere. Everything instantly looks more tolerable.

Offline

#6 2009-04-05 20:08:17

jalu
Member
Registered: 2009-04-05
Posts: 140

Re: "Clean" font?

Thanks for all the responses everybody.

I didn't want to install ttf-ms-fonts, because I'm a bit of a Stallmanite.

sudo pacman -dR xorg-fonts-misc did the trick. Seems that this is because answers.yahoo.com specifies sans-serif after clean. When there's no "Clean" font installed, it falls back to sans. I am just a bit concerned, though, because xorg-fonts-misc is a dependency of xorg-server. Does anybody know why that is?

edit: It seems xorg-server will not run without xorg-fonts-misc. So uninstalling that package would not be a good solution. Does anybody have any other ideas? Would there be a way to link the font "Clean" to "Sans" or something like that?

Last edited by jalu (2009-04-05 20:57:38)

Offline

#7 2009-04-08 13:13:00

Agent69
Member
Registered: 2006-05-26
Posts: 189

Re: "Clean" font?

Couldn't a properly configured ~/.fonts.conf fix this problem? I seem to recall the wiki mentioning how to disable an unattractive font.

Offline

#8 2009-04-08 15:08:34

Nezmer
Member
Registered: 2008-10-24
Posts: 559
Website

Re: "Clean" font?

As 'peets' suggested earlier . Don't let websites decide what fonts to use . This can be easily achieved in Firefox (check the preferences) . You will need a custom style(css file) in other browsers (Opera, Midori and maybe others) .

Last edited by Nezmer (2009-04-08 15:09:24)


English is not my native language .

Offline

#9 2009-04-10 04:43:35

putte_xvi
Member
From: Sweden
Registered: 2009-04-10
Posts: 22

Re: "Clean" font?

Putting this in your ~/.fonts.conf (inside the <fontconfig> tags) should assure that the font is never used:

<selectfont>
  <rejectfont>
    <pattern>
      <patelt name="family">
        <string>Clean</string>
      </patelt>
    </pattern>
  </rejectfont>
</selectfont>

Offline

#10 2010-08-08 19:15:52

jalu
Member
Registered: 2009-04-05
Posts: 140

Re: "Clean" font?

Hey guys. Sorry it's been a while.

The .fonts.conf settings provided by putte_xvi works perfectly. I have heard about fonts.conf in the past, but never used it. I will definitely be doing more research into it in the future.

Thanks everyone, especially putte_xvi, for all of your help.

Offline

#11 2010-08-08 21:32:44

dmz
Member
From: Sweden
Registered: 2008-08-27
Posts: 881
Website

Re: "Clean" font?

peets wrote:

this won't solve your problem, but will make your life better: prevent web sites from using their own fonts. Pick one that you like and apply it everywhere. Everything instantly looks more tolerable.

This.

I use Terminus for all 'standard' text and monte carlo for monospace. Very, very nice.

Offline

#12 2012-10-29 16:55:44

hadrons123
Member
From: chennai
Registered: 2011-10-07
Posts: 1,249

Re: "Clean" font?

@putte-xvi 's suggestion still works, even after 2 years.
Thanks for the solution.


LENOVO Y 580 IVYBRIDGE 660M NVIDIA
Unix is user-friendly. It just isn't promiscuous about which users it's friendly with. - Steven King

Offline

#13 2013-03-10 23:51:56

nicholascamp
Member
Registered: 2013-03-10
Posts: 1

Re: "Clean" font?

~/.fonts.conf is deprecated. Put it in ~/.config/fontconfig/conf.d
Thank you, putte-xvi! big_smile

Last edited by nicholascamp (2013-03-10 23:52:24)

Offline

Board footer

Powered by FluxBB