Commit Graph

124 Commits

Author SHA1 Message Date
Akira TAGOH 104a2af0dd Bug 63399 - Add default aliases for Georgia, Garamond, Palatino Linotype, Trebuchet MS 2013-08-21 13:12:41 +09:00
Akira TAGOH 010c973df5 Bug 68340 - More metric compat fonts 2013-08-21 13:12:22 +09:00
Akira TAGOH 93137252cf Bug 63452 - conf.d/README outdated
reflect correct path where is configured at the build time.
2013-05-13 12:14:29 +09:00
Akira TAGOH 1023049767 Fix a typo 2013-03-01 18:41:27 +09:00
Akira TAGOH db69bf6ecd Bug 60783 - Add Liberation Sans Narrow to 30-metric-aliases.conf
Add Liberation Sans Narrow as an alias for Arial Narrow
2013-03-01 18:31:01 +09:00
Akira TAGOH 2c69625574 Bug 60748 - broken conf.d/10-autohint.conf and conf.d/10-unhinted.conf
Move the target of recipes to the "pattern" from the "font".
This is to ensure the targeted objects is updated by them
prior to FcDefaultSubstitute() so that it can adds the default
values properly.
2013-02-18 13:17:53 +09:00
Behdad Esfahbod 1c4c4978ad Oops, add the actual file 2013-01-07 17:59:17 -06:00
Behdad Esfahbod dc11dd581f Add 10-scale-bitmap-fonts.conf and enable by default 2013-01-07 16:41:50 -06:00
Behdad Esfahbod ed41b23765 Switch .gitignore to git.mk 2013-01-02 00:36:12 -06:00
Akira TAGOH 9231545c6b Do not show the deprecation warning if it is a symlink 2012-12-05 18:13:25 +09:00
Akira TAGOH 376fc9d22f Bug 57286 - Remove UnBatang and Baekmuk Batang from monospace in 65-nonlatin.conf
Those two fonts are serif fonts. shouldn't be added to monospace.
2012-11-20 20:09:10 +09:00
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
James Cloos 164e267d28 Make conf.avail and conf.d work
Add conf.avail to configure.in

Add install: target to conf.d/Makefile.am to
create the initial symlinks to conf.avail
2006-09-09 01:24:08 -04:00
James Cloos 709f32438d Move files from conf.d to conf.avail
All of the files in conf.d are now in conf.avail
Makefile.am is updated to reflect the change
2006-09-04 01:21:55 -04:00
Keith Packard 34227592c2 Remove all .cvsignore files 2006-09-03 16:27:09 -07:00
Keith Packard 2a5ea80023 Oops; missed the 60-delicious.conf file.
This file fixes Delicious Heavy fonts to have the correct weight value.
2006-09-02 23:10:59 -07:00
Keith Packard c2c6976d1a Add FcMatchScan to resolve Delicious font matching issues (bug #6769)
The Delicious family includes one named Delicious Heavy, a bold variant
which is unfortunately marked as having normal weight. Because the family
name is 'Delicious', fontconfig accidentally selects this font instead of
the normal weight variant. The fix here rewrites the scanned data by running
the scanned pattern through a new substitution sequence tagged with
<match target=scan>; a sample for the Delicious family is included to
demonstrate how it works (and fix Delicious at the same time).

Also added was a new match predicate -- the 'decorative' predicate which is
automatically detected in fonts by searching style names for key decorative
phrases like SmallCaps, Shadow, Embosed and Antiqua. Suggestions for
additional decorative key words are welcome. This should have little effect
on font matching except when two fonts share the same characteristics except
for this value.
2006-09-02 17:52:12 -07:00
Patrick Lam e01166d52a Add a configuration file that disables hinting for the Lohit Gujarati font
(since the hinting distort some glyphs quite badly).
reviewed by: keithp
2006-03-08 19:16:10 +00:00
Patrick Lam 639475e873 Remove unconditional emboldening (per Behdad's instructions).
Add @s to hide some echos.
2006-02-24 18:52:17 +00:00
Patrick Lam 9fb0e0743e Use embeddedbitmap rather than rh_prefer_bitmap. 2006-02-21 15:53:43 +00:00
Patrick Lam 6f767cec49 Restore code to skip over PCF fonts that have no encoded characters. (We
guess that a font is PCF by presence of the PIXEL_SIZE BDF property.)
2005-12-20 20:35:47 +00:00
Patrick Lam 2c6fead73f Add config file for Persian fonts from Sharif FarsiWeb, Inc.
reviewed by: plam
2005-12-01 06:27:07 +00:00
Keith Packard 683dc3c476 Move debian-specific conf file examples upstream.
Sub-pixel configuration examples must smash subpixel value as Xft always
    sets it from X.
Change sub-pixel rendering debconf descriptions from Enable/Disable to
    Always/Never.
2005-03-03 06:20:57 +00:00
Keith Packard dc2e06ab07 Ignore more build detritus
Add debian package construction stuff.
Update to newer versions of these tools
Get library manuals to build again (we love automake).
Update debian build system to switch maintainers and deal with 2.3
    functionality
2005-03-03 01:59:28 +00:00
Keith Packard 414f720281 Create prototype /etc/fonts/conf.d directory with a few sample
configuration files. Deprecate use of local.conf for local
    customizations in favor of this directory based scheme which is more
    easily integrated into installation systems.
Tag FC_EMBOLDEN as a boolean variable
2005-02-28 18:56:15 +00:00