MyBB Community Forums

Full Version: Suggestion: Linux-friendly font selection
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
You have something like Tahoma or Verdana for your main font that most of the text here displays in. However, if you're using a computer without the main font (for example, most Linux boxen) it will instead display in something dodgy like Times New Roman.

I recommend you tweak the font list in the CSS so it at least displays a sans-serif font in Linux (the preferred one is Luxi Sans, which comes with RH9, followed by "sans-serif", which displays nicely on older systems with awful font hinting).

My preffered "font-family" directive is:

font-family: tahoma, verdana, luxi sans, sans-serif, arial, helvetica;
I love the "Tahoma" font and I'm on Windows!

Shouldn't 'sans-serif' be the last font in the list though, as it would act as the default font if a user has none of the others?
No - on some old systems (e.g. Mandrake 8.0) sans-serif displays better than Arial or Helvetica. True Type fonts were displayed very poorly before the anti-aliasing stuff was put in X.
Ahh, I gotcha - I claim ignorance on all things Linux related!

Shy