Bug 93 - Can Freefont support be added to fonts.conf?
Summary: Can Freefont support be added to fonts.conf?
Alias: None
Product: fontconfig
Classification: Unclassified
Component: library (show other bugs)
Version: 2.2
Hardware: All Linux (All)
: high normal
Assignee: Keith Packard
QA Contact:
Depends on:
Reported: 2003-06-09 13:03 UTC by Vasilis Vasaitis
Modified: 2003-06-16 17:31 UTC (History)
0 users

See Also:
i915 platform:
i915 features:

Adds Freefont entries, removes trailing whitespace. (3.16 KB, patch)
2003-06-09 13:06 UTC, Vasilis Vasaitis
Details | Splinter Review

Description Vasilis Vasaitis 2003-06-09 13:03:38 UTC

  Even though the current font selection in fonts.conf for the default families
(serif, sans-serif and monospace) should be adequate in most cases, sometimes it
can fail to find a reasonable font. One example that I care about is the greek
language. If the system administrator hasn't installed, or isn't willing to
install because of license issues, the non-free Microsoft fonts, fontconfig will
be unable to locate a suitable font for displaying greek.

  A good solution to this would be to add the fonts of the Freefont project to
the lists of fonts for the default family names. In particular, FreeSerif for
serif, FreeSans for sans-serif, and FreeMono for monospace. These fonts are
quite complete and good-looking for many of the simpler scripts; moreover,
they're almost the only free outline fonts available for greek, and probably for
some other languages as well.

  I'll be attaching a (trivial) patch that adds the fonts, for your convenience,
should you decide to perform this change. The fonts in question are mostly added
to the end of the relevant lists, as other, more specialised fonts are usually
preferable when available. In addition, being the nit-picker I am, the patch
also eliminates all unnecessary trailing whitespace in fonts.conf, hope you
don't mind. :^)

Comment 1 Vasilis Vasaitis 2003-06-09 13:06:11 UTC
Created attachment 48 [details] [review]
Adds Freefont entries, removes trailing whitespace.
Comment 2 Keith Packard 2003-06-17 10:31:47 UTC
Thanks for the patch.

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.