diff --git a/Makefile.am b/Makefile.am index cf90617..1ebb869 100644 --- a/Makefile.am +++ b/Makefile.am @@ -23,7 +23,7 @@ DOCSRC=@DOCSRC@ SUBDIRS=fontconfig fc-case fc-lang fc-glyphname fc-arch src \ - fc-cache fc-cat fc-list fc-match conf.d $(DOCSRC) test + fc-cache fc-cat fc-list fc-match conf.avail conf.d $(DOCSRC) test EXTRA_DIST = \ fontconfig.pc.in \ diff --git a/conf.avail/10-urw-aliases.conf b/conf.avail/10-urw-aliases.conf new file mode 100644 index 0000000..23cbc09 --- /dev/null +++ b/conf.avail/10-urw-aliases.conf @@ -0,0 +1,47 @@ + + + Avant Garde + URW Gothic L + + + Bookman + URW Bookman L + + + Courier + Nimbus Mono L + + + Helvetica + Nimbus Sans L + + + New Century Schoolbook + Century Schoolbook L + + + Palatino + URW Palladio L + + + Times + Nimbus Roman No9 L + + + Zapf Chancery + URW Chancery L + + + Zapf Dingbats + Dingbats + + + + Symbol + + + Standard Symbols L + + diff --git a/conf.avail/15-amt-aliases.conf b/conf.avail/15-amt-aliases.conf new file mode 100644 index 0000000..ba73638 --- /dev/null +++ b/conf.avail/15-amt-aliases.conf @@ -0,0 +1,16 @@ + + + Times New Roman + Thorndale AMT + + + Arial + Albany AMT + + + Courier New + Cumberland AMT + diff --git a/conf.avail/20-fix-globaladvance.conf b/conf.avail/20-fix-globaladvance.conf new file mode 100644 index 0000000..8d76d32 --- /dev/null +++ b/conf.avail/20-fix-globaladvance.conf @@ -0,0 +1,24 @@ + + + GulimChe + false + + + + DotumChe + false + + + + BatangChe + false + + + + GungsuhChe + false + diff --git a/conf.avail/30-unhint-small-vera.conf b/conf.avail/30-unhint-small-vera.conf new file mode 100644 index 0000000..245580f --- /dev/null +++ b/conf.avail/30-unhint-small-vera.conf @@ -0,0 +1,44 @@ + + + + + Bitstream Vera Sans + + + 7.5 + + + false + + + + + + Bitstream Vera Serif + + + 7.5 + + + false + + + + + + Bitstream Vera Sans Mono + + + 7.5 + + + false + + + diff --git a/conf.avail/50-user.conf b/conf.avail/50-user.conf new file mode 100644 index 0000000..9a38a40 --- /dev/null +++ b/conf.avail/50-user.conf @@ -0,0 +1,7 @@ + + + + + + ~/.fonts.conf + diff --git a/conf.avail/51-local.conf b/conf.avail/51-local.conf new file mode 100644 index 0000000..d35046e --- /dev/null +++ b/conf.avail/51-local.conf @@ -0,0 +1,7 @@ + + + + + + local.conf + diff --git a/conf.d/10LohitGujarati.conf b/conf.avail/60-LohitGujarati.conf similarity index 100% rename from conf.d/10LohitGujarati.conf rename to conf.avail/60-LohitGujarati.conf diff --git a/conf.d/60-delicious.conf b/conf.avail/60-delicious.conf similarity index 100% rename from conf.d/60-delicious.conf rename to conf.avail/60-delicious.conf diff --git a/conf.d/10-fonts-persian.conf b/conf.avail/60-fonts-persian.conf similarity index 100% rename from conf.d/10-fonts-persian.conf rename to conf.avail/60-fonts-persian.conf diff --git a/conf.d/no-sub-pixel.conf b/conf.avail/70-no-sub-pixel.conf similarity index 100% rename from conf.d/no-sub-pixel.conf rename to conf.avail/70-no-sub-pixel.conf diff --git a/conf.avail/70-sub-pixel-bgr.conf b/conf.avail/70-sub-pixel-bgr.conf new file mode 100644 index 0000000..2aba95e --- /dev/null +++ b/conf.avail/70-sub-pixel-bgr.conf @@ -0,0 +1,9 @@ + + + + + + + bgr + + diff --git a/conf.d/sub-pixel.conf b/conf.avail/70-sub-pixel-rgb.conf similarity index 100% rename from conf.d/sub-pixel.conf rename to conf.avail/70-sub-pixel-rgb.conf diff --git a/conf.avail/70-sub-pixel-vbgr.conf b/conf.avail/70-sub-pixel-vbgr.conf new file mode 100644 index 0000000..0cdad2a --- /dev/null +++ b/conf.avail/70-sub-pixel-vbgr.conf @@ -0,0 +1,9 @@ + + + + + + + vbgr + + diff --git a/conf.avail/70-sub-pixel-vrgb.conf b/conf.avail/70-sub-pixel-vrgb.conf new file mode 100644 index 0000000..60239e0 --- /dev/null +++ b/conf.avail/70-sub-pixel-vrgb.conf @@ -0,0 +1,9 @@ + + + + + + + vrgb + + diff --git a/conf.d/autohint.conf b/conf.avail/73-autohint.conf similarity index 100% rename from conf.d/autohint.conf rename to conf.avail/73-autohint.conf diff --git a/conf.d/unhinted.conf b/conf.avail/73-unhinted.conf similarity index 100% rename from conf.d/unhinted.conf rename to conf.avail/73-unhinted.conf diff --git a/conf.d/no-bitmaps.conf b/conf.avail/76-no-bitmaps.conf similarity index 100% rename from conf.d/no-bitmaps.conf rename to conf.avail/76-no-bitmaps.conf diff --git a/conf.d/yes-bitmaps.conf b/conf.avail/76-yes-bitmaps.conf similarity index 100% rename from conf.d/yes-bitmaps.conf rename to conf.avail/76-yes-bitmaps.conf diff --git a/conf.avail/Makefile.am b/conf.avail/Makefile.am new file mode 100644 index 0000000..a999dd6 --- /dev/null +++ b/conf.avail/Makefile.am @@ -0,0 +1,49 @@ +# +# $Id$ +# +# Copyright © 2005 Keith Packard +# +# Permission to use, copy, modify, distribute, and sell this software and its +# documentation for any purpose is hereby granted without fee, provided that +# the above copyright notice appear in all copies and that both that +# copyright notice and this permission notice appear in supporting +# documentation, and that the name of Keith Packard not be used in +# advertising or publicity pertaining to distribution of the software without +# specific, written prior permission. Keith Packard makes no +# representations about the suitability of this software for any purpose. It +# is provided "as is" without express or implied warranty. +# +# KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, +# INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO +# EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR +# CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, +# DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER +# TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +# PERFORMANCE OF THIS SOFTWARE. + +CONF_FILES = \ + 10-urw-aliases.conf \ + 15-amt-aliases.conf \ + 20-fix-globaladvance.conf \ + 30-unhint-small-vera.conf \ + 50-user.conf \ + 51-local.conf \ + 60-LohitGujarati.conf \ + 60-delicious.conf \ + 60-fonts-persian.conf \ + 70-no-sub-pixel.conf \ + 70-sub-pixel-bgr.conf \ + 70-sub-pixel-rgb.conf \ + 70-sub-pixel-vbgr.conf \ + 70-sub-pixel-vrgb.conf \ + 73-autohint.conf \ + 73-unhinted.conf \ + 76-no-bitmaps.conf \ + 76-yes-bitmaps.conf + +EXTRA_DIST = $(CONF_FILES) + +configdir=$(CONFDIR) +confavaildir=$(configdir)/conf.avail + +confavail_DATA=$(CONF_FILES) diff --git a/conf.d/README b/conf.avail/README similarity index 100% rename from conf.d/README rename to conf.avail/README diff --git a/conf.d/Makefile.am b/conf.d/Makefile.am index 98e8dbd..85d7135 100644 --- a/conf.d/Makefile.am +++ b/conf.d/Makefile.am @@ -21,20 +21,32 @@ # TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR # PERFORMANCE OF THIS SOFTWARE. -CONF_FILES = \ - 10LohitGujarati.conf \ - 10-fonts-persian.conf \ +CONF_LINKS = \ + 10-urw-aliases.conf \ + 15-amt-aliases.conf \ + 20-fix-globaladvance.conf \ + 30-unhint-small-vera.conf \ + 50-user.conf \ + 51-local.conf \ + 60-LohitGujarati.conf \ 60-delicious.conf \ - autohint.conf \ - no-bitmaps.conf \ - no-sub-pixel.conf \ - sub-pixel.conf \ - unhinted.conf \ - yes-bitmaps.conf + 60-fonts-persian.conf -EXTRA_DIST = $(CONF_FILES) +EXTRA_DIST = $(CONF_LINKS) configdir=$(CONFDIR) confddir=$(configdir)/conf.d -confd_DATA=$(CONF_FILES) +install: + mkdir -p ${DESTDIR}/${confddir} + ln -s ../conf.avail/10-urw-aliases.conf ${DESTDIR}/${confddir} + ln -s ../conf.avail/15-amt-aliases.conf ${DESTDIR}/${confddir} + ln -s ../conf.avail/20-fix-globaladvance.conf ${DESTDIR}/${confddir} + ln -s ../conf.avail/30-unhint-small-vera.conf ${DESTDIR}/${confddir} + ln -s ../conf.avail/50-user.conf ${DESTDIR}/${confddir} + ln -s ../conf.avail/51-local.conf ${DESTDIR}/${confddir} + ln -s ../conf.avail/60-LohitGujarati.conf ${DESTDIR}/${confddir} + ln -s ../conf.avail/60-delicious.conf ${DESTDIR}/${confddir} + ln -s ../conf.avail/60-fonts-persian.conf ${DESTDIR}/${confddir} + + diff --git a/configure.in b/configure.in index 3226dd0..d8afffb 100644 --- a/configure.in +++ b/configure.in @@ -563,6 +563,7 @@ fc-case/Makefile fc-arch/Makefile src/Makefile src/fontconfig.def +conf.avail/Makefile conf.d/Makefile fc-cache/Makefile fc-cat/Makefile diff --git a/fonts.conf.in b/fonts.conf.in index adc44e8..d70800e 100644 --- a/fonts.conf.in +++ b/fonts.conf.in @@ -149,149 +149,10 @@ - - - Avant Garde - URW Gothic L - - - Bookman - URW Bookman L - - - Courier - Nimbus Mono L - - - Helvetica - Nimbus Sans L - - - New Century Schoolbook - Century Schoolbook L - - - Palatino - URW Palladio L - - - Times - Nimbus Roman No9 L - - - Zapf Chancery - URW Chancery L - - - Zapf Dingbats - Dingbats - - - - Symbol - - - Standard Symbols L - - - - - Times New Roman - Thorndale AMT - - - Arial - Albany AMT - - - Courier New - Cumberland AMT - - - - - GulimChe - false - - - - DotumChe - false - - - - BatangChe - false - - - - GungsuhChe - false - - - - - - - Bitstream Vera Sans - - - 7.5 - - - false - - - - - - Bitstream Vera Serif - - - 7.5 - - - false - - - - - - Bitstream Vera Sans Mono - - - 7.5 - - - false - - - - - ~/.fonts.conf - conf.d - local.conf