Commit Graph

63 Commits

Author SHA1 Message Date
Akira TAGOH b7287a91fe Install config files first
Use install-data-hook instead of install-data-local.
This allows on the real installation to create a symlink with
the broken ln command though, still not work with the pseudo
installation by using DESTDIR say.
2012-07-23 13:59:16 +09:00
Akira TAGOH b447fc5d52 Bug 50835 - Deprecate FC_GLOBAL_ADVANCE
FC_GLOBAL_ADVANCE is deprecated. this flag is simply ignored on
freetype 2.4.5 or later.
2012-06-11 23:28:55 +09:00
Akira TAGOH 8c255fb185 Bug 20411 - fontconfig doesn't match FreeDesktop directories specs
Allows reading configuration files, fonts and cache files from
the directories where the XDG Base Directory Specification defines.

the old directories are still in the configuration files for
the backward compatibility.
2012-05-18 11:12:50 +09:00
Akira TAGOH bc4517d8e5 Bug 19128 - Handling whitespace in aliases
Add a new attribute `ignore-blanks' to <test>.
When this is set to "true", any blanks in the string will be ignored
on comparison.  This takes effects for compare="eq" or "not_eq" only.

Also changed the behavior of the comparison on <alias> too.
2012-05-14 12:06:12 +09:00
Akira TAGOH 25ccc3f3d2 Bug 47721 - Add ChromeOS fonts to 30-metric-aliases.conf 2012-04-23 11:16:02 +09:00
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
Akira TAGOH 1aaf8b773d Bug 17722 - Don't overwrite user's configurations in default config
Use "append" to avoid overwriting the user configuration.
This presumes most clients may takes care of the first value only.
2012-03-26 10:58:18 +09:00
Akira TAGOH 900675d0b0 Bug 47703 - SimSun default family
40-nonlatin.conf: SimSun should be serif but not sans-serif.

http://www.microsoft.com/typography/fonts/family.aspx?FID=37

Patch from Petr Gajdos
2012-03-22 19:57:47 +09:00
Akira TAGOH 93460f93e9 Fix a build issue due to the use of non-portable variables
$< isn't supported in BSD make say. $(RM) is pre-defined in GNU make
though, not in BSD make say. so changed to check on configure if it's
pre-defined by make, otherwise set the appropriate command to $(RM).

This would be a workaround until it has the certain pre-defined value.
2012-03-16 16:34:37 +09:00
Akira TAGOH 254232f47e Bug 19128 - Handling whitespace in aliases
Add a workaround alias for Dingbats.
2012-03-07 18:16:35 +09:00
Akira TAGOH a3ff1f07f8 Bug 27385 - lcdfilter settings for freetype-2.3.12 not available in fontconfig-2.8.0
Add config files for FT_LcdFilter options.

Patch from Robin Johnson.
2012-02-23 15:23:23 +09:00
Akira TAGOH 2b010e46e6 Bug 44826 - <alias> must contain only a single <family>
Fix invalid syntax around alias elements in 30-metric-aliases.conf
40-nonlatin.conf and 45-latin.conf.

Patch from lolilolicon
2012-02-21 16:23:22 +09:00
Akira TAGOH 54dd481512 Get rid of the unexpected family name
UmePlus P Gothic isn't a serif font.
2012-02-21 15:43:59 +09:00
MINAMI Hirokazu 1c13fee11a Bug 43406 - typo of Japanese font name in conf.d/65-nonlatin.conf
Fix a typo.

Signed-off-by: Akira TAGOH <akira@tagoh.org>
2012-02-21 15:43:59 +09:00
Jinkyu Yi 8c58dc2768 Bug 42423 - make default Korean font from Un to Nanum
Update 40-nonlatin.conf and 65-nonlatin.conf for Nanum korean fonts.

Signed-off-by: Akira TAGOH <akira@tagoh.org>
2012-02-21 15:32:42 +09:00
Behdad Esfahbod 5aaf466d38 Cleanup copyright notices to replace "Keith Packard" with "the author(s)" 2010-11-10 16:45:42 -05:00
Behdad Esfahbod c0ffd7733a Add Inconsolata to monospace config (#22710) 2009-07-10 18:09:42 +01:00
Behdad Esfahbod 52742ff86b Replace spaces with tabs in conf files 2009-06-28 13:49:09 -04:00
Behdad Esfahbod 0f11354877 Revert "[conf] Disable hinting when emboldening (#19904)" (#20599)
This reverts commit 10609af4aa.
Apparently disabling hinting can cause worse rendering with certain
fonts.  This is better handled on a per font basis.
2009-06-24 13:52:09 -04:00
Behdad Esfahbod 3074a73b41 Replace 'KEITH PACKARD' with 'THE AUTHOR(S)' in license text in all files 2009-03-13 17:59:28 -04:00
Mike FABIAN 10609af4aa [conf] Disable hinting when emboldening (#19904)
Hinting will be done before Embolden in freetype2,
but in such case, Embolden will get wrong result
on some glyph contours after applying hinting.
Actually, hinting should be done after embolden, but we can't
fix it in current freetype2. So as a workaround, just turn off
hinting if we want to do embolden.
2009-02-15 13:40:23 -08:00
Behdad Esfahbod 627dd913cf [65-fonts-persian.conf] Set foundry in target=scan instead of target=font 2009-02-13 16:54:03 -08:00
Rahul Bhalerao 4c209d5f0c Add config for new Indic fonts (bug #17856) 2009-02-13 16:54:02 -08:00
Behdad Esfahbod ee2463fbcb Cleanup symlinks in "make uninstall" (bug #18885) 2009-02-13 16:54:01 -08:00
Behdad Esfahbod df243f93be Add WenQuanYi fonts to default conf (#17262, from Mandriva) 2009-02-13 16:53:58 -08:00
Behdad Esfahbod e690fbb20e Get rid of $Id$ tags 2009-02-13 16:53:57 -08:00
Behdad Esfahbod 43291847c5 Add ~/.fonts.conf.d to default config (#17100) 2009-02-13 16:53:55 -08:00
Behdad Esfahbod 4f468454d8 Update Thai default families (#16223)
Patch from Theppitak Karoonboonyanan
2009-02-13 16:53:55 -08:00
Behdad Esfahbod a572f547fd Persian conf update. (bug 16066). 2008-05-24 15:48:00 -07:00
Keith Packard 8d0139b0e6 Freetype 2.3.5 (2007-jul-02) fixes indic font hinting. re-enable (bug 15822)
Autohinting for Indic fonts has been disabled since freetype could not handle
it properly. But since freetype-2.3.5, the hinting problems for indic fonts
have been fixed. Thus this is a request to enable the autohinting in
fontconfig again for all the indic fonts.
2008-05-04 19:08:31 -07:00
Changwoo Ryu ae6fac0802 Korean font in the default config - replacing baekmuk with un (bug 13569)
I propose to replace the default Baekmuk Korean fonts with Un fonts.

Some people don't agree but most Korean people prefer Un fonts to Baekmuk
ones.  Un fonts just look better, at least in the most common Linux desktops
(antialiased, GNOME or KDE, high resolution).
2008-05-03 19:39:56 -07:00
Frederic Crozat c26344ecfc Merge some of Mandriva configuration into upstream configuration. Bug 13247
This is merging some parts of Mandriva fontconfig changes, mostly adding and
documenting fonts to common aliases.
2008-05-03 19:26:09 -07:00
Keith Packard 8415442f9b Add some sample cursive and fantasy families. 2008-05-03 18:04:32 -07:00
Keith Packard 94d4f51d85 Distribute khmer font aliases 2008-01-10 10:43:47 -08:00
Keith Packard 6e5d2cb931 Move conf.avail/README to conf.d/README (bug 13392)
Because conf.d is where most people look first.  And the comment at the top
of the README file says conf.d/README too.
2007-11-25 16:35:55 -08:00
Behdad Esfahbod a504f6b539 Simplify/improve 30-metric-aliases.conf 2007-11-05 18:12:51 -05:00
Behdad Esfahbod cbff442c69 Remove list of available conf files from README.
It was redundant and out-dated.
2007-11-05 17:07:36 -05:00
Behdad Esfahbod 0294bda480 Fix documented conf-file naming format in README 2007-11-05 17:05:36 -05:00
Behdad Esfahbod 07d04da76c Remove 25-unhint-nonlatin.conf from default configuration by not linking it. 2007-11-05 17:01:44 -05:00
Behdad Esfahbod 9bac30859b Oops, fix Makefile.am. 2007-11-05 16:47:05 -05:00
Behdad Esfahbod 93b4049c9a Remove 20-lohit-gujarati.conf. It's covered by 25-unhint-nonlatin.conf now. 2007-11-05 16:44:43 -05:00
Behdad Esfahbod 7465091fa9 Remove redundant/obsolete comments from conf files.
Conf files had an initial comment mentioning the files' name.
This was outdated and wrong in most cases.  There's no real use in that.
2007-11-05 16:43:14 -05:00
Behdad Esfahbod 531a143858 Use binding="same" in 30-urw-aliases.conf and remove duplicate entries.
Times, Helvetical, and Courier are already handled in 30-metric-aliases.conf.
Remove them here and add a comment instead.
2007-11-05 16:40:25 -05:00
Behdad Esfahbod 4b51f173c9 Split 40-generic.conf into 40-nonlatin.conf and 45-latin.conf 2007-11-05 16:37:11 -05:00
Behdad Esfahbod 39968fb223 Add/update config files from Fedora. 2007-11-05 16:14:35 -05:00
Behdad Esfahbod d0e2a0f3a3 Port fonts-persian.conf to new alias syntax with binding="same"
Signed-off-by: Keith Packard <keithp@koto.keithp.com>
2007-10-26 09:56:33 -07:00
Hideki Yamane fa9a7448d8 Handle Japanese fonts better. (debian bug #435971)
Add some commonly available Japanese fonts to the standard aliases.
2007-10-18 05:17:36 -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
Keith Packard 248b5903b7 Rename conf.avail to conf.d 2006-09-09 19:37:22 -07:00
Keith Packard 9e292c889f Add XML headers to new conf files. Move link make commands to conf.avail dir
Fix up new config fragments to include XML headers as required.
Move symbolic link installation to conf.avail directory to centralize both
steps.
2006-09-09 16:52:21 -07:00