Bug 13 - Antialiasing and times/helvetica fonts in browsers
Summary: Antialiasing and times/helvetica fonts in browsers
Status: RESOLVED FIXED
Alias: None
Product: fontconfig
Classification: Unclassified
Component: library (show other bugs)
Version: 2.1
Hardware: All All
: lowest enhancement
Assignee: Keith Packard
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-23 04:44 UTC by Josselin Mouette
Modified: 2012-11-28 10:11 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Josselin Mouette 2003-01-23 04:44:59 UTC
You may have noticed many websites use when they want a sans-serif font :
font: arial, helvetica, sans-serif
which is wrong, because sans-serif should be replaced by the default sans serif
font on the client ans as such should be used by default. However, it is not
possible to change millions of websites, while it is possible to change the
browsers not to display helvetica when they asked to, but display the default
sans serif font. This way, the web pages rendering is consistent with the rest
of the desktop, using generally helvetica or FreeSans, and it is quite
noticeable when using antialiasing.
All major browsers for *nix (mozilla, khtml and gtkhtml) currently use
fontconfig/xft2 for rendering, so I guess it is the most convenient place to do
that enhancement. Using an alias helvetica->sans-serif (and another alias
times->serif) in fonts.conf, this is straightforward.
I suggest it (or a more elegant solution leading to the same result) could
become the default configuration for fontconfig. This is quite nit-picking, but
one of the major blames against GNU/Linux I hear frequently is that the fonts
rendering is not nice, especially in browsers.

Do you have any comments about that ?
Comment 1 Keith Packard 2003-01-23 18:08:20 UTC
You can easily set up your configuration to do this.  I've added stuff to the
config file to make this a bit easier.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.