Commit Graph

50 Commits

Author SHA1 Message Date
Akira TAGOH e181ab4de5 Bug 29341 - Make some fontconfig paths configurable
Add configure options to set the directory to be installed:
  --with-templatedir for the configuration files a.k.a.
    /etc/fonts/conf.avail
  --with-baseconfigdir for fonts.conf etc a.k.a. /etc/fonts
  --with-configdir for the active configuration files a.k.a.
    /etc/fonts/conf.d
  --with-xmldir for fonts.dtd etc

and the default path for templatedir is changed to
${datadir}/fontconfig/conf.avail
2012-04-05 12:23:49 +09:00
Keith Packard 369b6b5bfb Add BRAILLE PATTERN BLANK to list of blank glyphs.
Braille pattern blank is often imaged as a blank glyph.
2007-10-24 21:59:33 -07:00
Keith Packard 007cae508c Move <cachedir> elements to the end of fonts.conf.
This allows users to select alternate directories for cache files, ahead of
the 'standard' directories.
2007-10-24 21:52:56 -07:00
Keith Packard 6c5619a085 Split much of the configuration into separate files. Renumber files
Most of the remaining elements in fonts.conf have been moved to separate
files. The numbering scheme for conf.d files has been documented in the
README and the files have been renumbered. Config files have been
validated against the DTD and a few minor errors fixed.
2006-09-09 21:32:14 -07:00
James Cloos c3425fa671 Move some section from fonts.conf into conf.avail files
URL aliases, AMT aliases, Che globaladvance fixes and Vera <8pt unhinting
sections all moved into conf.avail, to load before user and local confs.
2006-09-04 15:47:52 -04:00
James Cloos d55620c906 Replace load of conf.d in fonts.conf.in 2006-09-04 15:32:37 -04:00
James Cloos 57b42cef2a Move user and local conf file loading into conf.avail files 2006-09-04 01:33:09 -04:00
Keith Packard 813258dc8e Move Free family names to bottom of respective aliases. (bug 7429)
The FreeSans, FreeSerif and FreeMono fonts cover a large number of
languages, but are of generally poor quality. Moving these after fonts which
cover specific languages but which have higher quality glyphs should improve
font selection.
2006-09-01 22:08:41 -07:00
Keith Packard db970d3596 Prefer Bitstream Vera to DejaVu families.
DejaVu is a modified version of Bitstream Vera that covers significantly
more languages, but does so with spotty quality, lacking hinting for many
glyphs, especially for the synthesized serif oblique face. Use Bitstream
Vera (where installed).
2006-09-01 21:12:44 -07:00
Keith Packard d2f786849c Write caches to first directory with permission. Valid cache in FcDirCacheOpen.
Previous policy was to attempt to update the cache in place and bail if that
didn't work. Now, search for the first writable directory and place the
cache file there instead. Furthermore, on startup, search directory list for
valid cache files instead of bailing if the first found cache file wasn't
valid.
2006-08-27 17:04:01 -07:00
Patrick Lam 7410e40bd9 2006-08-04 Keith Packard (keithp@keithp.com) reviewed by: plam
Make cache directories configurable. Simplify and correct some code which
    deals with per-directory caches.
