Bug 93

Summary: Can Freefont support be added to fonts.conf?
Product: fontconfig Reporter: Vasilis Vasaitis <vvasaitis>
Component: libraryAssignee: Keith Packard <keithp>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: high    
Version: 2.2   
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: Adds Freefont entries, removes trailing whitespace.

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

  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. :^)

Thanks,
Vasilis
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.