fontconfig/conf.d-readme-templatedir.patch
Petr Gajdos 347a087133 - dropped metric-arial-narrow.patch (upstreamed)
- dropped metric-croscore.patch (upstreamed)
- /etc/conf.d/55-local.conf
- tag /etc/fonts/conf.d/*.conf files as %config, not
  %config(noreplace)
- /etc/fonts/conf.d/README now mentions correct template dir
  [bnc#810034]
- revert the change from Mon May 28 11:53:08 UTC 2012 because
  hintslight implies autohinter. Rather render Liberation, DejaVu
  and Droid sans serif and serif fonts with BCI, even if it means
  thin (sometimes too much, see Liberation Sans 'R') glyphs. It
  should be readable (less blurred). I'll add fontconfig hinting
  profile in near future which will force autohinter for those
  which like more thick fonts even if sometimes more blurred.

OBS-URL: https://build.opensuse.org/package/show/M17N/fontconfig?expand=0&rev=106
2013-04-11 10:34:52 +00:00

57 lines
2.6 KiB
Diff

diff -Nupr fontconfig-2.10.92/conf.d/Makefile.am fontconfig-2.10.92.new/conf.d/Makefile.am
--- fontconfig-2.10.92/conf.d/Makefile.am 2013-01-08 07:26:17.000000000 +0100
+++ fontconfig-2.10.92.new/conf.d/Makefile.am 2013-04-11 11:17:54.829377948 +0200
@@ -78,6 +78,9 @@ template_DATA = \
80-delicious.conf \
90-synthetic.conf
+all:
+ cat README.in | sed "s|TEMPLATEDIR|$(templatedir)|" > README
+
install-data-hook:
mkdir -p $(DESTDIR)$(configdir)
@(echo cd $(DESTDIR)$(configdir); \
diff -Nupr fontconfig-2.10.92/conf.d/README fontconfig-2.10.92.new/conf.d/README
--- fontconfig-2.10.92/conf.d/README 2012-02-20 04:49:18.000000000 +0100
+++ fontconfig-2.10.92.new/conf.d/README 2013-04-11 11:17:03.550038051 +0200
@@ -2,9 +2,9 @@ conf.d/README
Each file in this directory is a fontconfig configuration file. Fontconfig
scans this directory, loading all files of the form [0-9][0-9]*.conf.
-These files are normally installed in ../conf.avail and then symlinked here,
-allowing them to be easily installed and then enabled/disabled by adjusting
-the symlinks.
+These files are normally installed in /usr/share/fontconfig/conf.avail
+and then symlinked here, allowing them to be easily installed and then
+enabled/disabled by adjusting the symlinks.
The files are loaded in numeric order, the structure of the configuration
has led to the following conventions in usage:
diff -Nupr fontconfig-2.10.92/conf.d/README.in fontconfig-2.10.92.new/conf.d/README.in
--- fontconfig-2.10.92/conf.d/README.in 1970-01-01 01:00:00.000000000 +0100
+++ fontconfig-2.10.92.new/conf.d/README.in 2013-04-11 11:16:09.780681938 +0200
@@ -0,0 +1,23 @@
+conf.d/README
+
+Each file in this directory is a fontconfig configuration file. Fontconfig
+scans this directory, loading all files of the form [0-9][0-9]*.conf.
+These files are normally installed in TEMPLATEDIR
+and then symlinked here, allowing them to be easily installed and then
+enabled/disabled by adjusting the symlinks.
+
+The files are loaded in numeric order, the structure of the configuration
+has led to the following conventions in usage:
+
+ Files begining with: Contain:
+
+ 00 through 09 Font directories
+ 10 through 19 system rendering defaults (AA, etc)
+ 20 through 29 font rendering options
+ 30 through 39 family substitution
+ 40 through 49 generic identification, map family->generic
+ 50 through 59 alternate config file loading
+ 60 through 69 generic aliases, map generic->family
+ 70 through 79 select font (adjust which fonts are available)
+ 80 through 89 match target="scan" (modify scanned patterns)
+ 90 through 99 font synthesis