2006-08-04 16:13:00 +00:00
Patrick Lam a77572948e Give the 'Standard Symbols L' match a strong (vs. weak) binding. 2006-04-15 00:25:20 +00:00
Patrick Lam b43dbbdc92 Actually, just add URW fonts as aliases for all of the PostScript fonts.
(reported by Miguel Rodriguez).
2006-04-14 15:40:58 +00:00
Patrick Lam ca2556f263 Add an alias 'Standard Symbols L' for 'Symbol'. 2006-04-14 14:51:22 +00:00
Patrick Lam b17cf498be Fix multiarch support (don't destroy multiarch files!)
Require pkg-config. (Thanks Behdad; better solution wanted for libxml2
    detection!)
reviewed by: plam
2006-03-24 15:21:10 +00:00
Patrick Lam efa9f2bd07 Change the rule for artificial emboldening in fonts.conf.in. This enables
the support for artificial emboldening included in cairo.
reviewed by: plam
2005-11-02 15:57:36 +00:00
Patrick Lam 720298e773 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether to load
embedded bitmaps or not.
reviewed by: plam
2005-10-26 06:34:29 +00:00
Patrick Lam 328929f5ea Modify config file to use Greek fonts before Asian fonts with Greek glyphs.
reviewed by: plam & keithp
2005-10-05 19:38:40 +00:00
Keith Packard 716ac8b803 Don't force bitmap font enable in default configuration; allows users to
override this in ~/.fonts.conf
Updated translations
Destroy font configuration on exit to help valgrind
Use own transcoding routines in preference to iconv which appears to have
    leaks in some translators. Call iconv_close after using iconv (oops).
Prefer unicode encoding of Euro char as some fonts mis-encode Euro in other
    ones.
Must fetch bitmap glyphs to get width values to check for
    monospace/dual-width fonts.
2005-04-21 19:03:53 +00:00
Keith Packard 8759822e8f Update blanks list (Closes bug 86) 2005-01-13 18:10:42 +00:00
Keith Packard 2ba729ed3b Reorder utility programs to make sure fc-case is run before fc-lang as
fc-lang uses fcstr.c which uses fccase.h
Fix broken XML
2004-12-29 09:57:49 +00:00
Keith Packard 192296d852 Adopt some RedHat suggestions for standard font configuration.
Add new helper program 'fc-case' to construct case folding tables from
    standard Unicode CaseFolding.txt file
Re-implement case insensitive functions with Unicode aware versions
    (including full case folding mappings)
2004-12-29 09:15:17 +00:00
Keith Packard 46a10637cd Configuration changes to request synthetic emboldening of fonts. The actual
emboldening code will live in Xft.
reviewed by: Keith Packard <keithp@keithp.com>
2004-12-10 16:48:08 +00:00
Keith Packard c5a0b541df Just remove the FC_FONTDATE -- it has locale issues and annoys redhat
multi-arch installs. Now that all X fonts are included without
    prejudice, the chances of the date being at all interesting are rather
    limited. Bug #415.
Add copyright and license
2004-12-05 05:49:20 +00:00
Keith Packard 2d9c79c049 Change default set of fonts to include all of /usr/X11R6/lib/X11/fonts (or
wherever the X fonts are located).
Document new <include>directory-name</include> semantics
add <include ignore_missing="yes">conf.d</include>
Add selectfont to ignore bitmap fonts, add comment for selectfont which
    accepts bitmap fonts.
Allow <include> configuration elements to reference directories. Parse and
    load all files of the form [0-9]* in sorted order.
2004-12-05 05:03:52 +00:00
Keith Packard e5871b5c5b Add FreeFont entries, fix whitespace in fonts.conf.in (bug 93, from
vvas@hal.csd.auth.gr (Vasilis Vasaitis))
2003-06-17 17:31:16 +00:00
Keith Packard 6d3a90a41c (Bug 85) add support for culmus fonts 2003-05-31 21:07:01 +00:00
Keith Packard b1e98ed99e Add Vera support to default configuration 2003-04-16 22:04:42 +00:00
Keith Packard ef82cce1d5 update copyright years 2003-04-04 20:17:40 +00:00
Keith Packard ddde1797a9 strtod under some locales requires digits before the decimal 2003-03-20 02:01:01 +00:00
Keith Packard df43986cdc Disable globaladvance for batang fonts 2003-02-27 08:12:13 +00:00
Keith Packard cc168fa668 Disable globaladvance for gulim fonts 2003-02-27 08:08:09 +00:00
Keith Packard 20fa60c9ae Switch to automake 2003-02-24 17:18:50 +00:00
Keith Packard b7a2e1e27b Add prefer_outline hacks to replace bitmap fonts with equivalent outlines 2003-02-12 18:23:03 +00:00
Keith Packard 302e07f11e Emphasize that fonts.conf isnt the right place for local configuration 2003-02-07 00:14:31 +00:00
Keith Packard 3d72cadda1 Bug #4 The last entry for the terminator should not be 0xfffa, but 0xfffb. 2003-01-28 21:28:20 +00:00
Keith Packard 0ce819b609 Change comments a bit in fonts.conf.in 2002-10-03 22:06:27 +00:00
Keith Packard ce50587c2b Add a few more permissable blank glyphs 2002-09-26 00:13:39 +00:00
Keith Packard 9cc935765e Add a bunch more blank glyphs, plus label existing blanks with official
unicode names
2002-09-07 19:43:41 +00:00
Keith Packard 10bac9b53f Found a few more blank glyphs to add 2002-09-07 17:30:18 +00:00
Keith Packard f9ad97b0d4 Add more blank glyphs to default config 2002-09-07 16:50:16 +00:00
Keith Packard fa244f3d88 Various config changes plus a couple of optimizations from Owen 2002-08-19 19:32:05 +00:00
Keith Packard 938bc63358 Fix weird first/not-first lameness in font matches, replacing with target
qualifiers on test elements. Update library manual page.
2002-08-11 18:11:04 +00:00
Keith Packard a6531d8cba Always install fonts.conf and fonts.dtd, moving any existing fonts.conf to
fonts.conf.bak. Add ~/.fonts to default font directories and add some
    useful comments to fonts.conf
2002-08-01 16:17:33 +00:00
Keith Packard 6fff2cda0a Add binding property to edit element 2002-07-31 01:36:37 +00:00
Keith Packard 899e352656 Add a few more common font families to the default configuration 2002-07-06 23:46:58 +00:00
Keith Packard c689ec2291 Add slanting for fonts without oblique/italic varient. Fix matching code to
make this work
2002-06-19 21:32:51 +00:00
Keith Packard 06a48f2073 Add a few aliases suggested by Owen and Mike 2002-06-19 06:31:46 +00:00
Keith Packard fb9545b1ba Fix xmkmf build process for fontconfig 2002-05-21 17:08:42 +00:00
Keith Packard 24330d27f8 Initial revision 2002-02-14 23:34:13 +00:00