This commit is contained in:
commit
2a1a786cdc
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
18
AppleRoman-DynaFont.patch
Normal file
18
AppleRoman-DynaFont.patch
Normal file
@ -0,0 +1,18 @@
|
||||
--- src/fcfreetype.c~ 2004-03-02 23:54:42.000000000 +0800
|
||||
+++ src/fcfreetype.c 2004-04-01 18:06:44.154517544 +0800
|
||||
@@ -1204,6 +1204,7 @@
|
||||
{ 0x007C, 0x7C }, /* VERTICAL LINE */
|
||||
{ 0x007D, 0x7D }, /* RIGHT CURLY BRACKET */
|
||||
{ 0x007E, 0x7E }, /* TILDE */
|
||||
+#if 0
|
||||
{ 0x00A0, 0xCA }, /* NO-BREAK SPACE */
|
||||
{ 0x00A1, 0xC1 }, /* INVERTED EXCLAMATION MARK */
|
||||
{ 0x00A2, 0xA2 }, /* CENT SIGN */
|
||||
@@ -1332,6 +1333,7 @@
|
||||
{ 0xF8FF, 0xF0 }, /* Apple logo */
|
||||
{ 0xFB01, 0xDE }, /* LATIN SMALL LIGATURE FI */
|
||||
{ 0xFB02, 0xDF }, /* LATIN SMALL LIGATURE FL */
|
||||
+#endif
|
||||
};
|
||||
|
||||
static const FcCharMap AppleRoman = {
|
12
bugzilla-128937-turn-off-embedded-bitmaps-by-default.patch
Normal file
12
bugzilla-128937-turn-off-embedded-bitmaps-by-default.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -ru fontconfig-2.3.91.20051026.orig/src/fcdefault.c fontconfig-2.3.91.20051026/src/fcdefault.c
|
||||
--- fontconfig-2.3.91.20051026.orig/src/fcdefault.c 2005-10-26 11:26:44.000000000 +0200
|
||||
+++ fontconfig-2.3.91.20051026/src/fcdefault.c 2005-10-27 15:19:10.000000000 +0200
|
||||
@@ -33,7 +33,7 @@
|
||||
{ FC_VERTICAL_LAYOUT, FcFalse }, /* FC_LOAD_VERTICAL_LAYOUT */
|
||||
{ FC_AUTOHINT, FcFalse }, /* FC_LOAD_FORCE_AUTOHINT */
|
||||
{ FC_GLOBAL_ADVANCE, FcTrue }, /* !FC_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH */
|
||||
- { FC_EMBEDDED_BITMAP, FcTrue }, /* !FC_LOAD_NO_BITMAP */
|
||||
+ { FC_EMBEDDED_BITMAP, FcFalse }, /* !FC_LOAD_NO_BITMAP */
|
||||
};
|
||||
|
||||
#define NUM_FC_BOOL_DEFAULTS (int) (sizeof FcBoolDefaults / sizeof FcBoolDefaults[0])
|
20
bugzilla-158573-turn-off-hinting-when-embolden.patch
Normal file
20
bugzilla-158573-turn-off-hinting-when-embolden.patch
Normal file
@ -0,0 +1,20 @@
|
||||
diff -ru fontconfig-2.4.1.orig/conf.d/90-synthetic.conf fontconfig-2.4.1/conf.d/90-synthetic.conf
|
||||
--- fontconfig-2.4.1.orig/conf.d/90-synthetic.conf 2006-09-11 03:18:28.000000000 +0200
|
||||
+++ fontconfig-2.4.1/conf.d/90-synthetic.conf 2006-10-16 15:58:20.000000000 +0200
|
||||
@@ -60,5 +60,16 @@
|
||||
<edit name="weight" mode="assign">
|
||||
<const>bold</const>
|
||||
</edit>
|
||||
+ <!--
|
||||
+ 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.
|
||||
+ -->
|
||||
+ <edit name="hintstyle" mode="assign">
|
||||
+ <const>hintnone</const>
|
||||
+ </edit>
|
||||
</match>
|
||||
</fontconfig>
|
21
bugzilla-160226-multiarch-cache-file-problem.patch
Normal file
21
bugzilla-160226-multiarch-cache-file-problem.patch
Normal file
@ -0,0 +1,21 @@
|
||||
diff -ru fontconfig-2.3.94.orig/src/fccache.c fontconfig-2.3.94/src/fccache.c
|
||||
--- fontconfig-2.3.94.orig/src/fccache.c 2006-03-23 13:21:50.000000000 +0100
|
||||
+++ fontconfig-2.3.94/src/fccache.c 2006-03-23 18:34:44.000000000 +0100
|
||||
@@ -206,7 +206,7 @@
|
||||
current_arch_start = FcCacheSkipToArch(cache->fd,
|
||||
current_arch_machine_name);
|
||||
if (current_arch_start < 0)
|
||||
- goto bail_and_destroy;
|
||||
+ goto bail1;
|
||||
|
||||
lseek (cache->fd, current_arch_start, SEEK_SET);
|
||||
if (!FcCacheReadString (cache->fd, candidate_arch_machine_name,
|
||||
@@ -644,6 +644,7 @@
|
||||
if (strcmp (candidate_arch, arch)==0)
|
||||
return current_arch_start;
|
||||
current_arch_start += bs;
|
||||
+ current_arch_start = FcCacheNextOffset (current_arch_start);
|
||||
}
|
||||
|
||||
return -1;
|
||||
|
98
bugzilla-179457-fix-font-file-names-for-wine.patch
Normal file
98
bugzilla-179457-fix-font-file-names-for-wine.patch
Normal file
@ -0,0 +1,98 @@
|
||||
diff -ru fontconfig-2.3.94.orig/src/fcpat.c fontconfig-2.3.94/src/fcpat.c
|
||||
--- fontconfig-2.3.94.orig/src/fcpat.c 2006-03-10 16:00:36.000000000 +0100
|
||||
+++ fontconfig-2.3.94/src/fcpat.c 2006-06-02 13:27:57.000000000 +0200
|
||||
@@ -1098,6 +1112,39 @@
|
||||
return FcPatternAdd (p, object, v, FcTrue);
|
||||
}
|
||||
|
||||
+static FcResult
|
||||
+FcPatternGetFile (const FcPattern *p, const char *object, int id, FcChar8 ** s)
|
||||
+{
|
||||
+ const char *fn, *fpath;
|
||||
+ FcChar8 *fname;
|
||||
+ int size;
|
||||
+
|
||||
+ fn = FcPatternFindFullFname(p);
|
||||
+ if (fn)
|
||||
+ {
|
||||
+ *s = (FcChar8 *) fn;
|
||||
+ return FcResultMatch;
|
||||
+ }
|
||||
+
|
||||
+ if (!p->bank)
|
||||
+ return FcResultMatch;
|
||||
+
|
||||
+ fpath = FcCacheFindBankDir (p->bank);
|
||||
+ size = strlen((char *)fpath) + 1 + strlen ((char *)*s) + 1;
|
||||
+ fname = malloc (size);
|
||||
+ if (!fname)
|
||||
+ return FcResultOutOfMemory;
|
||||
+
|
||||
+ FcMemAlloc (FC_MEM_STRING, size);
|
||||
+ strcpy ((char *)fname, (char *)fpath);
|
||||
+ strcat ((char *)fname, "/");
|
||||
+ strcat ((char *)fname, (char *)*s);
|
||||
+
|
||||
+ FcPatternAddFullFname (p, (const char *)fname);
|
||||
+ *s = (FcChar8 *)fname;
|
||||
+ return FcResultMatch;
|
||||
+}
|
||||
+
|
||||
FcResult
|
||||
FcPatternGet (const FcPattern *p, const char *object, int id, FcValue *v)
|
||||
{
|
||||
@@ -1112,6 +1159,12 @@
|
||||
if (!id)
|
||||
{
|
||||
*v = FcValueCanonicalize(&FcValueListPtrU(l)->value);
|
||||
+
|
||||
+ /* Pull the FC_FILE trick here too. */
|
||||
+ if (v->type == FcTypeString &&
|
||||
+ FcObjectToPtr(object) == FcObjectToPtr(FC_FILE))
|
||||
+ return FcPatternGetFile (p, object, id, (FcChar8 **)&(v->u.s));
|
||||
+
|
||||
return FcResultMatch;
|
||||
}
|
||||
id--;
|
||||
@@ -1175,41 +1228,6 @@
|
||||
if (v.type != FcTypeString)
|
||||
return FcResultTypeMismatch;
|
||||
|
||||
- if (FcObjectToPtr(object) == FcObjectToPtr(FC_FILE))
|
||||
- {
|
||||
- const char *fn, *fpath;
|
||||
- FcChar8 *fname;
|
||||
- int size;
|
||||
-
|
||||
- fn = FcPatternFindFullFname(p);
|
||||
- if (fn)
|
||||
- {
|
||||
- *s = (FcChar8 *) fn;
|
||||
- return FcResultMatch;
|
||||
- }
|
||||
-
|
||||
- if (!p->bank)
|
||||
- {
|
||||
- *s = (FcChar8 *) v.u.s;
|
||||
- return FcResultMatch;
|
||||
- }
|
||||
-
|
||||
- fpath = FcCacheFindBankDir (p->bank);
|
||||
- size = strlen((char*)fpath) + 1 + strlen ((char *)v.u.s) + 1;
|
||||
- fname = malloc (size);
|
||||
- if (!fname)
|
||||
- return FcResultOutOfMemory;
|
||||
-
|
||||
- FcMemAlloc (FC_MEM_STRING, size);
|
||||
- strcpy ((char *)fname, (char *)fpath);
|
||||
- strcat ((char *)fname, "/");
|
||||
- strcat ((char *)fname, (char *)v.u.s);
|
||||
-
|
||||
- FcPatternAddFullFname (p, (const char *)fname);
|
||||
- *s = (FcChar8 *)fname;
|
||||
- return FcResultMatch;
|
||||
- }
|
||||
-
|
||||
*s = (FcChar8 *) v.u.s;
|
||||
return FcResultMatch;
|
||||
}
|
14
change-magic.patch
Normal file
14
change-magic.patch
Normal file
@ -0,0 +1,14 @@
|
||||
diff -ru fontconfig-2.4.1.orig/src/fcint.h fontconfig-2.4.1/src/fcint.h
|
||||
--- fontconfig-2.4.1.orig/src/fcint.h 2006-09-15 09:06:40.000000000 +0200
|
||||
+++ fontconfig-2.4.1/src/fcint.h 2006-10-16 15:48:51.000000000 +0200
|
||||
@@ -406,8 +406,8 @@
|
||||
|
||||
#define fc_alignof(type) offsetof (struct { char c; type member; }, member)
|
||||
|
||||
-#define FC_CACHE_MAGIC_MMAP 0xFC02FC04
|
||||
-#define FC_CACHE_MAGIC_ALLOC 0xFC02FC05
|
||||
+#define FC_CACHE_MAGIC_MMAP 0xFC02FC04
|
||||
+#define FC_CACHE_MAGIC_ALLOC 0xFC02FC05
|
||||
#define FC_CACHE_CONTENT_VERSION 1
|
||||
|
||||
struct _FcAtomic {
|
48
conf.patch
Normal file
48
conf.patch
Normal file
@ -0,0 +1,48 @@
|
||||
diff -ru fontconfig-2.4.1.orig/conf.d/40-generic.conf fontconfig-2.4.1/conf.d/40-generic.conf
|
||||
--- fontconfig-2.4.1.orig/conf.d/40-generic.conf 2006-09-10 05:33:43.000000000 +0200
|
||||
+++ fontconfig-2.4.1/conf.d/40-generic.conf 2006-10-16 14:59:58.000000000 +0200
|
||||
@@ -21,6 +21,7 @@
|
||||
<family>AR PL Mingti2L Big5</family>
|
||||
<family>MS 明朝</family>
|
||||
<family>Baekmuk Batang</family>
|
||||
+ <family>SimSun</family>
|
||||
<family>FreeSerif</family>
|
||||
<family>MgOpen Canonica</family>
|
||||
<default><family>serif</family></default>
|
||||
@@ -42,7 +43,6 @@
|
||||
<family>AR PL KaitiM Big5</family>
|
||||
<family>MS ゴシック</family>
|
||||
<family>Baekmuk Dotum</family>
|
||||
- <family>SimSun</family>
|
||||
<family>FreeSans</family>
|
||||
<family>MgOpen Modata</family>
|
||||
<default><family>sans-serif</family></default>
|
||||
diff -ru fontconfig-2.4.1.orig/conf.d/65-nonlatin.conf fontconfig-2.4.1/conf.d/65-nonlatin.conf
|
||||
--- fontconfig-2.4.1.orig/conf.d/65-nonlatin.conf 2006-09-10 05:31:22.000000000 +0200
|
||||
+++ fontconfig-2.4.1/conf.d/65-nonlatin.conf 2006-10-16 15:03:23.000000000 +0200
|
||||
@@ -7,6 +7,7 @@
|
||||
<family>Frank Ruehl</family>
|
||||
<family>MgOpen Canonica</family>
|
||||
<family>Kochi Mincho</family>
|
||||
+ <family>SimSun</family>
|
||||
<family>AR PL SungtiL GB</family>
|
||||
<family>AR PL Mingti2L Big5</family>
|
||||
<family>MS 明朝</family>
|
||||
@@ -23,7 +24,6 @@
|
||||
<family>AR PL KaitiM Big5</family>
|
||||
<family>MS ゴシック</family>
|
||||
<family>Baekmuk Dotum</family>
|
||||
- <family>SimSun</family>
|
||||
</prefer>
|
||||
</alias>
|
||||
<alias>
|
||||
@@ -31,7 +31,8 @@
|
||||
<prefer>
|
||||
<family>Miriam Mono</family>
|
||||
<family>Kochi Gothic</family>
|
||||
- <family>AR PL KaitiM GB</family>
|
||||
+ <family>AR PL SungtiL GB</family>
|
||||
+ <family>AR PL Mingti2L Big5</family>
|
||||
<family>Baekmuk Dotum</family>
|
||||
</prefer>
|
||||
</alias>
|
33
do-not-clean-cache-files-for-different-architectures.patch
Normal file
33
do-not-clean-cache-files-for-different-architectures.patch
Normal file
@ -0,0 +1,33 @@
|
||||
diff -ru fontconfig-2.4.1.orig/fc-cache/fc-cache.c fontconfig-2.4.1/fc-cache/fc-cache.c
|
||||
--- fontconfig-2.4.1.orig/fc-cache/fc-cache.c 2006-09-14 03:53:49.000000000 +0200
|
||||
+++ fontconfig-2.4.1/fc-cache/fc-cache.c 2006-10-26 17:56:25.000000000 +0200
|
||||
@@ -22,6 +22,8 @@
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
+#include "../fc-arch/fcarch.h"
|
||||
+
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#else
|
||||
@@ -40,6 +42,7 @@
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <dirent.h>
|
||||
+#include <string.h>
|
||||
|
||||
#if defined (_WIN32)
|
||||
#define STRICT
|
||||
@@ -296,6 +299,12 @@
|
||||
|
||||
if (ent->d_name[0] == '.')
|
||||
continue;
|
||||
+ /* skip cache files for different architectures and */
|
||||
+ /* files which are not cache files at all */
|
||||
+ if (strlen(ent->d_name) != 32 + strlen ("-" FC_ARCHITECTURE FC_CACHE_SUFFIX) ||
|
||||
+ strcmp(ent->d_name + 32, "-" FC_ARCHITECTURE FC_CACHE_SUFFIX))
|
||||
+ continue;
|
||||
+
|
||||
file_name = FcStrPlus (dir_base, (FcChar8 *) ent->d_name);
|
||||
if (!file_name)
|
||||
{
|
72
fc-app-dir-fix-new-new.diff
Normal file
72
fc-app-dir-fix-new-new.diff
Normal file
@ -0,0 +1,72 @@
|
||||
diff -ru fontconfig-2.3.93.20060210.orig/src/fccfg.c fontconfig-2.3.93.20060210/src/fccfg.c
|
||||
--- fontconfig-2.3.93.20060210.orig/src/fccfg.c 2006-02-07 16:04:03.000000000 +0100
|
||||
+++ fontconfig-2.3.93.20060210/src/fccfg.c 2006-02-10 16:37:32.000000000 +0100
|
||||
@@ -1879,9 +1876,10 @@
|
||||
return FcTrue;
|
||||
}
|
||||
|
||||
-FcBool
|
||||
-FcConfigAppFontAddDir (FcConfig *config,
|
||||
- const FcChar8 *dir)
|
||||
+static FcBool
|
||||
+FcConfigAppFontAddDirWithCheck (FcConfig *config,
|
||||
+ const FcChar8 *dir,
|
||||
+ FcStrSet *processed_dirs)
|
||||
{
|
||||
FcFontSet *set;
|
||||
FcStrSet *subdirs;
|
||||
@@ -1915,11 +1913,17 @@
|
||||
FcStrSetDestroy (subdirs);
|
||||
return FcFalse;
|
||||
}
|
||||
+ FcStrSetAdd (processed_dirs, dir);
|
||||
if ((sublist = FcStrListCreate (subdirs)))
|
||||
{
|
||||
while ((subdir = FcStrListNext (sublist)))
|
||||
{
|
||||
- FcConfigAppFontAddDir (config, subdir);
|
||||
+ FcChar8 *name;
|
||||
+ name = FcConfigNormalizeFontDir (config, subdir);
|
||||
+ if (! name)
|
||||
+ name = subdir;
|
||||
+ if (! FcStrSetMember (processed_dirs, name))
|
||||
+ FcConfigAppFontAddDirWithCheck (config, name, processed_dirs);
|
||||
}
|
||||
FcStrListDone (sublist);
|
||||
}
|
||||
@@ -1927,6 +1931,23 @@
|
||||
return FcTrue;
|
||||
}
|
||||
|
||||
+FcBool
|
||||
+FcConfigAppFontAddDir (FcConfig *config,
|
||||
+ const FcChar8 *dir)
|
||||
+{
|
||||
+ FcStrSet *processed_dirs;
|
||||
+ FcBool res;
|
||||
+
|
||||
+ processed_dirs = FcStrSetCreate ();
|
||||
+ if (! processed_dirs)
|
||||
+ return FcFalse;
|
||||
+
|
||||
+ res = FcConfigAppFontAddDirWithCheck (config, dir, processed_dirs);
|
||||
+ FcStrSetDestroy (processed_dirs);
|
||||
+
|
||||
+ return res;
|
||||
+}
|
||||
+
|
||||
void
|
||||
FcConfigAppFontClear (FcConfig *config)
|
||||
{
|
||||
diff -ru fontconfig-2.3.93.20060210.orig/src/fcdir.c fontconfig-2.3.93.20060210/src/fcdir.c
|
||||
--- fontconfig-2.3.93.20060210.orig/src/fcdir.c 2006-02-10 13:06:08.000000000 +0100
|
||||
+++ fontconfig-2.3.93.20060210/src/fcdir.c 2006-02-10 16:35:30.000000000 +0100
|
||||
@@ -133,6 +133,8 @@
|
||||
d_can = FcConfigNormalizeFontDir (config, dir);
|
||||
if (d_can)
|
||||
dir = d_can;
|
||||
+ else
|
||||
+ FcConfigAddFontDir (config, dir);
|
||||
|
||||
if (!force)
|
||||
{
|
50
fc-cache.patch
Normal file
50
fc-cache.patch
Normal file
@ -0,0 +1,50 @@
|
||||
diff -ru fontconfig-2.3.93.20060210.orig/fc-cache/Makefile.am fontconfig-2.3.93.20060210.new/fc-cache/Makefile.am
|
||||
--- fontconfig-2.3.93.20060210.orig/fc-cache/Makefile.am 2006-02-06 11:36:09.000000000 +0100
|
||||
+++ fontconfig-2.3.93.20060210.new/fc-cache/Makefile.am 2006-02-10 19:52:36.000000000 +0100
|
||||
@@ -35,7 +35,7 @@
|
||||
uninstall-local:
|
||||
$(RM) -rf "$(DESTDIR)$(pkgcachedir)"
|
||||
|
||||
-INCLUDES=-I${top_srcdir} $(FREETYPE_CFLAGS)
|
||||
+INCLUDES=-I${top_srcdir}/src -I${top_srcdir} $(FREETYPE_CFLAGS)
|
||||
|
||||
bin_PROGRAMS=fc-cache
|
||||
|
||||
fontconfig-2.3.93.20060210.new/fc-cacheだけに発見: Makefile.am.orig
|
||||
diff -ru fontconfig-2.3.93.20060210.orig/fc-cache/fc-cache.c fontconfig-2.3.93.20060210.new/fc-cache/fc-cache.c
|
||||
--- fontconfig-2.3.93.20060210.orig/fc-cache/fc-cache.c 2006-02-07 16:04:03.000000000 +0100
|
||||
+++ fontconfig-2.3.93.20060210.new/fc-cache/fc-cache.c 2006-02-10 19:52:53.000000000 +0100
|
||||
@@ -26,6 +26,7 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
+#include <limits.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <errno.h>
|
||||
@@ -45,6 +46,8 @@
|
||||
#define HAVE_GETOPT_LONG 0
|
||||
#endif
|
||||
|
||||
+#include "fcint.h"
|
||||
+
|
||||
#if HAVE_GETOPT_LONG
|
||||
#undef _GNU_SOURCE
|
||||
#define _GNU_SOURCE
|
||||
@@ -315,9 +318,13 @@
|
||||
}
|
||||
while (argv[i])
|
||||
{
|
||||
- if (!FcStrSetAdd (dirs, (FcChar8 *) argv[i]))
|
||||
+ char *rp;
|
||||
+
|
||||
+ if (!FcStrSetAdd (dirs, (FcChar8 *) argv[i]) ||
|
||||
+ (rp = realpath(argv[i], NULL)) == NULL ||
|
||||
+ !FcConfigAddFontDir (config, rp))
|
||||
{
|
||||
- fprintf (stderr, "%s: Can't add directory\n", argv[0]);
|
||||
+ fprintf (stderr, "%s: Can't add directory %s\n", argv[0], argv[i]);
|
||||
return 1;
|
||||
}
|
||||
i++;
|
||||
fontconfig-2.3.93.20060210.new/fc-cacheだけに発見: fc-cache.c.orig
|
17
fc-match.patch
Normal file
17
fc-match.patch
Normal file
@ -0,0 +1,17 @@
|
||||
Index: fc-match/fc-match.c
|
||||
===================================================================
|
||||
RCS file: /cvs/fontconfig/fontconfig/fc-match/fc-match.c,v
|
||||
retrieving revision 1.2
|
||||
diff -u -r1.2 fc-match.c
|
||||
--- fc-match/fc-match.c 15 Aug 2003 19:45:20 -0000 1.2
|
||||
+++ fc-match/fc-match.c 3 Apr 2004 18:29:50 -0000
|
||||
@@ -134,8 +134,8 @@
|
||||
else
|
||||
pat = FcPatternCreate ();
|
||||
|
||||
- FcConfigSubstitute (0, pat, FcMatchPattern);
|
||||
FcDefaultSubstitute (pat);
|
||||
+ FcConfigSubstitute (0, pat, FcMatchPattern);
|
||||
|
||||
if (sort)
|
||||
fs = FcFontSort (0, pat, FcTrue, 0, &result);
|
141
fc-validatecache-option.diff
Normal file
141
fc-validatecache-option.diff
Normal file
@ -0,0 +1,141 @@
|
||||
--- src/fcint.h-dist 2006-02-08 20:57:29.000000000 +0100
|
||||
+++ src/fcint.h 2006-02-08 20:58:06.000000000 +0100
|
||||
@@ -414,6 +414,10 @@ struct _FcConfig {
|
||||
*/
|
||||
time_t rescanTime; /* last time information was scanned */
|
||||
int rescanInterval; /* interval between scans */
|
||||
+ /*
|
||||
+ * Validate cache files at each open?
|
||||
+ */
|
||||
+ FcBool validateCache;
|
||||
};
|
||||
|
||||
extern FcConfig *_fcConfig;
|
||||
--- src/fccfg.c-dist 2006-02-08 21:07:16.000000000 +0100
|
||||
+++ src/fccfg.c 2006-02-08 21:07:38.000000000 +0100
|
||||
@@ -117,6 +117,7 @@ FcConfigCreate (void)
|
||||
|
||||
config->rescanTime = time(0);
|
||||
config->rescanInterval = 30;
|
||||
+ config->validateCache = 1;
|
||||
|
||||
return config;
|
||||
|
||||
--- src/fcxml.c-dist 2006-02-08 20:55:00.000000000 +0100
|
||||
+++ src/fcxml.c 2006-02-08 20:57:18.000000000 +0100
|
||||
@@ -293,6 +293,7 @@ typedef enum _FcElement {
|
||||
|
||||
FcElementBlank,
|
||||
FcElementRescan,
|
||||
+ FcElementValidatecache,
|
||||
|
||||
FcElementPrefer,
|
||||
FcElementAccept,
|
||||
@@ -353,6 +354,7 @@ static struct {
|
||||
|
||||
{ "blank", FcElementBlank },
|
||||
{ "rescan", FcElementRescan },
|
||||
+ { "validatecache", FcElementValidatecache },
|
||||
|
||||
{ "prefer", FcElementPrefer },
|
||||
{ "accept", FcElementAccept },
|
||||
@@ -1099,6 +1101,20 @@ FcParseRescan (FcConfigParse *parse)
|
||||
}
|
||||
|
||||
static void
|
||||
+FcParseValidatecache (FcConfigParse *parse)
|
||||
+{
|
||||
+ int n = FcVStackElements (parse);
|
||||
+ while (n-- > 0)
|
||||
+ {
|
||||
+ FcVStack *v = FcVStackFetch (parse, n);
|
||||
+ if (v->tag != FcVStackBool)
|
||||
+ FcConfigMessage (parse, FcSevereWarning, "non-boolean validatecache");
|
||||
+ else
|
||||
+ parse->config->validateCache = v->u.bool;
|
||||
+ }
|
||||
+}
|
||||
+
|
||||
+static void
|
||||
FcParseInt (FcConfigParse *parse)
|
||||
{
|
||||
FcChar8 *s, *end;
|
||||
@@ -2086,6 +2102,9 @@ FcEndElement(void *userData, const XML_C
|
||||
case FcElementRescan:
|
||||
FcParseRescan (parse);
|
||||
break;
|
||||
+ case FcElementValidatecache:
|
||||
+ FcParseValidatecache (parse);
|
||||
+ break;
|
||||
|
||||
case FcElementPrefer:
|
||||
FcParseFamilies (parse, FcVStackPrefer);
|
||||
--- src/fccache.c-dist 2006-02-08 20:58:21.000000000 +0100
|
||||
+++ src/fccache.c 2006-02-08 21:38:23.000000000 +0100
|
||||
@@ -221,9 +221,10 @@ FcGlobalCacheLoad (FcGlobalCache *cac
|
||||
|
||||
/* Directory must be older than the global cache file; also
|
||||
cache must be newer than the config file. */
|
||||
- if (stat ((char *) name_buf, &dir_stat) < 0 ||
|
||||
- dir_stat.st_mtime > cache_stat.st_mtime ||
|
||||
- (config_time.set && cache_stat.st_mtime < config_time.time))
|
||||
+ if (config->validateCache &&
|
||||
+ (stat ((char *) name_buf, &dir_stat) < 0 ||
|
||||
+ dir_stat.st_mtime > cache_stat.st_mtime ||
|
||||
+ (config_time.set && cache_stat.st_mtime < config_time.time)))
|
||||
{
|
||||
FcCache md;
|
||||
off_t off;
|
||||
@@ -876,6 +877,27 @@ FcCacheReadDirs (FcConfig * config, FcGl
|
||||
continue;
|
||||
}
|
||||
|
||||
+ if (! config->validateCache)
|
||||
+ {
|
||||
+ /* We trust cache files -- if not found, just ignore that directory
|
||||
+ */
|
||||
+ if ((cache && FcGlobalCacheReadDir (set, subdirs, cache, (char *)dir,
|
||||
+ config)) ||
|
||||
+ FcDirCacheRead (set, subdirs, dir, config))
|
||||
+ {
|
||||
+ sublist = FcStrListCreate (subdirs);
|
||||
+ FcStrSetDestroy (subdirs);
|
||||
+ if (!sublist)
|
||||
+ {
|
||||
+ fprintf (stderr, "Can't create subdir list in \"%s\"\n", dir);
|
||||
+ ret++;
|
||||
+ continue;
|
||||
+ }
|
||||
+ ret += FcCacheReadDirs (config, cache, sublist, set, processed_dirs);
|
||||
+ }
|
||||
+ continue;
|
||||
+ }
|
||||
+
|
||||
if (access ((char *) dir, X_OK) < 0)
|
||||
{
|
||||
switch (errno) {
|
||||
--- fonts.dtd-dist 2006-02-08 21:12:11.000000000 +0100
|
||||
+++ fonts.dtd 2006-02-08 21:14:00.000000000 +0100
|
||||
@@ -40,7 +40,7 @@
|
||||
<!--
|
||||
Global library configuration data
|
||||
-->
|
||||
-<!ELEMENT config (blank|rescan)*>
|
||||
+<!ELEMENT config (blank|rescan|validatecache)*>
|
||||
|
||||
<!--
|
||||
Specify the set of Unicode encoding values which
|
||||
@@ -82,6 +82,13 @@
|
||||
<!ELEMENT rescan (int)>
|
||||
|
||||
<!--
|
||||
+ Validate cache files dynamically
|
||||
+ If this is set to false, fontconfig trusts cache files and never
|
||||
+ checks the timestamp or changes of contents.
|
||||
+ -->
|
||||
+<!ELEMENT validatecache (bool)>
|
||||
+
|
||||
+<!--
|
||||
Edit list of available fonts at startup/reload time
|
||||
-->
|
||||
<!ELEMENT selectfont (rejectfont | acceptfont)* >
|
15
fc-verbose.diff
Normal file
15
fc-verbose.diff
Normal file
@ -0,0 +1,15 @@
|
||||
diff -ru fontconfig-2.3.93.20060210.orig/src/fccache.c fontconfig-2.3.93.20060210/src/fccache.c
|
||||
--- fontconfig-2.3.93.20060210.orig/src/fccache.c 2006-02-10 13:06:08.000000000 +0100
|
||||
+++ fontconfig-2.3.93.20060210/src/fccache.c 2006-02-10 14:39:40.000000000 +0100
|
||||
@@ -741,7 +741,11 @@
|
||||
* the cache file, the cache is not valid
|
||||
*/
|
||||
if (dir_stat.st_mtime > file_stat.st_mtime)
|
||||
+ {
|
||||
+ fprintf (stderr, "FC: cache for %s is outdated,\n"
|
||||
+ " consider running \"fc-cache\" as root!\n", dir);
|
||||
return FcFalse;
|
||||
+ }
|
||||
|
||||
return FcTrue;
|
||||
|
36
fix-build-for-10.0.patch
Normal file
36
fix-build-for-10.0.patch
Normal file
@ -0,0 +1,36 @@
|
||||
diff -ru fontconfig-2.3.94.orig/configure.in fontconfig-2.3.94/configure.in
|
||||
--- fontconfig-2.3.94.orig/configure.in 2006-03-10 15:59:31.000000000 +0100
|
||||
+++ fontconfig-2.3.94/configure.in 2006-04-04 17:25:40.000000000 +0200
|
||||
@@ -300,19 +300,19 @@
|
||||
esac
|
||||
fi
|
||||
|
||||
-#
|
||||
-# Check libxml2 configuration
|
||||
-#
|
||||
-
|
||||
-AC_ARG_ENABLE(libxml2, [ --enable-libxml2 Use libxml2 instead of Expat])
|
||||
-
|
||||
-if test "$enable_libxml2" = "yes" -o "$expat" = "no"; then
|
||||
- PKG_CHECK_MODULES([LIBXML2], [libxml-2.0 >= 2.6])
|
||||
- AC_DEFINE_UNQUOTED(ENABLE_LIBXML2,1,[Use libxml2 instead of Expat])
|
||||
-
|
||||
- AC_SUBST(LIBXML2_CFLAGS)
|
||||
- AC_SUBST(LIBXML2_LIBS)
|
||||
-fi
|
||||
+##
|
||||
+## Check libxml2 configuration
|
||||
+##
|
||||
+#
|
||||
+#AC_ARG_ENABLE(libxml2, [ --enable-libxml2 Use libxml2 instead of Expat])
|
||||
+#
|
||||
+#if test "$enable_libxml2" = "yes" -o "$expat" = "no"; then
|
||||
+# PKG_CHECK_MODULES([LIBXML2], [libxml-2.0 >= 2.6])
|
||||
+# AC_DEFINE_UNQUOTED(ENABLE_LIBXML2,1,[Use libxml2 instead of Expat])
|
||||
+#
|
||||
+# AC_SUBST(LIBXML2_CFLAGS)
|
||||
+# AC_SUBST(LIBXML2_LIBS)
|
||||
+#fi
|
||||
|
||||
#
|
||||
# Set default font directory
|
3
fontconfig-2.4.1.tar.bz2
Normal file
3
fontconfig-2.4.1.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ca6b5f7ec66e3fa814b2a5e1132bc25b296a294d58e6b052b5a2ff68a980ca5b
|
||||
size 1043078
|
3
fontconfig-doc.tar.bz2
Normal file
3
fontconfig-doc.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1ad67d378a256540099966e8563c019218712947d117f496d85863f30340c605
|
||||
size 52752
|
19
fontconfig-minmaxabs.patch
Normal file
19
fontconfig-minmaxabs.patch
Normal file
@ -0,0 +1,19 @@
|
||||
--- src/fcfreetype.c
|
||||
+++ src/fcfreetype.c
|
||||
@@ -74,6 +74,16 @@
|
||||
#warning "No FT_Get_Font_Info"
|
||||
#endif
|
||||
|
||||
+#ifndef MAX
|
||||
+#define MAX(a,b) ((a) > (b) ? (a) : (b))
|
||||
+#endif
|
||||
+#ifndef MIN
|
||||
+#define MIN(a,b) ((a) < (b) ? (a) : (b))
|
||||
+#endif
|
||||
+#ifndef ABS
|
||||
+#define ABS(a) ((a) >= 0 ? (a) : -(a))
|
||||
+#endif
|
||||
+
|
||||
/*
|
||||
* Keep Han languages separated by eliminating languages
|
||||
* that the codePageRange bits says aren't supported
|
1175
fontconfig.changes
Normal file
1175
fontconfig.changes
Normal file
File diff suppressed because it is too large
Load Diff
957
fontconfig.spec
Normal file
957
fontconfig.spec
Normal file
@ -0,0 +1,957 @@
|
||||
#
|
||||
# spec file for package fontconfig (Version 2.4.1)
|
||||
#
|
||||
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
# package are under the same license as the package itself.
|
||||
#
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
Name: fontconfig
|
||||
%define build_docs 0
|
||||
BuildRequires: expat freetype2-devel pkgconfig
|
||||
%if %{build_docs}
|
||||
BuildRequires: docbook-dsssl-stylesheets docbook-utils docbook_3 docbook_4 iso_ent jadetex libpng libxml2 libxml2-devel lynx openjade opensp perl-SGMLS sgml-skel tetex
|
||||
%endif
|
||||
License: Public Domain, Freeware, X11/MIT
|
||||
Provides: XFree86:/etc/fonts/fonts.dtd
|
||||
Group: System/Libraries
|
||||
URL: http://fontconfig.org/
|
||||
Autoreqprov: on
|
||||
Requires: bash
|
||||
Version: 2.4.1
|
||||
Release: 17
|
||||
Summary: Library for Font Configuration
|
||||
# CVS can be found here: (CVS is gone, fontconfig uses git now).
|
||||
# $ cvs -d :pserver:anoncvs@pdx.freedesktop.org:/cvs/fontconfig login
|
||||
# CVS password: <hit return>
|
||||
# $ cvs -d :pserver:anoncvs@pdx.freedesktop.org:/cvs/fontconfig co fontconfig
|
||||
#
|
||||
Source0: http://fontconfig.org/release/%name-%version.tar.bz2
|
||||
# oldneededforbuild expat freetype2 freetype2-devel pkgconfig
|
||||
#
|
||||
# After building with "build_docs" defined to "1" generate the doc tarball with:
|
||||
# tar jcf fontconfig-doc.tar.bz2 fc-*/*.[0-9] doc/*.[0-9] doc/*.html doc/*/*.html doc/*.txt
|
||||
Source1: %name-doc.tar.bz2
|
||||
Source2: iso639-1
|
||||
Source3: iso639-2
|
||||
Source10: suse-generic-names.conf
|
||||
Source11: suse-pre-user.conf
|
||||
Source12: suse-post-user.conf
|
||||
Source13: suse-hinting.conf
|
||||
Source14: suse-bitmaps.conf
|
||||
Source15: suse-font-dirs.conf
|
||||
Source20: local.conf.instsys
|
||||
Patch1: improve-monospace-detection.patch
|
||||
Patch4: fc-match.patch
|
||||
# http://www.kde.gr.jp/~akito/patch/
|
||||
# http://www.kde.gr.jp/~akito/patch/fontconfig/fontconfig-2.2.1/fontconfig-2.2.1-AppleRoman-DynaFont.patch
|
||||
Patch5: AppleRoman-DynaFont.patch
|
||||
Patch6: fontconfig-minmaxabs.patch
|
||||
Patch10: conf.patch
|
||||
Patch12: bugzilla-128937-turn-off-embedded-bitmaps-by-default.patch
|
||||
Patch13: bugzilla-160226-multiarch-cache-file-problem.patch
|
||||
Patch15: fc-cache.patch
|
||||
Patch16: make-check.patch
|
||||
Patch17: change-magic.patch
|
||||
Patch18: fc-validatecache-option.diff
|
||||
Patch22: fc-verbose.diff
|
||||
Patch27: fc-app-dir-fix-new-new.diff
|
||||
Patch28: bugzilla-158573-turn-off-hinting-when-embolden.patch
|
||||
Patch29: fix-build-for-10.0.patch
|
||||
Patch30: bugzilla-179457-fix-font-file-names-for-wine.patch
|
||||
Patch31: do-not-clean-cache-files-for-different-architectures.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
The intention of this library is to be the central configuration
|
||||
interface for all applications and libraries in the system.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Keith Packard <keithp@keithp.com>
|
||||
|
||||
%package devel
|
||||
Requires: fontconfig = %version
|
||||
Requires: freetype2-devel glibc-devel expat
|
||||
Provides: XFree86-devel:%_libdir/pkgconfig/fontconfig.pc
|
||||
Group: Development/Libraries/C and C++
|
||||
Summary: Include Files and Libraries mandatory for Development.
|
||||
|
||||
%description devel
|
||||
The intention is for this to be the central configuration interface for
|
||||
all applications and libraries on the system.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Keith Packard <keithp@keithp.com>
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%if %{build_docs} < 1
|
||||
tar xvf $RPM_SOURCE_DIR/%name-doc.tar.bz2
|
||||
%endif
|
||||
%patch1 -p1 -b .improve-monospace-detection
|
||||
#%patch4 -p0 -b .fc-match
|
||||
%patch5 -p0 -b .dynafont
|
||||
%patch6 -p0 -b .minmaxabs
|
||||
%patch10 -p1 -b .fonts.conf
|
||||
#%patch12 -p1
|
||||
#%patch13 -p1
|
||||
#%patch15 -p1
|
||||
%patch16 -p1
|
||||
%patch17 -p1
|
||||
#%patch18 -p0
|
||||
#%patch22 -p1
|
||||
#%patch27 -p1
|
||||
%patch28 -p1
|
||||
#%patch29 -p1
|
||||
#%patch30 -p1
|
||||
%patch31 -p1
|
||||
|
||||
%build
|
||||
%define myprefix /usr
|
||||
export CFLAGS="$RPM_OPT_FLAGS"
|
||||
#./autogen.sh \
|
||||
./configure \
|
||||
--prefix=%{myprefix} \
|
||||
--libdir=%{myprefix}/%{_lib} \
|
||||
--with-freetype-lib=%_libdir \
|
||||
--with-x \
|
||||
--with-pic \
|
||||
--enable-libxml2=no \
|
||||
--mandir=%{_mandir} \
|
||||
--localstatedir=/var \
|
||||
--with-confdir=/etc/fonts \
|
||||
--with-docdir=%{_defaultdocdir}/%{name} \
|
||||
--with-add-fonts=/usr/X11R6/lib/X11/fonts,/opt/kde3/share/fonts,/usr/local/share/fonts \
|
||||
%if %{build_docs} < 1
|
||||
--disable-docs
|
||||
%else
|
||||
#
|
||||
%endif
|
||||
make %{?jobs:-j %jobs}
|
||||
make check
|
||||
|
||||
%install
|
||||
make DESTDIR=$RPM_BUILD_ROOT pkgconfigdir=%{_libdir}/pkgconfig install
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_defaultdocdir}/fontconfig
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_defaultdocdir}/fontconfig-devel
|
||||
install -m 644 AUTHORS COPYING ChangeLog README $RPM_SOURCE_DIR/iso639-? \
|
||||
$RPM_BUILD_ROOT/%{_defaultdocdir}/%{name}
|
||||
#install -m 644 fc-lang/iso639-{1,2} $RPM_BUILD_ROOT/%{_defaultdocdir}/%{name}
|
||||
install -m 644 doc/*.html $RPM_BUILD_ROOT/%{_defaultdocdir}/fontconfig
|
||||
install -m 644 doc/fontconfig-user.txt $RPM_BUILD_ROOT/%{_defaultdocdir}/fontconfig
|
||||
install -m 644 doc/fontconfig-devel/* $RPM_BUILD_ROOT/%{_defaultdocdir}/fontconfig-devel
|
||||
install -m 644 doc/fontconfig-devel.txt $RPM_BUILD_ROOT/%{_defaultdocdir}/fontconfig-devel
|
||||
for i in 1 3 5
|
||||
do
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man${i}/
|
||||
for j in fc-*/*.${i} doc/*.${i} doc/*/*.${i}
|
||||
do
|
||||
test -f ${j} && install -m 644 ${j} $RPM_BUILD_ROOT/%{_mandir}/man${i}/
|
||||
done
|
||||
gzip --best $RPM_BUILD_ROOT/%{_mandir}/man${i}/*.${i}
|
||||
done
|
||||
# install the conf.d README as well, I think it's helpful:
|
||||
install -m 644 conf.d/README $RPM_BUILD_ROOT/etc/fonts/conf.d
|
||||
install -m 644 $RPM_SOURCE_DIR/suse*.conf $RPM_BUILD_ROOT/etc/fonts/
|
||||
install -m 644 $RPM_SOURCE_DIR/local.conf.instsys $RPM_BUILD_ROOT/etc/fonts/
|
||||
# tune links in conf.d:
|
||||
pushd $RPM_BUILD_ROOT/etc/fonts/conf.d
|
||||
ln -s ../suse-font-dirs.conf 05-suse-font-dirs.conf
|
||||
rm -f 50-user.conf
|
||||
rm -f 51-local.conf
|
||||
ln -s ../suse-pre-user.conf 50-suse-pre-user.conf
|
||||
ln -s ../conf.avail/51-local.conf 55-local.conf
|
||||
ln -s ../conf.avail/50-user.conf 56-user.conf
|
||||
ln -s ../suse-post-user.conf 58-suse-post-user.conf
|
||||
popd
|
||||
# don't package any files in the cache directory, only the directory itself:
|
||||
rm -f $RPM_BUILD_ROOT/var/cache/fontconfig/*
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc %{_defaultdocdir}/%{name}
|
||||
%{myprefix}/bin/fc-list
|
||||
%{myprefix}/bin/fc-cache
|
||||
%{myprefix}/bin/fc-match
|
||||
%{myprefix}/bin/fc-cat
|
||||
%dir /etc/fonts
|
||||
%config /etc/fonts/fonts.dtd
|
||||
%config /etc/fonts/fonts.conf
|
||||
%config /etc/fonts/suse-generic-names.conf
|
||||
%config /etc/fonts/suse-font-dirs.conf
|
||||
%config /etc/fonts/suse-pre-user.conf
|
||||
%config /etc/fonts/suse-post-user.conf
|
||||
%config %verify(not md5 size mtime) /etc/fonts/suse-hinting.conf
|
||||
%config %verify(not md5 size mtime) /etc/fonts/suse-bitmaps.conf
|
||||
%dir /etc/fonts/conf.avail/
|
||||
/etc/fonts/conf.avail/*
|
||||
%dir /etc/fonts/conf.d/
|
||||
/etc/fonts/conf.d/README
|
||||
%config(noreplace) /etc/fonts/conf.d/*.conf
|
||||
%config /etc/fonts/local.conf.instsys
|
||||
%{myprefix}/%{_lib}/libfontconfig.so.*
|
||||
%doc %{_mandir}/man5/fonts-conf.5.gz
|
||||
%doc %{_mandir}/man1/*
|
||||
%dir /var/cache/fontconfig/
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%doc %{_defaultdocdir}/%{name}-devel
|
||||
%{_libdir}/pkgconfig/fontconfig.pc
|
||||
%{myprefix}/%{_lib}/libfontconfig.*a
|
||||
%{myprefix}/%{_lib}/libfontconfig.so
|
||||
%doc %{_mandir}/man3/Fc*
|
||||
%{myprefix}/include/fontconfig/
|
||||
|
||||
%changelog -n fontconfig
|
||||
* Mon Nov 20 2006 - mfabian@suse.de
|
||||
- Meiryo is not good for monospace.
|
||||
* Wed Nov 15 2006 - mfabian@suse.de
|
||||
- sync hinting and bitmap setup with fonts-config:
|
||||
• Bugzilla #215602: don't use the embedded bitmaps in the IPA
|
||||
fonts because they are only available in 12, 14, and 16 pixels.
|
||||
• Bugzilla #215602: Don't use the autohinter for fonts where it
|
||||
it distorts the metrics so badly that even the digits which
|
||||
should be monospaced are not monospaced at all anymore.
|
||||
• Don't use the autohinter for good quality TrueType fonts.
|
||||
- add some new fonts to the prefer lists.
|
||||
* Fri Nov 10 2006 - mfabian@suse.de
|
||||
- choose nicer default fonts for sans-serif, serif, and monospace.
|
||||
It is not necessary anymore to choose fonts which are metric
|
||||
compatible to the Adobe fonts as the default, the bug in kpdf
|
||||
is apparently fixed (see Bugzilla #129081). The default fonts
|
||||
for all three styles are now Déjà Vu on openSUSE.
|
||||
* Fri Oct 27 2006 - mfabian@suse.de
|
||||
- make last patch a little bit nicer to get it included upstream.
|
||||
* Tue Oct 24 2006 - mfabian@suse.de
|
||||
- do not delete cache files for different architectures.
|
||||
* Fri Oct 20 2006 - mfabian@suse.de
|
||||
- Bugzilla #213616: make suse-font-dirs.conf work again
|
||||
by symlinking it into /etc/fonts/conf.d.
|
||||
* Wed Oct 18 2006 - mfabian@suse.de
|
||||
- Bugzilla #213190, Fate #300430: "Use CMEXSong font as the
|
||||
default font for zh_TW locale"
|
||||
* Mon Oct 16 2006 - mfabian@suse.de
|
||||
- update to 2.4.1.
|
||||
• cache files for different architectures are in different
|
||||
files now
|
||||
• the user specific cache has been split from a single file
|
||||
in to seperate files for each font directory which are now
|
||||
stored in ~/.fontconfig/.
|
||||
* Thu Jun 22 2006 - mfabian@suse.de
|
||||
- Bugzilla #185864: add "Requires: bash" to make the postun
|
||||
and preun scripts of the SLES9 fontconfig package work.
|
||||
* Fri Jun 02 2006 - mfabian@suse.de
|
||||
- Bugzilla #179457: fix font handling for wine (from upstream CVS):
|
||||
wine uses FcPatternGet instead of FcPatternGetString to find the
|
||||
full path name of a font file. This used to work but has been
|
||||
broken recently in the fontconfig 2.4 branch.
|
||||
* Fri Apr 28 2006 - mfabian@suse.de
|
||||
- Bugzilla #104365: match on "pattern" instead on "font" to edit
|
||||
the default hinting settings to make it easier to override
|
||||
the defaults with applications using FcPatternDel() and
|
||||
FcPatternAdd...().
|
||||
* Wed Apr 19 2006 - mfabian@suse.de
|
||||
- Bugzilla #166260 and bugzilla #162064:
|
||||
add "Khmer OS System" to the prefer lists of fontconfig.
|
||||
* Tue Apr 11 2006 - mfabian@suse.de
|
||||
- Bugzilla #59409: don't set a default value for rgba at all,
|
||||
rely on the auto-detection instead. Previously it was impossible
|
||||
to switch subpixelhinting off in the KDE control centre if
|
||||
it had been switched on by the auto-detection. But in the
|
||||
meantime this has been fixed in KDE, therefore we don't have
|
||||
a reason anymore to override the auto-detection.
|
||||
* Tue Apr 04 2006 - mfabian@suse.de
|
||||
- use "OpenSymbol" as another fallback for "Symbol" in addition
|
||||
to "Standard Symbols L".
|
||||
* Mon Apr 03 2006 - mfabian@suse.de
|
||||
- Bugzilla #158573: CID keyed fonts should be blacklisted in the
|
||||
fontconfig setup because they don't (yet) work with
|
||||
freetype2.
|
||||
* Fri Mar 31 2006 - zsu@suse.de
|
||||
- Bugzilla #158573: 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.
|
||||
* Fri Mar 24 2006 - mfabian@suse.de
|
||||
- Bugzilla #160226: When alternately starting a 32 bit and 64 bit
|
||||
application on a 64 bit system, ~/.fonts.cache-2 was always
|
||||
deleted and generated again, which caused a big performance
|
||||
issue. ~/.fonts.cache-2 is intended to be multi-arch, but this
|
||||
didn't work right.
|
||||
* Thu Mar 16 2006 - mfabian@suse.de
|
||||
- Bugzilla #130350: I forgot to add the agfa-fonts "Andale Sans",
|
||||
"Andy MT", "Bell MT", and "Monotype Sorts" to the list of fonts
|
||||
which should always use the byte code interpreter if
|
||||
anti-aliasing is off.
|
||||
* Fri Mar 10 2006 - mfabian@suse.de
|
||||
- update to 2.3.94 (no significant changes, just a nicer
|
||||
version number).
|
||||
- don't apply fc-verbose.diff anymore, the warnings cause
|
||||
too much confusion (see for example bug #156405).
|
||||
* Fri Feb 24 2006 - mfabian@suse.de
|
||||
- update to 2.3.93.20060224: fix for Bugzilla #153402 included
|
||||
upstream.
|
||||
* Fri Feb 24 2006 - mfabian@suse.de
|
||||
- fix Bugzilla #153402: "fc-cache crashes on some .ttc fonts".
|
||||
* Wed Feb 22 2006 - mfabian@suse.de
|
||||
- update to 2.3.93.20060222:
|
||||
+ Strip \r and whitespace from input; fixes bug 3454.
|
||||
+ make fontconfig not crash on pango badness.
|
||||
+ Remove one more archaic character in ka.orth
|
||||
+ Freeze patterns created by configuration file for tiny
|
||||
memory savings (every little bit helps).
|
||||
- fix for bugzilla #152453 now included upstream.
|
||||
* Tue Feb 21 2006 - mfabian@suse.de
|
||||
- Bugzilla #152453: fix crash in fc-cat, see also:
|
||||
http://lists.freedesktop.org/archives/fontconfig/2006-February/002130.html
|
||||
* Mon Feb 20 2006 - mfabian@suse.de
|
||||
- add Korean fonts "UnBatang" and "UnDotum" to the prefer lists
|
||||
above the Baekmuk fonts.
|
||||
* Fri Feb 17 2006 - mfabian@suse.de
|
||||
- update to 2.3.93.20060220:
|
||||
+ Don't bail if fontconfig can't remove a dir cache file.
|
||||
+ Skip the ID of a cache file when copying.
|
||||
+ Eliminate 'source file too small' bug in FcDirCacheWrite.
|
||||
+ Add -r --really-force option which blows away cache files and
|
||||
then regenerates them.
|
||||
+ Deal correctly with changing FC_CACHE_MAGIC.
|
||||
+ Enable fc-cat to print out old-style cache info when given a
|
||||
directory name.
|
||||
+ Bump up magic version; we changed the binary format.
|
||||
+ Fix triggering of segfault caused by misreading cache files
|
||||
(reported by fcrozat).
|
||||
+ Fix the underlying cause of the below segfault (must usually
|
||||
call FcDirCacheHasCurrentArch after FcDirCacheValid).
|
||||
- Dirk Mueller's make_fccache_f_work.diff is obsolete because of
|
||||
the --really-force option.
|
||||
* Tue Feb 14 2006 - mfabian@suse.de
|
||||
- update to 2.3.93.20060214:
|
||||
- patch to ignore broken bitmap fonts included upstream.
|
||||
- memory leaks in error conditon code fixed.
|
||||
* Mon Feb 13 2006 - mfabian@suse.de
|
||||
- Bugzilla #150552: ignore broken bitmap fonts which don't even
|
||||
have a BDF property FAMILY_NAME.
|
||||
* Mon Feb 13 2006 - mfabian@suse.de
|
||||
- Bugzilla #132577: add the DejaVu fonts to the prefer lists.
|
||||
- add suse-font-dirs.conf to make sure a basic list of font
|
||||
dirs exists even if "SuSEconfig --module fonts" didn't run yet.
|
||||
* Mon Feb 13 2006 - mfabian@suse.de
|
||||
- update to 2.3.93.20060213.
|
||||
- Takashi IWAI's fc-prefer-var-cache.diff, and
|
||||
fc-fcmatch-pattern-fix.diff included upstream.
|
||||
* Fri Feb 10 2006 - mfabian@suse.de
|
||||
- update to 2.3.93.20060210:
|
||||
- Dirk Mueller's value_hash_speedup.diff included upstream.
|
||||
- Dirk Mueller's fc-verbose.diff slightly adapted to current CVS.
|
||||
- Takashi IWAI's fc-lang-idx-fixes.diff included upstream.
|
||||
- Takashi IWAI's fc-app-dir-fix.diff only partly included upstream,
|
||||
the missing parts are still necessary to make it work.
|
||||
- add fc-prefer-var-cache.diff (by Takashi IWAI <tiwai@suse.de>
|
||||
to prefer cache files in /var/cache/fontconfig over cache files
|
||||
in the font directories.
|
||||
- Bugzilla #148361, comment #20: add fc-validatecache-option.diff
|
||||
to improve performance if a validate option is set to false in
|
||||
~/.fonts.conf.
|
||||
- Bugzilla #132577: add rules to /etc/fonts to use the DejaVu
|
||||
fonts if the user requests the SUSE fonts and these are not
|
||||
available anymore.
|
||||
- fix by Takashi for segfault in fc-cache with non-existing
|
||||
directory as argument.
|
||||
- add fc-fcmatch-pattern-fix.diff (by Takashi IWAI <tiwai@suse.de>
|
||||
to fix the problem reported in:
|
||||
http://lists.freedesktop.org/archives/fontconfig/2006-February/002072.html
|
||||
* Tue Feb 07 2006 - mfabian@suse.de
|
||||
- add value_hash_speedup.diff by Dirk Mueller <dmueller@suse.de>
|
||||
see also
|
||||
http://lists.freedesktop.org/archives/fontconfig/2006-February/002045.html
|
||||
* Tue Feb 07 2006 - mfabian@suse.de
|
||||
- Bugzilla #148693: add fc-app-dir-fix-new.diff
|
||||
(by Takashi IWAI <tiwai@suse.de>).
|
||||
- update to 2.3.93.20060207:
|
||||
- euro.patch included upstream.
|
||||
- Takashi IWAI's patches fontconfig-fontsubdir-parse-fix.diff,
|
||||
fccache-update-check.diff, fc-loop-scan-fix.diff,
|
||||
fc-cache-loop-fix.diff included upstream.
|
||||
- Takashi IWAI's fc-lang-idx-fixes.diff partly included upstream.
|
||||
* Tue Feb 07 2006 - mfabian@suse.de
|
||||
- Bugzilla #148361: avoid stat () on all files in all
|
||||
sub-directories of font-directories by including a list
|
||||
of all font-directores including the sub-directories generated
|
||||
by SuSEconfig.fonts (/usr/sbin/fonts-config).
|
||||
* Mon Feb 06 2006 - mfabian@suse.de
|
||||
- update to 2.3.93.20060206.16:
|
||||
improved version of seife-crash.diff now included upstream.
|
||||
* Mon Feb 06 2006 - mfabian@suse.de
|
||||
- fc-loop-scan-fix.diff (by Takashi IWAI <tiwai@suse.de>):
|
||||
the endless loop in fc-cache if a subdirectory was a symlink
|
||||
pointing to a directory higher up was already fixed but
|
||||
there was still an endless loop when using fontconfig
|
||||
(e.g. when using "fc-match").
|
||||
* Mon Feb 06 2006 - mfabian@suse.de
|
||||
- update to 2.3.93.20060206.
|
||||
- fontconfig-misc-warning-fixes.diff, fontconfig-memleak-fix.diff
|
||||
included upstream.
|
||||
- Dirk Mueller's seife-crash.diff partly included upstream.
|
||||
* Sun Feb 05 2006 - aj@suse.de
|
||||
- Fix typo in suse-post-user.conf [#148268].
|
||||
* Fri Feb 03 2006 - mfabian@suse.de
|
||||
- fc-cache-loop-fix.diff (by Takashi IWAI <tiwai@suse.de>):
|
||||
fc-cache did loop endless if a subdirectory was a symlink
|
||||
pointing to a directory higher up, e.g.
|
||||
ln -s /usr/share/fonts /usr/share/fonts/ttt
|
||||
* Fri Feb 03 2006 - mfabian@suse.de
|
||||
- bugzilla #147994:
|
||||
include IPAGothic as a fallback for IPAPGothic in the prefer
|
||||
list for sans (and some more fixes in the same spirit).
|
||||
* Thu Feb 02 2006 - tiwai@suse.de
|
||||
- Fixed language detections. Now :lang=xxx should work.
|
||||
* Thu Feb 02 2006 - dmueller@suse.de
|
||||
- add patch to never open or validate font caches
|
||||
when fc-cache -f is used.
|
||||
* Wed Feb 01 2006 - tiwai@suse.de
|
||||
- Fixes by Dirk Mueller <dmueller@suse.de>:
|
||||
fc-verbose.diff, seife-crash.diff
|
||||
- print out a warning if the global cache expired
|
||||
- fix crashes on malformed fonts.cache
|
||||
* Tue Jan 31 2006 - mfabian@suse.de
|
||||
- two more patches by Takashi Iwai <tiwai@suse.de>:
|
||||
fontconfig-memleak-fix.diff, fccache-update-check.diff
|
||||
* Tue Jan 31 2006 - mfabian@suse.de
|
||||
- Patches by Takashi Iwai <tiwai@suse.de>:
|
||||
- fontconfig-misc-warning-fixes.diff (mainly to check return values
|
||||
of read (), write (), and seek ()).
|
||||
- fontconfig-fontsubdir-parse-fix.diff:
|
||||
if FcConfigNormalizeFontDir () was called with a directory
|
||||
which is not a subdirectory of a directory from a .conf file,
|
||||
the list of all subdirectories was added to the list of known
|
||||
directories. When doing this again, the list of subdirectories
|
||||
was added again. Takashi's patch fixes this.
|
||||
* Tue Jan 31 2006 - mfabian@suse.de
|
||||
- update to 2.3.93.20060131.
|
||||
- fc-cache-should-not-stop-at-the-first-non-existing-directory.patch,
|
||||
destroy-completely-broken-cache-files-in-home-directory.patch
|
||||
included upstream
|
||||
- add "make check" to .spec file and fix expected output.
|
||||
* Mon Jan 30 2006 - mfabian@suse.de
|
||||
- fc-cache-should-not-stop-at-the-first-non-existing-directory.patch
|
||||
* Mon Jan 30 2006 - mfabian@suse.de
|
||||
- destroy-completely-broken-cache-files-in-home-directory.patch:
|
||||
when no string at all can be read from a ~/.fonts.cache-2 file
|
||||
or if such a file does not start with FC_GLOBAL_MAGIC_COOKIE,
|
||||
something is badly wrong and the file should be destroyed.
|
||||
* Mon Jan 30 2006 - mfabian@suse.de
|
||||
- update to 2.3.93.20060130.
|
||||
- full-path-problem.patch included upstream now.
|
||||
- check return values of read(), write(), and lseek() and give
|
||||
error message if something goes wrong.
|
||||
- endless-loop.patch included upstream
|
||||
* Fri Jan 27 2006 - mfabian@suse.de
|
||||
- check return values of FcCacheReadString () to fix endless loop.
|
||||
See:
|
||||
http://lists.freedesktop.org/archives/fontconfig/2006-January/001959.html
|
||||
* Fri Jan 27 2006 - mfabian@suse.de
|
||||
- update to 2.3.93.20060127.
|
||||
- blacklist the Hershey-fonts, the *.fon fonts from the "wine"
|
||||
package and all *.bdf fonts because these do not work with
|
||||
fontconfig/Xft2 (at least not now).
|
||||
* Fri Jan 27 2006 - mls@suse.de
|
||||
- converted neededforbuild to BuildRequires
|
||||
* Thu Jan 26 2006 - mfabian@suse.de
|
||||
- update to 2.3.93.20060126.
|
||||
do-not-crash-if-non-existing-directories-are-referenced-from-local-cache-file.patch
|
||||
is now included upstream.
|
||||
* Thu Jan 26 2006 - mfabian@suse.de
|
||||
- do-not-crash-if-non-existing-directories-are-referenced-from-local-cache-file.patch
|
||||
to fix the problem reported in:
|
||||
http://lists.freedesktop.org/archives/fontconfig/2006-January/001948.html
|
||||
* Wed Jan 25 2006 - mfabian@suse.de
|
||||
- update to 2.3.93.20060125.
|
||||
(memory leaks fixed, zhe-su-fix-zh-hk-support.patch included
|
||||
upstream).
|
||||
- don't package /var/cache/fontconfig/stamp, only
|
||||
package the directory.
|
||||
- improve-normalization-of-font-path-add-subdirs.patch:
|
||||
add an cheap method to add subdirectories to the list of
|
||||
font directories to avoid having to call the expensive
|
||||
FcInitLoadConfigAndFonts () function.
|
||||
* Fri Jan 20 2006 - mfabian@suse.de
|
||||
- add improve-normalization-of-font-path.patch.
|
||||
* Fri Jan 20 2006 - mfabian@suse.de
|
||||
- update to 2.3.93.20060120.
|
||||
- bugzilla #142215: unaligned-access.patch by
|
||||
Andreas Schwab <schwab@suse.de> now included upstream.
|
||||
* Thu Jan 19 2006 - schwab@suse.de
|
||||
- Fix stupid misaligned accesses.
|
||||
* Thu Jan 19 2006 - mfabian@suse.de
|
||||
- update to 2.3.93.20060119.
|
||||
- add-dir-early-in-FcDirScanConfig.patch now included upstream.
|
||||
- fix-inode-compare.diff (by Dirk Mueller <dmueller@suse.de>) is
|
||||
also included upstream.
|
||||
* Wed Jan 18 2006 - mfabian@suse.de
|
||||
- add add-dir-early-in-FcDirScanConfig.patch to fix the problem
|
||||
reported in
|
||||
http://lists.freedesktop.org/archives/fontconfig/2006-January/001904.html
|
||||
* Mon Jan 16 2006 - mfabian@suse.de
|
||||
- update to 2.3.93.20060116.
|
||||
- remove fc-cat-crash.patch (included upstream).
|
||||
* Thu Jan 12 2006 - mfabian@suse.de
|
||||
- add zhe-su-fix-zh-hk-support.patch (by Zhe Su <zsu@novell.com>,
|
||||
see also:
|
||||
http://lists.freedesktop.org/archives/fontconfig/2006-January/001861.html
|
||||
http://lists.freedesktop.org/archives/fontconfig/2006-January/001864.html
|
||||
* Thu Jan 12 2006 - mfabian@suse.de
|
||||
- add normalize-path-in-fc-cache.patch to fix the problem reported
|
||||
here:
|
||||
http://lists.freedesktop.org/archives/fontconfig/2006-January/001878.html
|
||||
Although
|
||||
http://lists.freedesktop.org/archives/fontconfig/2006-January/001875.html
|
||||
claims that this problem was fixed, part of the problem still
|
||||
remained. "fc-cache /foo/bar" and "fc-cache /foo/bar/" generate
|
||||
files with the same name (md5sum) now, the command using the
|
||||
final '/' always rewrote the cache even if it was already
|
||||
up-to-date.
|
||||
* Wed Jan 11 2006 - mfabian@suse.de
|
||||
- update to 2.3.93.20060110.
|
||||
- add full-path-problem.patch to fix the problem that all
|
||||
full path names reported by "fc-match -v" and "fc-list : file"
|
||||
omit the last directory component which caused all applications
|
||||
using fontconfig to crash.
|
||||
* Mon Jan 09 2006 - mfabian@suse.de
|
||||
- update to 2.3.93.20060109.
|
||||
- remove Zhe Su's patch fcmatch-2.3.93-take2.patch (has been
|
||||
included upstream).
|
||||
- remove my dummy-crash.patch (included upstream).
|
||||
- add fc-cat-crash.patch to fix the problem reported in
|
||||
http://lists.freedesktop.org/archives/fontconfig/2006-January/001879.html
|
||||
- sync /etc/fonts/suse-hinting.conf with the template in
|
||||
the fonts-config package.
|
||||
* Thu Jan 05 2006 - mfabian@suse.de
|
||||
- update to 2.3.93.20060105 (fixes the problem reported in
|
||||
http://lists.freedesktop.org/archives/fontconfig/2006-January/001854.html
|
||||
)
|
||||
- add new java-1_4_2 font directory. Being able to use
|
||||
wildcards in directories would be helpful ...
|
||||
* Wed Jan 04 2006 - mfabian@suse.de
|
||||
- add dummy-crash.patch o avoid the crash when calling
|
||||
'fc-match "foo:\\_\\_DUMMY\\_\\_=1"'.
|
||||
- sync /etc/fonts/suse-hinting.conf with the template in
|
||||
the fonts-config package.
|
||||
* Tue Jan 03 2006 - mfabian@suse.de
|
||||
- update to 2.3.93.20060103 (fixes Bugzilla #141217).
|
||||
* Fri Dec 30 2005 - mfabian@suse.de
|
||||
- apply fcmatch-2.3.93-take2.patch (by Zhe Su <zsu@novell.com>)
|
||||
to fix the problem that fonts sometimes could not be matched by
|
||||
their localized names anymore. See also
|
||||
http://lists.freedesktop.org/archives/fontconfig/2005-December/001843.html
|
||||
and the other mails in that thread.
|
||||
* Wed Dec 21 2005 - mfabian@suse.de
|
||||
- update to 2.3.93.20051222.
|
||||
* Tue Dec 13 2005 - mfabian@suse.de
|
||||
- Bugzilla #118720: add Hebrew fonts from the culmus package to
|
||||
the prefer lists: "Frank Ruehl CLM" (serif),
|
||||
"Nachlieli CLM" (sans-serif), "Miriam Mono CLM" (monospace).
|
||||
* Thu Dec 08 2005 - mfabian@suse.de
|
||||
- bitmap-encoding-problem.patch: PCF fonts that have no encoded
|
||||
characters must be skipped, they are usually just Unicode fonts
|
||||
transcoded to some legacy encoding. Only Unicode and Latin1
|
||||
are supported by fontconfig, if such fonts are not skipped they
|
||||
can be accidentally matched by fontconfig and used by
|
||||
applications. But they don't work, most applications only
|
||||
display replacement characters when such fonts are used, some
|
||||
even crash (urxvt). Probably fonts that have no encoded
|
||||
characters in other formats than PCF are also useless and
|
||||
can be skipped as well.
|
||||
* Wed Dec 07 2005 - mfabian@suse.de
|
||||
- update to 2.3.92.20051206.
|
||||
* Wed Nov 30 2005 - coolo@suse.de
|
||||
- update once more to CVS as more patches of us went in
|
||||
* Thu Nov 24 2005 - coolo@suse.de
|
||||
- update to CVS to include even more performance patches
|
||||
* Tue Nov 22 2005 - coolo@suse.de
|
||||
- update to CVS to include performance patches by Dirk Mueller and
|
||||
some crash fixes by others
|
||||
* Thu Nov 17 2005 - coolo@suse.de
|
||||
- update to CVS to include several fixes by Andreas Schwab, Michael Matz
|
||||
and me (generic architecture support)
|
||||
* Thu Nov 03 2005 - coolo@suse.de
|
||||
- update to 2.3.91.20051103 with an extra patch to avoid creating
|
||||
invalid cashes (#128080 seems fixed)
|
||||
* Thu Oct 27 2005 - mfabian@suse.de
|
||||
- Bugzilla #128937: use FcFalse as the default value for
|
||||
FC_EMBEDDED_BITMAP (requested by Zhe Su).
|
||||
- Bugzilla #130350: add agfa-fonts "Andale Sans", "Andy MT",
|
||||
"Bell MT", and "Monotype Sorts" to the list of fonts which
|
||||
are rendered with the byte code interpreter and without
|
||||
anti-aliasing up to the pixellimit specified in
|
||||
/etc/sysconfig/fonts-config.
|
||||
* Wed Oct 26 2005 - mfabian@suse.de
|
||||
- update to 2.3.91.20051026.
|
||||
* Mon Oct 24 2005 - mfabian@suse.de
|
||||
- update to 2.3.91.20051024.
|
||||
+ remove bugzilla-102328.patch (included upstream).
|
||||
+ remove fontconfig-sentinel.patch (included upstream).
|
||||
+ remove Zhe Su's
|
||||
bugzilla-128930-support-localized-family-and-style-names.patch
|
||||
(included upstream)
|
||||
* Thu Oct 20 2005 - mfabian@suse.de
|
||||
- Bugzilla #129081: move fonts which are metric compatible to
|
||||
Helvetica to the top of the prefer list for sans-serif, fonts
|
||||
which are metric compatible to Times to the top of the prefer
|
||||
list for serif, and fonts which are metric compatible to courier
|
||||
to the top of the prefer list for monospace.
|
||||
This is needed for example to display pdf documents better in
|
||||
kpdf.
|
||||
- Bugzilla #128930: use newer version of Zhe Su's patch to solve
|
||||
the problem mentioned in comment #8.
|
||||
* Wed Oct 19 2005 - mfabian@suse.de
|
||||
- update to 2.3.91.20051019.
|
||||
+ remove fix-return-code.patch (included upstream).
|
||||
- Bugzilla #128930: add patch by Zhe Su <zsu@novell.com> to
|
||||
improve support of localized font family and style names by
|
||||
sorting them according to the current locale settings.
|
||||
With this change, applications which use fontconfig will
|
||||
automatically get the localized font family and style names.
|
||||
* Fri Oct 14 2005 - mfabian@suse.de
|
||||
- the return value of fc-cache in directories where
|
||||
fonts.cache-2 doesn't exist was 1. Fix this.
|
||||
* Thu Oct 13 2005 - mfabian@suse.de
|
||||
- update to 2.3.91.20051013
|
||||
current head of fontconfig 2.4 branch).
|
||||
Fixes problem that fc-cache returns 1 (failed) when updating
|
||||
an already existing fonts.cache-2 file.
|
||||
* Wed Oct 12 2005 - mfabian@suse.de
|
||||
- update to 2.3.91.20051012
|
||||
(current head of fontconfig 2.4 branch).
|
||||
Solves the performance regression problem that fc-cache
|
||||
did take a lot of time even when nothing was changed in the
|
||||
font directories.
|
||||
* Fri Oct 07 2005 - mfabian@suse.de
|
||||
- update to 2.3.91.20051007
|
||||
(current head of fontconfig 2.4 branch).
|
||||
* Tue Sep 27 2005 - mfabian@suse.de
|
||||
- Bugzilla #118727: fix artificial bold for applications using
|
||||
cairo. Thanks to Zhe Su <zsu@novell.com>.
|
||||
* Fri Sep 09 2005 - mfabian@suse.de
|
||||
- Bugzilla #114949 comment #20 - #21: add a rule to
|
||||
suse-post-user.conf to switch off the autohinter for the webfonts
|
||||
and the agfa-fonts if anti-aliasing is already off.
|
||||
This nice idea came from Sven Burmeister.
|
||||
* Thu Sep 08 2005 - mfabian@suse.de
|
||||
- Bugzilla #114949: remove stuff from /etc/fonts/*.conf which
|
||||
has become obsolete. Rules to replace outline fonts with
|
||||
bitmap fonts are not necessary anymore if fonts are available
|
||||
which can achieve rendering quality equal to hand tuned
|
||||
bitmaps when the byte code interpreter is used.
|
||||
* Fri Sep 02 2005 - mfabian@suse.de
|
||||
- Bugzilla #114949: move the rules to setup the hinting and
|
||||
anti-aliasing and the rules to enable embedded bitmaps from
|
||||
suse-pre-user.conf into seperate files and include these
|
||||
from suse-pre-user.conf. This makes it easier to edit or replace
|
||||
these rules with SuSEconfig.fonts according to values of
|
||||
variables in /etc/sysconfig.
|
||||
* Sat Aug 20 2005 - mfabian@suse.de
|
||||
- Bugzilla #105990: switch on embedded bitmaps again during
|
||||
the installation.
|
||||
* Fri Aug 19 2005 - mfabian@suse.de
|
||||
- Bugzilla #105626: work around the loss of rendering quality
|
||||
for the IPA fonts caused by the update to freetype 2.1.10 by
|
||||
switching off the hinting for the IPA fonts.
|
||||
* Tue Aug 16 2005 - mfabian@suse.de
|
||||
- Bugzilla #102328: use Keith Packard's fix for the problem in
|
||||
the last changelog.
|
||||
* Tue Aug 16 2005 - mfabian@suse.de
|
||||
- Bugzilla #102328: fall back to POSIX if the effective value
|
||||
of LC_CTYPE is the empty string "". By falling back to POSIX
|
||||
here we make sure that even in this case fontconfig matches
|
||||
something readable. Without that it apparently matches completely
|
||||
random and might match a font which doesn't even have ASCII
|
||||
glyphs. As a result, nothing at all may be displayed.
|
||||
* Fri Jul 29 2005 - mfabian@suse.de
|
||||
- Revert the defaults in /etc/fonts/suse-pre-user.conf to use
|
||||
the autohinter and anti-aliasing by default always. Most users
|
||||
apparently do not like the bitmap look and feel caused by the
|
||||
last change. As this seems to be a matter of taste, I leave the
|
||||
rule to achieve that bitmap look and feel in
|
||||
/etc/fonts/suse-pre-user.conf as an example but disable it by
|
||||
default. Users who want a bitmap look and feel have to copy
|
||||
that rule to their personal ~/.fonts.conf file and enable it
|
||||
by choosing a non-zero pixelsize limit as explained in
|
||||
the comments in /etc/fonts/suse-pre-user.conf.
|
||||
* Fri Jul 22 2005 - mfabian@suse.de
|
||||
- Bugzilla #64424: "Bytecodeinterpreter in freetype2 - wieso
|
||||
ausgeschaltet?"
|
||||
The byte code interpreter is enabled now at build time in our
|
||||
freetype2 package. Setup the defaults in /etc/fonts to use
|
||||
black and white rendering (antialias=false) and the byte code
|
||||
interpreter (autohint=false) for a few fonts which are known to
|
||||
have high quality byte code instructions. Set antialias=true
|
||||
and autohint=true as the default for all other fonts.
|
||||
* Thu Jul 21 2005 - mfabian@suse.de
|
||||
- update to 2.3.2.20050721.
|
||||
- Bugzilla #52167: "fc-list reports inconsistent spacing values
|
||||
for some fonts": add a patch to improve the detection of
|
||||
monospaced fonts: ignore glyphs with advance=0 when detecting
|
||||
monospaced fonts and add a special exception for "Luxi Mono"
|
||||
and "Nimbus Mono L".
|
||||
* Wed Jul 20 2005 - mfabian@suse.de
|
||||
- Bugzilla #94110: add more directories to the default font path.
|
||||
* Tue Jul 12 2005 - mfabian@suse.de
|
||||
- update to 2.3.2.20050712
|
||||
+ remove ka.orth.patch, now included.
|
||||
* Wed Jun 29 2005 - sbrabec@suse.cz
|
||||
- Added expat to fontconfig-devel to make the .la checker easier.
|
||||
* Fri May 20 2005 - mfabian@suse.de
|
||||
- Fix ka.orth (Georgian), it apparently requires too many
|
||||
characters which are not really used for Georgian.
|
||||
- Add BPG fonts (for Georgian) to the preference lists.
|
||||
* Thu Mar 17 2005 - mfabian@suse.de
|
||||
- add Sazanami and IPA fonts to suse-generic-names.conf.
|
||||
* Fri Mar 11 2005 - mfabian@suse.de
|
||||
- Bugzilla #66498 again: the last change wasn't a good idea after
|
||||
all. The design of the embedded bitmaps is quite bad in some
|
||||
sizes, especially the Japanese katakana look extremely ugly.
|
||||
Therefore it is better not to use the embedded bitmaps during
|
||||
the installation. I added a special /etc/fonts/local.conf.instsys
|
||||
file which should be copied to /etc/fonts/local.conf only for
|
||||
the installation and which is not used in the installed system.
|
||||
* Thu Mar 03 2005 - mfabian@suse.de
|
||||
- Bugzilla #66498: use embedded bitmaps for Korean and Japanese
|
||||
as well, not only for Chinese as before to get readable Japanese
|
||||
and Chinese during the installation. The Latin fonts we currently
|
||||
use during the installation are smaller as before. With the
|
||||
Gnu Unifont currently used for CJK, this leads to clipping
|
||||
problems because this bitmap font cannot scale to a smaller size.
|
||||
When using TrueType fonts like FZSongTi for CJK, the clipping
|
||||
problems disappear because the font can scale down. But in such
|
||||
a tiny size, Japanese or Chinese is almost unreadable with
|
||||
Anti-Aliasing. It's better readable with the embedded bitmaps.
|
||||
* Mon Feb 21 2005 - mfabian@suse.de
|
||||
- re-enable bitmap fonts.
|
||||
* Fri Feb 18 2005 - mfabian@suse.de
|
||||
- update to 2.2.99.20050218.
|
||||
* Tue Feb 01 2005 - meissner@suse.de
|
||||
- package now adds -fno-strict-aliasing by itself.
|
||||
- added sentinel valist markup for 2 functions.
|
||||
* Thu Jan 13 2005 - mfabian@suse.de
|
||||
- add entries for preferred fonts for Farsi (Persian):
|
||||
Terafik -> sans-serif, monospaced, Nazil -> serif.
|
||||
* Wed Oct 06 2004 - mfabian@suse.de
|
||||
- Bugzilla #46852: add /usr/lib/ooo-1.1/share/fonts to the default
|
||||
directories searched for fonts.
|
||||
* Fri Sep 17 2004 - mfabian@suse.de
|
||||
- add "Georgia", "Trebuchet", "Segoe", "Bell MT", and "Andale Sans"
|
||||
to the generic lists.
|
||||
* Tue Sep 14 2004 - mfabian@suse.de
|
||||
- add FZMingTiB to the "monospace" prefer list (thanks to Zhe Su
|
||||
for noticing). Remove all "Kai" fonts from the "sans-serif"
|
||||
prefer list.
|
||||
* Tue Sep 14 2004 - mfabian@suse.de
|
||||
- Bugzilla #45160, Comment #6:
|
||||
prefer FZSongTi and FZMingTiB also for sans-serif instead of
|
||||
the "Kai" fonts.
|
||||
* Tue Sep 14 2004 - mfabian@suse.de
|
||||
- Bugzilla #44409: set the default value for rgba to "unknown"
|
||||
instead of "none".
|
||||
* Mon Sep 06 2004 - mfabian@suse.de
|
||||
- add Japanese IPA fonts to prefer lists.
|
||||
- add FZMingTiB to prefer list for "serif" below "FZSongTi"
|
||||
(if we don't install the Arphic fonts by default, there is
|
||||
no traditional Chinese font left in the list otherwise).
|
||||
* Wed Aug 25 2004 - kukuk@suse.de
|
||||
- Avoid /bin/sh in PreRequires
|
||||
* Tue Aug 10 2004 - mfabian@suse.de
|
||||
- for some Bengali fonts (e.g. "Mukti Narrow"), the autohinter
|
||||
works well with the patch from
|
||||
http://www.kde.gr.jp/~akito/patch/freetype2/2.1.7
|
||||
applied. But for "Likhan" it still doesn't work that well
|
||||
(look how the "matra" lines at the top line up). Therefore,
|
||||
switch off the autohinter for the "Likhan" font.
|
||||
* Mon Aug 09 2004 - mfabian@suse.de
|
||||
- add Bengali fonts "Likhan" (serif) and "Mukti Narrow"
|
||||
(sans-serif) to the prefer lists.
|
||||
* Wed Aug 04 2004 - mfabian@suse.de
|
||||
- add sazanami fonts to the prefer lists.
|
||||
* Wed Jul 28 2004 - mfabian@suse.de
|
||||
- update to 2.2.96.20040728. remove fontconfig.patch, this is
|
||||
included upstream now. This update also includes a patch by
|
||||
Lubos Lunak <l.lunak@suse.cz> which helps to improve the
|
||||
performance of fontconfig with KDE.
|
||||
* Fri Jun 04 2004 - mfabian@suse.de
|
||||
- prefer the proportinal "HGPMinchoL" instead of the monospaced
|
||||
"HGMinchoL" for serif. Same with "HGPGothicB" instead of
|
||||
"HGGothicB" for sans-serif.
|
||||
- add all Mincho and Gothic faces of the commercial Ricoh fonts
|
||||
to the list of generic names in suse-generic-names.conf to get
|
||||
reasonable fallbacks if those fonts are not installed.
|
||||
* Fri May 28 2004 - mfabian@suse.de
|
||||
- add the Japanese fonts "HGMinchoL" and "HGGothicB" made by Ricoh
|
||||
to the prefer lists and generics lists. These are the fonts which
|
||||
Novell Japan has licensed, they should be preferred if they are
|
||||
installed.
|
||||
* Wed May 26 2004 - ro@suse.de
|
||||
- fix build by defining MIN,MAX and ABS where needed
|
||||
* Fri Apr 23 2004 - mfabian@suse.de
|
||||
- Bugzilla #38243: fix the characters set handling for the
|
||||
Japanese Dynafonts.
|
||||
* Tue Apr 20 2004 - mfabian@suse.de
|
||||
- Bugzilla #38244:
|
||||
remove rules to force use of embedded bitmaps by switching
|
||||
off anti-aliasing. This is not needed anymore because libXft
|
||||
in our XFree86 package is patched to make use of the embedded
|
||||
bitmaps anyway if the embeddedbitmap=true parameter is set.
|
||||
* Fri Apr 16 2004 - mfabian@suse.de
|
||||
- Bugzilla #38244: use embedded bitmaps by default for Chinese
|
||||
(requested by Zhe Su).
|
||||
* Fri Apr 16 2004 - mfabian@suse.de
|
||||
- Bugzilla #38205: make hintstyle=hintfull the default again
|
||||
for CJK fonts. Our freetype package now has a patch applied to
|
||||
improve the hinting for CJK fonts, with that patch the results
|
||||
are much better with hintstyle=hintfull than with
|
||||
hintstyle=hintnone.
|
||||
- fix from upstream CVS: (src/fcfreetype.c):
|
||||
* Fixed bug in using available_sizes[i].height which
|
||||
is in pixels, not 64ths of a pixel.
|
||||
* Sat Apr 03 2004 - mfabian@suse.de
|
||||
- Bugzilla #38204 comment #5:
|
||||
"Fix some issue in the default alias list": SimSun is a serif
|
||||
font, it should not ge in the generics sans-serif list.
|
||||
- Bugzilla #38204 comment #9:
|
||||
add rule to get artificial bold for fonts without a bold version.
|
||||
Until Bugzilla #38202 is fixed, this rule does nothing, but it
|
||||
does no harm either.
|
||||
- also specify the foundry when trying to prefer bitmap fonts,
|
||||
without that the prefer_bitmap rules won't work with Qt
|
||||
applications.
|
||||
* Fri Apr 02 2004 - mfabian@suse.de
|
||||
- Bugzilla #37540: rework rules for use of bitmap fonts to make
|
||||
it easier to get at clearly readable results for CJK if by using
|
||||
embedded bitmaps are used:
|
||||
* improve rules for the case "prefer_bitmap=true" (not default)
|
||||
for Latin fonts: replace all "Helvetica" clones with
|
||||
the bitmap font "Adobe Helvetica", all "Times" clones with
|
||||
"Adobe Times", and all "Courier" clones with "Adobe Courier".
|
||||
For hardcore bitmap addicts.
|
||||
* use embedded bitmaps only for complete ranges, i.e. never
|
||||
use bitmaps from size a-b, scalable fonts from b-c, and bitmaps
|
||||
again from size c-d.
|
||||
* don't match pixelsizes with compare="eq" when trying to use
|
||||
embedded bitmaps. This won't work if non-integer pixelsizes are
|
||||
requested. Use compare="more_eq" and compare="less_eq" to check
|
||||
for a range instead. Then the embedded bitmaps will be used
|
||||
for the whole range, even if non-integer pixelsizes are
|
||||
requested.
|
||||
* use embedded bitmaps for "FZSongTi" only up to 18 pixel.
|
||||
- change prefer lists for Chinese:
|
||||
* make "FZSongTi" the highest priority "serif" and "monospace"
|
||||
font for Chinese
|
||||
* make "FZKaiTi" the highest priority "sans-serif" font for
|
||||
Chinese.
|
||||
* remove "SimSun", "FZSongTi", "HanyiSong", and "ZYSong18030"
|
||||
from the prefer list for "sans-serif" because these are really
|
||||
serif fonts.
|
||||
* remove "AR PL KaitiM GB" and "AR PL KaitiM Big5" from the prefer
|
||||
list for monospace. All other Chinese fonts in this list are
|
||||
"ming" or "song" style, it is weird to have fonts of the
|
||||
completely different "kai" style in the same list.
|
||||
* Thu Apr 01 2004 - mfabian@suse.de
|
||||
- Bugzilla #37114 and 37540: use hintstyle=hintnone for
|
||||
CJK fonts to improve rendering.
|
||||
- Bugzilla #37820: handle dual-width fonts as proportional fonts
|
||||
to avoid extra wide spacing.
|
||||
- Bugzilla #34400: CID-keyed fonts work for SuSE 9.1 remove
|
||||
the directory /usr/share/ghostscript/Resource/CIDFont/ from
|
||||
the default font directory list again.
|
||||
* Mon Mar 29 2004 - mfabian@suse.de
|
||||
- Bugzilla #37310: fix location of fontconfig-user.html in
|
||||
man-pages.
|
||||
* Wed Mar 24 2004 - mfabian@suse.de
|
||||
- Bugzilla #36879: don't match fonts without foundries if
|
||||
a specific foundry is requested (fix from upstream CVS).
|
||||
- remove bitmap-spacing.patch (included upstream).
|
||||
- install iso639-{1,2} as documentation
|
||||
* Fri Mar 19 2004 - mfabian@suse.de
|
||||
- Bugzilla 36561#:
|
||||
require the Euro sign for languages fr,nl,de,el,es,it,pt,fi,
|
||||
and en.
|
||||
* Thu Mar 11 2004 - bg@suse.de
|
||||
- use -fPIC for static libraries too.
|
||||
* Tue Mar 02 2004 - mfabian@suse.de
|
||||
- update to 2.2.92.20040221.
|
||||
- add bitmap-spacing.patch to fix Bugzilla #34677
|
||||
* Mon Mar 01 2004 - mfabian@suse.de
|
||||
- add entries for Adrian's new "SUSE Sans", "SUSE Serif",
|
||||
"SUSE Sans Mono" fonts. Prefer over Nimbus and Luxi.
|
||||
* Mon Feb 09 2004 - mfabian@suse.de
|
||||
- update to 2.2.92.20040206.
|
||||
- remove fontconfig-ta.orth-cvs.patch and freetype-2.1.7.patch
|
||||
(included now).
|
||||
- add /usr/local/share/fonts/ as a default directory (see
|
||||
http://mail.fontconfig.org/pipermail/fontconfig/2003-October/000671.html
|
||||
- add /usr/share/ghostscript/Resource/CIDFont/ as a default
|
||||
font directory.
|
||||
- add rule to use the URW font "Standard Symbols L" as a
|
||||
replacement if the original Adobe "Symbol" font is not available.
|
||||
(see Bugzilla #34324)
|
||||
- move SuSE specific fontconfig rules into included files.
|
||||
* Sat Jan 10 2004 - adrian@suse.de
|
||||
- build as user
|
||||
* Tue Dec 23 2003 - mfabian@suse.de
|
||||
- make it build with freetype 2.1.7 again.
|
||||
- Bugzilla Bug 32080: turn off subpixel hinting by default.
|
||||
* Thu Oct 02 2003 - mfabian@suse.de
|
||||
- remove "ed" from "# neededforbuild".
|
||||
* Thu Aug 28 2003 - mfabian@suse.de
|
||||
- add "FreeSans", "FreeSerif", "FreeMono" to fonts.conf
|
||||
(priority below Nimbus, Bitstream and Luxi).
|
||||
- move priority of "Bitstream Vera" fonts below Nimbus.
|
||||
- move fontconfig-devel documentation to
|
||||
/usr/share/doc/packages/fontconfig-devel.
|
||||
* Sun Aug 24 2003 - adrian@suse.de
|
||||
- add freetype2-devel and glibc-devel to the -devel Requires
|
||||
* Sat Aug 23 2003 - adrian@suse.de
|
||||
- udpate to version 2.2.1
|
||||
- add %%run_ldconfig
|
||||
* Tue Jul 15 2003 - mfabian@suse.de
|
||||
- add rules to use embedded bitmaps in FZSongTi if desired.
|
||||
- use binding="same" instead of binding="strong" when adding
|
||||
bitmap fonts to the pattern. This is necessary to keep the
|
||||
generic aliases "sans-serif" etc. working as usual even
|
||||
if "prefer_bitmap" is set to "true". With binding="strong",
|
||||
"sans-serif" always expands to "Adobe Helvetica" if
|
||||
"prefer_bitmap" is set to "true" which is not useful for
|
||||
many languages.
|
||||
* Wed Jul 09 2003 - sndirsch@suse.de
|
||||
- added FZSongTi to serif, sans-serif and monospace family aliases
|
||||
* Wed May 28 2003 - mfabian@suse.de
|
||||
- install fc-list and fc-cache man pages.
|
||||
* Sun May 18 2003 - mfabian@suse.de
|
||||
- fontconfig-ta.orth-cvs.patch: Remove 0b82 and Tamil numbers from
|
||||
tamil orthography (from upstream cvs)
|
||||
- add Tamil fonts to "prefer" aliases
|
||||
- remove duplicate entries of the Bitstream fonts from fonts.conf
|
||||
- set globaladvance=false for Y.OzFont because it is a dual-width
|
||||
font.
|
||||
- change .spec file to make it possible to build with /usr/X11R6
|
||||
prefix (to make updates for SuSE Linux 8.2 easy).
|
||||
* Wed Apr 23 2003 - sndirsch@suse.de
|
||||
- created package
|
15
improve-monospace-detection.patch
Normal file
15
improve-monospace-detection.patch
Normal file
@ -0,0 +1,15 @@
|
||||
diff -ru fontconfig-2.3.93.20060116.orig/src/fcfreetype.c fontconfig-2.3.93.20060116/src/fcfreetype.c
|
||||
--- fontconfig-2.3.93.20060116.orig/src/fcfreetype.c 2005-12-21 16:47:42.000000000 +0100
|
||||
+++ fontconfig-2.3.93.20060116/src/fcfreetype.c 2006-01-16 13:01:53.000000000 +0100
|
||||
@@ -2649,6 +2649,11 @@
|
||||
printf ("Bitmap extra char 0x%x\n", ucs4);
|
||||
}
|
||||
#endif
|
||||
+ if (face->family_name != NULL &&
|
||||
+ (!strcmp(face->family_name,"Luxi Mono") ||
|
||||
+ !strcmp(face->family_name,"Nimbus Mono L")))
|
||||
+ fixed_advance = FcTrue;
|
||||
+
|
||||
if (fixed_advance)
|
||||
*spacing = FC_MONO;
|
||||
else if (dual_advance && APPROXIMATELY_EQUAL (2 * FC_MIN (advance_one, advance_two), FC_MAX (advance_one, advance_two)))
|
139
iso639-1
Normal file
139
iso639-1
Normal file
@ -0,0 +1,139 @@
|
||||
AA * Afar Djibouti, N Ethiopia Hamito-Semitic F., Cushitic Br.
|
||||
AB * Abkhazian Abkhazia (Georgia) Caucasian F.
|
||||
AF * Afrikaans South Africa, Namibia Indo-European F., Germanic Br. 10
|
||||
AM * Amharic Ethiopia Hamito-Semitic F., Semitic Br. 20
|
||||
AR * Arabic Middle East, N Africa Hamito-Semitic F., Semitic Br. 218
|
||||
AS Assamese Assam (India) Indo-European F., Indo-Iranian Br. 23
|
||||
AY * Aymara Bolivia, Peru Andean-Equatorial F., Andean Br. 2
|
||||
AZ * Azerbaijani Iran, Azerbaijan Uralo-Altaic F., Turkic Br. 15
|
||||
BA * Bashkir Bashkir (S Urals, Russia) Uralo-Altaic F., Turkic Br. 1
|
||||
BE * Byelorussian Byelorussia Indo-European F., Balto-Slavic Br. 10
|
||||
BG * Bulgarian Bulgaria, Yugoslavia, Greece Indo-European F., Balto-Slavic Br. 9
|
||||
BH * Bihari Bihar (India) Indo-European F., Indo-Iranian Br.
|
||||
BI * Bislama Vanuatu, New Caledonia English based creole, Pacific
|
||||
BN * Bengali, Bangla Bangladesh, West Bengal (India) Indo-European F., Indo-Iranian Br. 196
|
||||
BO * Tibetan Tibet, Bhutan, Nepal, India Sino-Tibetan F., Tibeto-Burmese Br. 5 BO from Bodskad
|
||||
BR * Breton Britanny (W France) Indo-European F., Celtic Br.
|
||||
CA * Catalan Catalania (NE Spain), Balearic Islands, Sardinia, S France, Andorra, Argentina Indo-European F., Italic Br. 9
|
||||
CO * Corsican Corsica (France) Indo-European F., Italic Br.
|
||||
CS * Czech Czech Republic Indo-European F., Balto-Slavic Br. 11
|
||||
CY * Welsh Wales (United Kingdom) Indo-European F., Celtic Br.
|
||||
DA * Danish Denmark, Germany Indo-European F., Germanic Br. 5
|
||||
DE * German Germany, Austria, Switzerland, U.S.A. Indo-European F., Germanic Br. 121 DE from Deutsch
|
||||
DZ * Bhutani, Bhutanese Bhutan Sino-Tibetan F., Tibeto-Burmese Br.
|
||||
EL * Greek Greece, Cyprus, Turkey Indo-European F., Hellenic Br. 12
|
||||
EN * English North America, British Isles, Australia, New Zealand, South Africa Indo-European F., Germanic Br. 470
|
||||
EO * Esperanto 2 Artificial language
|
||||
ES * Spanish Spain, Latin America, U.S.A. Indo-European F., Italic Br. 381
|
||||
ET * Estonian Estonia Uralo-Altaic F., Finno-Ugric Br. 1
|
||||
EU * Basque W Pyrenees (France, Spain) (Isolate) EU from Euskera
|
||||
FA * Persian Iran, Afghanistan Indo-European F., Indo-Iranian Br. 35 FA from Farsi
|
||||
FI * Finnish, Suomi Finland, Russia, Sweden Uralo-Altaic F., Finno-Ugric Br. 6
|
||||
FJ * Fiji, Fijian Fiji Austric F., Malayo-Polynesian Br.
|
||||
FO * Faroese, Faeroese Faeroe Islands (Denmark) Indo-European F., Germanic Br.
|
||||
FR * French France, Belgium, Canada, U.S.A., Switzerland Indo-European F., Italic Br. 124
|
||||
FY * Frisian Frisian Islands (Netherlands-Germany) Indo-European F., Germanic Br.
|
||||
GA * Irish Ireland Indo-European F., Celtic Br. GA from Gaeilge
|
||||
GD * Scots Gaelic Scotland Indo-European F., Celtic Br.
|
||||
GL * Galician Spanish Galicia Indo-European F., Italic Br. 4
|
||||
GN * Guaran? Paraguay, Bolivia, S Brazil Andean-Equatorial F., Equatorial Br. 4
|
||||
GU * Gujarati, Gujerati Gujarat (India), Bombay, Pakistan, South Africa Indo-European F., Indo-Iranian Br. 40
|
||||
HA * Hausa N Nigeria, Niger, Cameroun Hamito-Semitic F., Chadic Br. 37
|
||||
HE * Hebrew Israel Hamito-Semitic F., Semitic Br. 5 Formerly IW from Iwrith. See Note 4.
|
||||
HI * Hindi India, Pakistan, Trinidad, Guyana, Fiji, Mauritius Indo-European F., Indo-Iranian Br. 418 Same as Urdu [UR] except for writing system. See Note 3.
|
||||
HR * Croatian, Croat Croatia Indo-European F., Balto-Slavic Br. HR from Hrvatski. See Note 2.
|
||||
HU * Hungarian, Magyar Hungary, Romania, Yugoslavia, Czechoslovakia Uralo-Altaic F., Finno-Ugric Br. 14
|
||||
HY * Armenian Armenia, Middle East Indo-European F., Armenian Br. 5 HY from Hayeren
|
||||
IA * Interlingua Artificial language
|
||||
ID * Indonesian, Bahasa Indonesia Indonesia, Malaysia, Thailand, Singapore, Brunei Austric F., Malayo-Polynesian Br. Formerly IN. See Note 4.
|
||||
IE * Interlingue Artificial language. Prototype of Interlingua [IA]
|
||||
IK * Inupiak Greenland, N Canada, Alaska (U.S.A.) Eskimo-Aleut F.
|
||||
IS * Icelandic Iceland Indo-European F., Germanic Br. IS from Islenzk
|
||||
IT * Italian Italy, U.S.A., France, Argentina, Switzerland, Canada, Brazil Indo-European F., Italic Br. 62
|
||||
IU * Inuktitut NE Canada Eskimo-Aleut F. See Note 5.
|
||||
JA * Japanese, Nihongo Japan, Brazil, California (U.S.A.), Hawaii (U.S.A.) Japanese-Korean F. 126
|
||||
JW Javanese Java, Malaysia, Surinam Austric F., Malayo-Polynesian Br. 64 JW from Bahasa Jawa
|
||||
KA * Georgian Georgia Caucasian F. 3 KA from Kartuli
|
||||
KK * Kazakh Kazakhstan, Sinkiang (China), Afghanistan Uralo-Altaic F., Turkic Br. 8
|
||||
KL * Greenlandic Greenland Eskimo-Aleut F. KL from Kalaallisut
|
||||
KM * Cambodian Cambodia, Thailand, Viet Nam Austric F., Austrio-Asiatic Br. 9 KM from Khmer
|
||||
KN * Kannada Karnatuka (India) Dravidian F. 44
|
||||
KO * Korean, Choson-o South Korea, North Korea, NE China, Japan, Siberia, Hawaii (U.S.A.) Japanese-Korean F. 75
|
||||
KS * Kashmiri Kashmir (India-Pakistan) Indo-European F., Indo-Iranian Br. 4
|
||||
KU * Kurdish, Zimany Kurdy Turkey, Iran, Iraq, Syria Indo-European F., Indo-Iranian Br. 11
|
||||
KY * Kirghiz Kirghiz, Sinkiang (China), Afghanistan Uralo-Altaic F., Turkic Br. 2 KY from Kyrgyz
|
||||
LA * Latin Indo-European F., Italic Br. Ancient language nearing extinction
|
||||
LN Lingala, liNgala Zaire, Congo Niger-Kordofanian F., Non-Mande Br. 7
|
||||
LO * Laothian, Pha Xa Lao, Lao Laos, Thailand Sino-Tibetan F., Sino-Siamese Br. 4
|
||||
LT * Lithuanian Lithuania Indo-European F., Balto-Slavic Br. 3
|
||||
LV * Latvian, Lettish Latvia Indo-European F., Balto-Slavic Br. 2
|
||||
MG * Malagasy Madagascar Austric F., Malayo-Polynesian Br. 12
|
||||
MI * Maori New Zealand Austric F., Malayo-Polynesian Br.
|
||||
MK * Macedonian Macedonia, Bulgaria, Greece Indo-European F., Balto-Slavic Br. 2
|
||||
ML * Malayalam Kerala (SW India) Dravidian F. 35
|
||||
MN * Mongolian Mongolia Uralo-Altaic F., Mongolic Br.
|
||||
MO * Moldavian
|
||||
MR * Marathi, Mahrati Maharashtra (W India) Indo-European F., Indo-Iranian Br. 69
|
||||
MS Malay Malaysia, Indonesia Austric F., Malayo-Polynesian Br. 155 MS from Bahasa Malaysia
|
||||
MT * Maltese Malta Hamito-Semitic F., Semitic Br.
|
||||
MY * Burmese Burma, Bangladesh Sino-Tibetan F., Tibeto-Burmese Br. 30 MY from Myanmasa
|
||||
NA Nauru, Nauruan Nauru Austric F., Malayo-Polynesian Br.
|
||||
NE * Nepali, Nepalese Nepal, Uttar Pradesh (India) Indo-European F., Indo-Iranian Br. 16
|
||||
NL * Dutch Netherlands, Belgium Indo-European F., Germanic Br. 21 NL from Nederlands
|
||||
NO * Norwegian Norway Indo-European F., Germanic Br. 5
|
||||
OC * Occitan S France Indo-European F., Italic Br. 4
|
||||
OM * (Afan) Oromo, Galla Ethiopia, Kenya Hamito-Semitic F., Cushitic Br. 10
|
||||
OR * Oriya Orissa (E India) Indo-European F., Indo-Iranian Br. 31
|
||||
PA Punjabi Punjab (India), Pakistan Indo-European F., Indo-Iranian Br. 93 PA from Panjabi
|
||||
PL * Polish Poland, U.S.A. Indo-European F., Balto-Slavic Br. 44
|
||||
PS Pashto, Pushto, Pushtu Afghanistan, Pakistan Indo-European F., Indo-Iranian Br. 21
|
||||
PT * Portuguese Brazil, Portugal, Spain, Uruguay, Argentina, Azores, Goa, Madeira Indo-European F., Italic Br. 182
|
||||
QU Quechua Peru, Ecuador, Bolivia Andean-Equatorial F., Andean Br. 8
|
||||
RM * Rhaeto-Romance, Rhaeto-Romanic, Romansch S Switzerland, N Italy, Tyrol (Austria) Indo-European F., Italic Br.
|
||||
RN Kirundi, kiRundi Niger-Kordofanian F., Non-Mande Br.
|
||||
RO * Romanian, Rumanian Rumania Indo-European F., Italic Br. 25
|
||||
RU * Russian Russia, former USSR republics Indo-European F., Balto-Slavic Br. 288
|
||||
RW Kinyarwanda, kinyaRuanda Rwanda, Burundi, Uganda, Zaire, Tanzania Niger-Kordofanian F., Non-Mande Br. RW from Rwanda
|
||||
SA * Sanskrit India Indo-European F., Indo-Iranian Br. Ancient language
|
||||
SD Sindhi Pakistan, Sind (India) Indo-European F., Indo-Iranian Br. 18
|
||||
SG Sangho, Sango-Ngbandi Central African Republic, Zaire Niger-Kordofanian F., Non-Mande Br. 4
|
||||
SH * Serbo-Croatian Croatia Indo-European F., Balto-Slavic Br. 20 See Note 2.
|
||||
SI * Singhalese, Sinhalese Sri Lanka Indo-European F., Indo-Iranian Br. 13
|
||||
SK * Slovak Slovakia Indo-European F., Balto-Slavic Br. 5
|
||||
SL * Slovenian, Slovene Slovenia, Italy, Austria Indo-European F., Balto-Slavic Br. 2
|
||||
SM * Samoan Samoa Austric F., Malayo-Polynesian Br.
|
||||
SN Shona, chiShona Rhodesia, Mozambique Niger-Kordofanian F., Non-Mande Br. 8
|
||||
SO * Somali Somalia, Ethiopia, Kenya Hamito-Semitic F., Cushitic Br. 5
|
||||
SQ * Albanian Albania, Kosovo (Yugoslavia), Italy, Greece Indo-European F., Albanian Br. 5 SQ from Shqip
|
||||
SR * Serbian Serbia Indo-European F., Balto-Slavic Br. SR from Srpski. See Note 2.
|
||||
SS Siswati, siSwati South Africa, Rhodesia, Swaziland Niger-Kordofanian F., Non-Mande Br.
|
||||
ST Sesotho, siSuthu South Africa, Lesotho, Botswana Niger-Kordofanian F., Non-Mande Br.
|
||||
SU Sundanese West Java Austric F., Malayo-Polynesian Br. 26
|
||||
SV * Swedish Sweden, Finland Indo-European F., Germanic Br. 9 SV from Svenska
|
||||
SW * Swahili, kiSwahili Tanzania, Comoro Islands, Kenya, Mozambique, Zaire Niger-Kordofanian F., Non-Mande Br. 48
|
||||
TA * Tamil Tamil Nadu (S India), Sri Lanka, Malaysia, Singapore Dravidian F. 71
|
||||
TE * Telugu, Telegu Andhra Pradesh (India) Dravidian F. 73
|
||||
TG * Tajik, Tajiki Tadzhikstan Indo-European F., Indo-Iranian Br. 5
|
||||
TH * Thai Thailand 50
|
||||
TI * Tigrinya N Ethiopia Hamito-Semitic F., Semitic Br. 4
|
||||
TK * Turkmen, Turkoman, Turcoman Turkmenistan, Iran, Afghanistan Uralo-Altaic F., Turkic Br. 3
|
||||
TL * Tagalog Philippines Austric F., Malayo-Polynesian Br. 54
|
||||
TN * Setswana South Africa
|
||||
TO * Tonga Niger-Kordofanian F., Non-Mande Br. 7
|
||||
TR * Turkish Turkey, Bulgaria, Yugoslavia, Cyprus, Greece Uralo-Altaic F., Turkic Br. 59
|
||||
TS * Tsonga 3
|
||||
TT * Tatar, Tartar Tatarstan Uralo-Altaic F., Turkic Br. 8
|
||||
TW * Twi, Tshi W Africa Niger-Kordofanian F., Non-Mande Br.
|
||||
UG * Uigur, Uighur, Uyghur Sinkiang (China), Kazakhstan, Uzbekistan, Afghanistan Uralo-Altaic F., Turkic Br. 8 See Note 5.
|
||||
UK * Ukrainian Ukraine, Canada, U.S.A. Indo-European F., Balto-Slavic Br. 47
|
||||
UR * Urdu Pakistan, India Indo-European F., Indo-Iranian Br. 102 Same as Hindi [HI] except for writing system. See Note 3.
|
||||
UZ * Uzbek, Uzbeg, Usbek, Usbeg Uzbekstan, Tadzhikstan, Afghanistan Uralo-Altaic F., Turkic Br. 14
|
||||
VI * Vietnamese Viet Nam, Thailand, Cambodia, Laos, New Caledonia, France, Dakar Sino-Tibetan F., Sino-Siamese Br. 65
|
||||
VO * Volap?k Artificial language
|
||||
WO * Wolof Senegal, Gambia Niger-Kordofanian F., Non-Mande Br. 7
|
||||
XH * Xhosa, Xosa, isiXhosa South Africa, Rhodesia, Swaziland Niger-Kordofanian F., Non-Mande Br. 8
|
||||
YI * Yiddish U.S.A., Israel, former USSR, Latin America, Canada, E Europe Indo-European F., Germanic Br. Formerly JI from Jiddisch. See Note 4.
|
||||
YO * Yoruba Western, Lagos and Kwara States (Nigeria), Benin Niger-Kordofanian F., Non-Mande Br. 20
|
||||
ZA Zhuang, Chwang, Chuang China 15 See Note 5.
|
||||
ZH * Chinese China Sino-Tibetan F., Sino-Siamese Br. 1,200 ZH from Zhongwen. See Note 1.
|
||||
ZU * Zulu, isiZulu South Africa, Rhodesia, Swaziland Niger-Kordofanian F., Non-Mande Br. 9
|
473
iso639-2
Normal file
473
iso639-2
Normal file
@ -0,0 +1,473 @@
|
||||
ISO 639-1 is the alpha-2 code. Multiple codes for the same language are to
|
||||
be considered synonyms. Entries marked with '*' have Unicode orthographies
|
||||
built.
|
||||
|
||||
639-2 639-1 Language Name (English) Language Name (French)
|
||||
|
||||
* aar aa Afar afar
|
||||
* abk ab Abkhazian abkhaze
|
||||
ace Achinese aceh
|
||||
ach Acoli acoli
|
||||
ada Adangme adangme
|
||||
afa Afro-Asiatic (Other) afro-asiatiques, autres langues
|
||||
afh Afrihili afrihili
|
||||
* afr af Afrikaans afrikaans
|
||||
aka Akan akan
|
||||
akk Akkadian akkadien
|
||||
* alb/sqi* sq Albanian albanais
|
||||
ale Aleut aléoute
|
||||
alg Algonquian languages algonquines, langues
|
||||
* amh am Amharic amharique
|
||||
ang English, Old (ca.450-1100) anglo-saxon (ca.450-1100)
|
||||
apa Apache languages apache
|
||||
* ara ar Arabic arabe
|
||||
arc Aramaic araméen
|
||||
* arm/hye* hy Armenian arménien
|
||||
arn Araucanian araucan
|
||||
arp Arapaho arapaho
|
||||
art Artificial (Other) artificielles, autres langues
|
||||
arw Arawak arawak
|
||||
asm as Assamese assamais
|
||||
* ast Asturian; Bable asturien; bable
|
||||
ath Athapascan languages athapascanes, langues
|
||||
aus Australian languages australiennes, langues
|
||||
* ava Avaric avar
|
||||
ave ae Avestan avestique
|
||||
awa Awadhi awadhi
|
||||
* aym ay Aymara aymara
|
||||
* aze az Azerbaijani azéri
|
||||
bad Banda banda
|
||||
bai Bamileke languages bamilékés, langues
|
||||
* bak ba Bashkir bachkir
|
||||
bal Baluchi baloutchi
|
||||
* bam Bambara bambara
|
||||
ban Balinese balinais
|
||||
* baq/eus* eu Basque basque
|
||||
bas Basa basa
|
||||
bat Baltic (Other) baltiques, autres langues
|
||||
bej Beja bedja
|
||||
* bel be Belarusian biélorusse
|
||||
bem Bemba bemba
|
||||
* ben bn Bengali bengali
|
||||
ber Berber (Other) berbères, autres langues
|
||||
bho Bhojpuri bhojpuri
|
||||
* bih bh Bihari bihari
|
||||
bik Bikol bikol
|
||||
* bin Bini bini
|
||||
* bis bi Bislama bichlamar
|
||||
bla Siksika blackfoot
|
||||
bnt Bantu (Other) bantoues, autres langues
|
||||
* tib/bod* bo Tibetan tibétain
|
||||
* bos bs Bosnian bosniaque
|
||||
bra Braj braj
|
||||
* bre br Breton breton
|
||||
btk Batak (Indonesia) batak (Indonésie)
|
||||
* bua Buriat bouriate
|
||||
bug Buginese bugi
|
||||
* bul bg Bulgarian bulgare
|
||||
* bur/mya* my Burmese birman
|
||||
cad Caddo caddo
|
||||
cai Central American Indian (Other) indiennes d'Amérique centrale, autres langues
|
||||
car Carib caribe
|
||||
* cat ca Catalan catalan
|
||||
cau Caucasian (Other) caucasiennes, autres langues
|
||||
ceb Cebuano cebuano
|
||||
cel Celtic (Other) celtiques, autres langues
|
||||
* cze/ces* cs Czech tchèque
|
||||
* cha ch Chamorro chamorro
|
||||
chb Chibcha chibcha
|
||||
* che ce Chechen tchétchène
|
||||
chg Chagatai djaghataï
|
||||
* chi/zho* zh Chinese chinois
|
||||
chk Chuukese chuuk
|
||||
* chm Mari mari
|
||||
chn Chinook jargon chinook, jargon
|
||||
cho Choctaw choctaw
|
||||
chp Chipewyan chipewyan
|
||||
* chr Cherokee cherokee
|
||||
* chu cu Church Slavic; Old Slavonic; Church Slavonic; Old Bulgarian; Old Church Slavonic slavon d'église; vieux slave; slavon liturgique; vieux bulgare
|
||||
* chv cv Chuvash tchouvache
|
||||
chy Cheyenne cheyenne
|
||||
cmc Chamic languages chames, langues
|
||||
cop Coptic copte
|
||||
* cor kw Cornish cornique
|
||||
* cos co Corsican corse
|
||||
cpe Creoles and pidgins, English based (Other) créoles et pidgins anglais, autres
|
||||
cpf Creoles and pidgins, French-based (Other) créoles et pidgins français, autres
|
||||
cpp Creoles and pidgins, Portuguese-based (Other) créoles et pidgins portugais, autres
|
||||
cre Cree cree
|
||||
crp Creoles and pidgins (Other) créoles et pidgins divers
|
||||
cus Cushitic (Other) couchitiques, autres langues
|
||||
* wel/cym* cy Welsh gallois
|
||||
* cze/ces* cs Czech tchèque
|
||||
dak Dakota dakota
|
||||
* dan da Danish danois
|
||||
day Dayak dayak
|
||||
del Delaware delaware
|
||||
den Slave (Athapascan) esclave (athapascan)
|
||||
* ger/deu* de German allemand
|
||||
dgr Dogrib dogrib
|
||||
din Dinka dinka
|
||||
div Divehi maldivien
|
||||
doi Dogri dogri
|
||||
dra Dravidian (Other) dravidiennes, autres langues
|
||||
dua Duala douala
|
||||
dum Dutch, Middle (ca.1050-1350) néerlandais moyen (ca. 1050-1350)
|
||||
* dut/nld* nl Dutch néerlandais
|
||||
dyu Dyula dioula
|
||||
* dzo dz Dzongkha dzongkha
|
||||
efi Efik efik
|
||||
egy Egyptian (Ancient) égyptien
|
||||
eka Ekajuk ekajuk
|
||||
* gre/ell* el Greek, Modern (1453-) grec moderne (après 1453)
|
||||
elx Elamite élamite
|
||||
* eng en English anglais
|
||||
enm English, Middle (1100-1500) anglais moyen (1100-1500)
|
||||
* epo eo Esperanto espéranto
|
||||
* est et Estonian estonien
|
||||
* baq/eus* eu Basque basque
|
||||
ewe Ewe éwé
|
||||
ewo Ewondo éwondo
|
||||
fan Fang fang
|
||||
* fao fo Faroese féroïen
|
||||
* per/fas* fa Persian persan
|
||||
fat Fanti fanti
|
||||
* fij fj Fijian fidjien
|
||||
* fin fi Finnish finnois
|
||||
fiu Finno-Ugrian (Other) finno-ougriennes, autres langues
|
||||
fon Fon fon
|
||||
* fre/fra* fr French français
|
||||
frm French, Middle (ca.1400-1800) français moyen (1400-1800)
|
||||
fro French, Old (842-ca.1400) français ancien (842-ca.1400)
|
||||
* fry fy Frisian frison
|
||||
* ful Fulah peul
|
||||
* fur Friulian frioulan
|
||||
gaa Ga ga
|
||||
gay Gayo gayo
|
||||
gba Gbaya gbaya
|
||||
gem Germanic (Other) germaniques, autres langues
|
||||
* geo/kat* ka Georgian géorgien
|
||||
* ger/deu* de German allemand
|
||||
* gez Geez guèze
|
||||
gil Gilbertese kiribati
|
||||
* gla gd Gaelic; Scottish Gaelic gaélique; gaélique écossais
|
||||
* gle ga Irish irlandais
|
||||
* glg gl Gallegan galicien
|
||||
* glv gv Manx manx; mannois
|
||||
gmh German, Middle High (ca.1050-1500) allemand, moyen haut (ca. 1050-1500)
|
||||
goh German, Old High (ca.750-1050) allemand, vieux haut (ca. 750-1050)
|
||||
gon Gondi gond
|
||||
gor Gorontalo gorontalo
|
||||
got Gothic gothique
|
||||
grb Grebo grebo
|
||||
grc Greek, Ancient (to 1453) grec ancien (jusqu'à 1453)
|
||||
* gre/ell* el Greek, Modern (1453-) grec moderne (après 1453)
|
||||
* grn gn Guarani guarani
|
||||
* guj gu Gujarati goudjrati
|
||||
gwi Gwich´in gwich´in
|
||||
hai Haida haida
|
||||
* hau ha Hausa haoussa
|
||||
* haw Hawaiian hawaïen
|
||||
* heb he Hebrew hébreu
|
||||
her hz Herero herero
|
||||
hil Hiligaynon hiligaynon
|
||||
him Himachali himachali
|
||||
* hin hi Hindi hindi
|
||||
hit Hittite hittite
|
||||
hmn Hmong hmong
|
||||
* hmo ho Hiri Motu hiri motu
|
||||
* scr/hrv* hr Croatian croate
|
||||
* hun hu Hungarian hongrois
|
||||
hup Hupa hupa
|
||||
* arm/hye* hy Armenian arménien
|
||||
iba Iban iban
|
||||
* ibo Igbo igbo
|
||||
* ice/isl* is Icelandic islandais
|
||||
* ido io Ido ido
|
||||
ijo Ijo ijo
|
||||
* iku iu Inuktitut inuktitut
|
||||
* ile ie Interlingue interlingue
|
||||
ilo Iloko ilocano
|
||||
* ina ia Interlingua (International Auxiliary Language Association) interlingua (langue auxiliaire internationale)
|
||||
inc Indic (Other) indo-aryennes, autres langues
|
||||
* ind id Indonesian indonésien
|
||||
ine Indo-European (Other) indo-européennes, autres langues
|
||||
* ipk ik Inupiaq inupiaq
|
||||
ira Iranian (Other) iraniennes, autres langues
|
||||
iro Iroquoian languages iroquoises, langues (famille)
|
||||
* ice/isl* is Icelandic islandais
|
||||
* ita it Italian italien
|
||||
jav jv Javanese javanais
|
||||
* jpn ja Japanese japonais
|
||||
jpr Judeo-Persian judéo-persan
|
||||
jrb Judeo-Arabic judéo-arabe
|
||||
* kaa Kara-Kalpak karakalpak
|
||||
kab Kabyle kabyle
|
||||
kac Kachin kachin
|
||||
* kal kl Kalaallisut groenlandais
|
||||
kam Kamba kamba
|
||||
* kan kn Kannada kannada
|
||||
kar Karen karen
|
||||
* kas ks Kashmiri kashmiri
|
||||
* geo/kat* ka Georgian géorgien
|
||||
kau Kanuri kanouri
|
||||
kaw Kawi kawi
|
||||
* kaz kk Kazakh kazakh
|
||||
kha Khasi khasi
|
||||
khi Khoisan (Other) khoisan, autres langues
|
||||
* khm km Khmer khmer
|
||||
kho Khotanese khotanais
|
||||
* kik ki Kikuyu; Gikuyu kikuyu
|
||||
kin rw Kinyarwanda rwanda
|
||||
* kir ky Kirghiz kirghize
|
||||
kmb Kimbundu kimbundu
|
||||
* kok Konkani konkani
|
||||
* kom kv Komi kom
|
||||
kon Kongo kongo
|
||||
* kor ko Korean coréen
|
||||
kos Kosraean kosrae
|
||||
kpe Kpelle kpellé
|
||||
kro Kru krou
|
||||
kru Kurukh kurukh
|
||||
kua kj Kuanyama; Kwanyama kuanyama; kwanyama
|
||||
* kum Kumyk koumyk
|
||||
* kur ku Kurdish kurde
|
||||
kut Kutenai kutenai
|
||||
lad Ladino judéo-espagnol
|
||||
lah Lahnda lahnda
|
||||
lam Lamba lamba
|
||||
* lao lo Lao lao
|
||||
* lat la Latin latin
|
||||
* lav lv Latvian letton
|
||||
* lez Lezghian lezghien
|
||||
lin ln Lingala lingala
|
||||
* lit lt Lithuanian lituanien
|
||||
lol Mongo mongo
|
||||
loz Lozi lozi
|
||||
* ltz lb Luxembourgish; Letzeburgesch luxembourgeois
|
||||
lua Luba-Lulua luba-lulua
|
||||
lub Luba-Katanga luba-katanga
|
||||
lug Ganda ganda
|
||||
lui Luiseno luiseno
|
||||
lun Lunda lunda
|
||||
luo Luo (Kenya and Tanzania) luo (Kenya et Tanzanie)
|
||||
lus lushai Lushai
|
||||
* mac/mkd* mk Macedonian macédonien
|
||||
mad Madurese madourais
|
||||
mag Magahi magahi
|
||||
* mah mh Marshallese marshall
|
||||
mai Maithili maithili
|
||||
mak Makasar makassar
|
||||
* mal ml Malayalam malayalam
|
||||
man Mandingo mandingue
|
||||
* mao/mri* mi Maori maori
|
||||
map Austronesian (Other) malayo-polynésiennes, autres langues
|
||||
* mar mr Marathi marathe
|
||||
mas Masai massaï
|
||||
may/msa* ms Malay malais
|
||||
mdr Mandar mandar
|
||||
men Mende mendé
|
||||
mga Irish, Middle (900-1200) irlandais moyen (900-1200)
|
||||
mic Micmac micmac
|
||||
min Minangkabau minangkabau
|
||||
mis Miscellaneous languages diverses, langues
|
||||
* mac/mkd* mk Macedonian macédonien
|
||||
mkh Mon-Khmer (Other) môn-khmer, autres langues
|
||||
* mlg mg Malagasy malgache
|
||||
* mlt mt Maltese maltais
|
||||
mnc Manchu mandchou
|
||||
mni Manipuri manipuri
|
||||
mno Manobo languages manobo, langues
|
||||
moh Mohawk mohawk
|
||||
* mol mo Moldavian moldave
|
||||
* mon mn Mongolian mongol
|
||||
mos Mossi moré
|
||||
* mao/mri* mi Maori maori
|
||||
may/msa* ms Malay malais
|
||||
mul Multiple languages multilingue
|
||||
mun Munda languages mounda, langues
|
||||
mus Creek muskogee
|
||||
mwr Marwari marvari
|
||||
* bur/mya* my Burmese birman
|
||||
myn Mayan languages maya, langues
|
||||
nah Nahuatl nahuatl
|
||||
nai North American Indian indiennes d'Amérique du Nord, autres langues
|
||||
nau na Nauru nauruan
|
||||
nav nv Navajo; Navaho navaho
|
||||
nbl nr Ndebele, South; South Ndebele ndébélé du Sud
|
||||
nde nd Ndebele, North; North Ndebele ndébélé du Nord
|
||||
ndo ng Ndonga ndonga
|
||||
nds Low German; Low Saxon; German, Low; Saxon, Low bas allemand; bas saxon; allemand, bas; saxon, bas
|
||||
* nep ne Nepali népalais
|
||||
new Newari newari
|
||||
nia Nias nias
|
||||
nic Niger-Kordofanian (Other) nigéro-congolaises, autres langues
|
||||
niu Niuean niué
|
||||
* dut/nld* nl Dutch néerlandais
|
||||
non Norse, Old norrois, vieux
|
||||
* nor no Norwegian norvégien
|
||||
* nno nn Norwegian Nynorsk; Nynorsk, Norwegian norvégien nynorsk; nynorsk, norvégien
|
||||
* nob nb Norwegian Bokmål; Bokmål, Norwegian norvégien bokmål; bokmål, norvégien
|
||||
nso Sotho, Northern sotho du Nord
|
||||
nub Nubian languages nubiennes, langues
|
||||
* nya ny Chichewa; Chewa; Nyanja chichewa; chewa; nyanja
|
||||
nym Nyamwezi nyamwezi
|
||||
nyn Nyankole nyankolé
|
||||
nyo Nyoro nyoro
|
||||
nzi Nzima nzema
|
||||
* oci oc Occitan (post 1500); Provençal occitan (après 1500); provençal
|
||||
oji Ojibwa ojibwa
|
||||
* ori or Oriya oriya
|
||||
* orm om Oromo galla
|
||||
osa Osage osage
|
||||
* oss os Ossetian; Ossetic ossète
|
||||
ota Turkish, Ottoman (1500-1928) turc ottoman (1500-1928)
|
||||
oto Otomian languages otomangue, langues
|
||||
paa Papuan (Other) papoues, autres langues
|
||||
pag Pangasinan pangasinan
|
||||
pal Pahlavi pahlavi
|
||||
pam Pampanga pampangan
|
||||
pan pa Panjabi pendjabi
|
||||
pap Papiamento papiamento
|
||||
pau Palauan palau
|
||||
peo Persian, Old (ca.600-400 B.C.) perse, vieux (ca. 600-400 av. J.-C.)
|
||||
* per/fas* fa Persian persan
|
||||
phi Philippine (Other) philippines, autres langues
|
||||
phn Phoenician phénicien
|
||||
pli pi Pali pali
|
||||
* pol pl Polish polonais
|
||||
pon Pohnpeian pohnpei
|
||||
* por pt Portuguese portugais
|
||||
pra Prakrit languages prâkrit
|
||||
pro Provençal, Old (to 1500) provençal ancien (jusqu'à 1500)
|
||||
pus ps Pushto pachto
|
||||
qaa-qtz Reserved for local use réservée à l'usage local
|
||||
que qu Quechua quechua
|
||||
raj Rajasthani rajasthani
|
||||
rap Rapanui rapanui
|
||||
rar Rarotongan rarotonga
|
||||
roa Romance (Other) romanes, autres langues
|
||||
* roh rm Raeto-Romance rhéto-roman
|
||||
rom Romany tsigane
|
||||
* rum/ron* ro Romanian roumain
|
||||
run rn Rundi rundi
|
||||
* rus ru Russian russe
|
||||
sad Sandawe sandawe
|
||||
sag sg Sango sango
|
||||
* sah Yakut iakoute
|
||||
sai South American Indian (Other) indiennes d'Amérique du Sud, autres langues
|
||||
sal Salishan languages salish, langues
|
||||
sam Samaritan Aramaic samaritain
|
||||
* san sa Sanskrit sanskrit
|
||||
sas Sasak sasak
|
||||
sat Santali santal
|
||||
* scc/srp* sr Serbian serbe
|
||||
* sco Scots écossais
|
||||
* scr/hrv* hr Croatian croate
|
||||
* sel Selkup selkoupe
|
||||
sem Semitic (Other) sémitiques, autres langues
|
||||
sga Irish, Old (to 900) irlandais ancien (jusqu'à 900)
|
||||
sgn Sign Languages langues des signes
|
||||
shn Shan chan
|
||||
sid Sidamo sidamo
|
||||
* sin si Sinhalese singhalais
|
||||
sio Siouan languages sioux, langues
|
||||
sit Sino-Tibetan (Other) sino-tibétaines, autres langues
|
||||
sla Slavic (Other) slaves, autres langues
|
||||
* slo/slk* sk Slovak slovaque
|
||||
* slv sl Slovenian slovène
|
||||
* sma Southern Sami sami du Sud
|
||||
* sme se Northern Sami sami du Nord
|
||||
smi Sami languages (Other) sami, autres langues
|
||||
* smj Lule Sami sami de Lule
|
||||
* smn Inari Sami sami d'Inari
|
||||
* smo sm Samoan samoan
|
||||
* sms Skolt Sami sami skolt
|
||||
sna sn Shona shona
|
||||
snd sd Sindhi sindhi
|
||||
snk Soninke soninké
|
||||
sog Sogdian sogdien
|
||||
* som so Somali somali
|
||||
son Songhai songhai
|
||||
sot st Sotho, Southern sotho du Sud
|
||||
* spa es Spanish; Castilian espagnol; castillan
|
||||
* alb/sqi* sq Albanian albanais
|
||||
srd sc Sardinian sarde
|
||||
* scc/srp* sr Serbian serbe
|
||||
* sh Serbo-Croatian serbo-croate
|
||||
srr Serer sérère
|
||||
ssa Nilo-Saharan (Other) nilo-sahariennes, autres langues
|
||||
ssw ss Swati swati
|
||||
suk Sukuma sukuma
|
||||
sun su Sundanese soundanais
|
||||
sus Susu soussou
|
||||
sux Sumerian sumérien
|
||||
* swa sw Swahili swahili
|
||||
* swe sv Swedish suédois
|
||||
* syr Syriac syriaque
|
||||
tah ty Tahitian tahitien
|
||||
tai Tai (Other) thaïes, autres langues
|
||||
* tam ta Tamil tamoul
|
||||
* tat tt Tatar tatar
|
||||
* tel te Telugu télougou
|
||||
tem Timne temne
|
||||
ter Tereno tereno
|
||||
tet Tetum tetum
|
||||
* tgk tg Tajik tadjik
|
||||
* tgl tl Tagalog tagalog
|
||||
* tha th Thai thaï
|
||||
* tib/bod* bo Tibetan tibétain
|
||||
tig Tigre tigré
|
||||
* tir ti Tigrinya tigrigna
|
||||
tiv Tiv tiv
|
||||
tkl Tokelau tokelau
|
||||
tli Tlingit tlingit
|
||||
tmh Tamashek tamacheq
|
||||
tog Tonga (Nyasa) tonga (Nyasa)
|
||||
* ton to Tonga (Tonga Islands) tongan (Îles Tonga)
|
||||
tpi Tok Pisin tok pisin
|
||||
tsi Tsimshian tsimshian
|
||||
* tsn tn Tswana tswana
|
||||
* tso ts Tsonga tsonga
|
||||
* tuk tk Turkmen turkmène
|
||||
tum Tumbuka tumbuka
|
||||
tup Tupi languages tupi, langues
|
||||
* tur tr Turkish turc
|
||||
tut Altaic (Other) altaïques, autres langues
|
||||
tvl Tuvalu tuvalu
|
||||
* twi tw Twi twi
|
||||
* tyv Tuvinian touva
|
||||
uga Ugaritic ougaritique
|
||||
* uig ug Uighur ouïgour
|
||||
* ukr uk Ukrainian ukrainien
|
||||
umb Umbundu umbundu
|
||||
und Undetermined indéterminée
|
||||
* urd ur Urdu ourdou
|
||||
* uzb uz Uzbek ouszbek
|
||||
vai Vai vaï
|
||||
* ven Venda venda
|
||||
* vie vi Vietnamese vietnamien
|
||||
* vol vo Volapük volapük
|
||||
* vot Votic vote
|
||||
wak Wakashan languages wakashennes, langues
|
||||
wal Walamo walamo
|
||||
war Waray waray
|
||||
was Washo washo
|
||||
* wel/cym* cy Welsh gallois
|
||||
* wen Sorbian languages sorabes, langues
|
||||
* wln wa Walloon wallon
|
||||
* wol wo Wolof wolof
|
||||
* xho xh Xhosa xhosa
|
||||
yao Yao yao
|
||||
* yap Yapese yapois
|
||||
* yid yi Yiddish yiddish
|
||||
* yor yo Yoruba yoruba
|
||||
ypk Yupik languages yupik, langues
|
||||
zap Zapotec zapotèque
|
||||
zen Zenaga zenaga
|
||||
zha za Zhuang; Chuang zhuang; chuang
|
||||
* chi/zho* zh Chinese chinois
|
||||
znd Zande zandé
|
||||
* zul zu Zulu zoulou
|
||||
zun Zuni zuni
|
||||
|
18
local.conf.instsys
Normal file
18
local.conf.instsys
Normal file
@ -0,0 +1,18 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||
<!-- /etc/fonts/local.conf file for local customizations -->
|
||||
<fontconfig>
|
||||
|
||||
<!--
|
||||
Special setup used only during the installation of SuSE Linux.
|
||||
During installation, this file is moved to local.conf, otherwise
|
||||
it is not used.
|
||||
-->
|
||||
|
||||
<match target="font">
|
||||
<edit name="embeddedbitmap">
|
||||
<bool>true</bool>
|
||||
</edit>
|
||||
</match>
|
||||
|
||||
</fontconfig>
|
18
make-check.patch
Normal file
18
make-check.patch
Normal file
@ -0,0 +1,18 @@
|
||||
diff -ru fontconfig-2.3.93.20060131.orig/test/out.expected fontconfig-2.3.93.20060131/test/out.expected
|
||||
--- fontconfig-2.3.93.20060131.orig/test/out.expected 2003-03-01 06:54:42.000000000 +0100
|
||||
+++ fontconfig-2.3.93.20060131/test/out.expected 2006-01-31 11:50:40.000000000 +0100
|
||||
@@ -1,8 +1,8 @@
|
||||
-Fixed:pixelsize=16
|
||||
-Fixed:pixelsize=6
|
||||
+Misc Fixed:pixelsize=6
|
||||
+Sony Fixed:pixelsize=16
|
||||
=
|
||||
-Fixed:pixelsize=16
|
||||
-Fixed:pixelsize=6
|
||||
+Misc Fixed:pixelsize=6
|
||||
+Sony Fixed:pixelsize=16
|
||||
=
|
||||
-Fixed:pixelsize=16
|
||||
-Fixed:pixelsize=6
|
||||
+Misc Fixed:pixelsize=6
|
||||
+Sony Fixed:pixelsize=16
|
121
suse-bitmaps.conf
Normal file
121
suse-bitmaps.conf
Normal file
@ -0,0 +1,121 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||
<fontconfig>
|
||||
|
||||
<!-- Generated by SuSEconfig.fonts, don't edit, your changes will get lost. -->
|
||||
<!-- Edit /etc/sysconfig/fonts-config instead. -->
|
||||
<!-- Or put rules into your personal config file ~/.fonts.conf. -->
|
||||
|
||||
<!-- ************************************************************ -->
|
||||
<!-- Bitmap related stuff -->
|
||||
<!-- ************************************************************ -->
|
||||
|
||||
<!--
|
||||
|
||||
As rendering of outlines is often not perfect at small sizes, some
|
||||
TrueType or OpenType fonts contain "embedded" bitmaps for small sizes.
|
||||
This is very common in CJK fonts.
|
||||
|
||||
(By the way, apparently there are some western fonts which have
|
||||
embedded bitmaps as well. Recently I found that "Courier New"
|
||||
also has embedded bitmaps. But, for reasons unknown to me,
|
||||
the embedded bitmaps in "Courier New" are not used, even when
|
||||
embedded bitmaps are unconditionally enabled for all fonts.
|
||||
On top of that, the embedded bitmaps in "Courier New" appear
|
||||
to be of far lower quality than the results achieved when rendering
|
||||
"Courier New" with the byte code interpreter enabled and the
|
||||
antialiasing turned off. I.e. the existance of these low quality
|
||||
embedded bitmaps in "Courier New" is quite mysterious).
|
||||
|
||||
Using embedded bitmaps usually gives clearly readable results as the bitmaps
|
||||
are handtuned for good readability and do not suffer from imperfections
|
||||
of the rendering algorithms.
|
||||
|
||||
On the other hand, anti-aliasing is only possible when the outlines
|
||||
are used.
|
||||
|
||||
Often, using the outlines with anti-aliasing looks more "beautiful".
|
||||
But using the embedded bitmaps is often better readable.
|
||||
It is a matter of taste, decide by yourself which style you prefer.
|
||||
|
||||
To use embedded bitmaps in TrueType fonts always when available
|
||||
put the following rule in your personal ~/.fonts.conf file:
|
||||
|
||||
<match target="font">
|
||||
<edit name="embeddedbitmap">
|
||||
<bool>true</bool>
|
||||
</edit>
|
||||
</match>
|
||||
|
||||
To avoid using the embedded bitmaps and always use the outlines,
|
||||
put the following rule in your personal ~/.fonts.conf file:
|
||||
|
||||
<match target="font">
|
||||
<edit name="embeddedbitmap">
|
||||
<bool>false</bool>
|
||||
</edit>
|
||||
</match>
|
||||
|
||||
It is also possible to enable embedded bitmaps only for fonts
|
||||
which support certain languages. For example, if you want to
|
||||
enable embedded bitmaps only for Japanese, Chinese, and Korean
|
||||
fonts, put the following rule in your personal ~/.fonts.conf file:
|
||||
|
||||
<match target="font">
|
||||
<edit name="embeddedbitmap">
|
||||
<bool>false</bool>
|
||||
</edit>
|
||||
</match>
|
||||
<match target="font">
|
||||
<test name="lang" compare="contains">
|
||||
<string>ja</string>
|
||||
<string>zh</string>
|
||||
<string>ko</string>
|
||||
</test>
|
||||
<edit name="embeddedbitmap" mode="assign">
|
||||
<bool>true</bool>
|
||||
</edit>
|
||||
</match>
|
||||
|
||||
-->
|
||||
|
||||
<match target="font">
|
||||
<edit name="embeddedbitmap" mode="assign">
|
||||
<bool>false</bool>
|
||||
</edit>
|
||||
</match>
|
||||
<match target="font">
|
||||
<test name="lang" compare="contains">
|
||||
<string>ja</string>
|
||||
<string>ko</string>
|
||||
<string>zh</string>
|
||||
</test>
|
||||
<edit name="embeddedbitmap" mode="assign">
|
||||
<bool>true</bool>
|
||||
</edit>
|
||||
</match>
|
||||
|
||||
<!--
|
||||
The IPA fonts have bitmaps only in 12, 14, and 16 pixels.
|
||||
That is rather useless, it is not nice to see a bitmaps at 12
|
||||
pixels, antialiased glyphs at 13 pixels and bitmaps at 14
|
||||
pixels again.
|
||||
-->
|
||||
<match target="font">
|
||||
<test name="family">
|
||||
<string>IPAMincho</string>
|
||||
<string>IPAGothic</string>
|
||||
<string>IPAPMincho</string>
|
||||
<string>IPAPGothic</string>
|
||||
<string>IPAUIGothic</string>
|
||||
</test>
|
||||
<edit name="autohint">
|
||||
<bool>false</bool>
|
||||
</edit>
|
||||
<edit name="embeddedbitmap">
|
||||
<bool>false</bool>
|
||||
</edit>
|
||||
</match>
|
||||
|
||||
|
||||
</fontconfig>
|
23
suse-font-dirs.conf
Normal file
23
suse-font-dirs.conf
Normal file
@ -0,0 +1,23 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||
<fontconfig>
|
||||
|
||||
<!-- Generated by SuSEconfig.fonts, don't edit, your changes will get lost. -->
|
||||
|
||||
<!-- ************************************************************ -->
|
||||
<!-- list of font directories -->
|
||||
<!-- -->
|
||||
<!-- generated by SuSEconfig.fonts from the template -->
|
||||
<!-- /usr/share/fonts-config/suse-font-dirs.conf.template -->
|
||||
<!-- All glob patterns in this template-file are expanded and -->
|
||||
<!-- all subdirectories of these directories are added as well -->
|
||||
<!-- ************************************************************ -->
|
||||
|
||||
<dir>/usr/share/fonts</dir>
|
||||
<dir>/usr/X11R6/lib/X11/fonts</dir>
|
||||
<dir>/opt/kde3/share/fonts</dir>
|
||||
<dir>/usr/lib/ooo-2.0/share/fonts</dir>
|
||||
<dir>/usr/X11R6/lib/Acrobat7/Resource/Font</dir>
|
||||
<dir>/usr/local/share/fonts</dir>
|
||||
|
||||
</fontconfig>
|
67
suse-generic-names.conf
Normal file
67
suse-generic-names.conf
Normal file
@ -0,0 +1,67 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||
<fontconfig>
|
||||
|
||||
<!--
|
||||
Mark common families with their generics so we'll get
|
||||
something reasonable
|
||||
-->
|
||||
|
||||
<!--
|
||||
Serif faces
|
||||
-->
|
||||
<alias>
|
||||
<family>Georgia</family>
|
||||
<family>Bell MT</family>
|
||||
<family>Thorndale AMT</family>
|
||||
<family>SUSE Serif</family>
|
||||
<family>FreeSerif</family>
|
||||
<family>HGMinchoL</family>
|
||||
<family>HGPMinchoL</family>
|
||||
<family>HGPMinchoB</family>
|
||||
<family>HGSMinchoB</family>
|
||||
<family>HGMinchoE</family>
|
||||
<family>HGPMinchoE</family>
|
||||
<family>HGSMinchoE</family>
|
||||
<family>IPAMincho</family>
|
||||
<family>IPAPMincho</family>
|
||||
<family>Sazanami Mincho</family>
|
||||
<default><family>serif</family></default>
|
||||
</alias>
|
||||
<!--
|
||||
Sans-serif faces
|
||||
-->
|
||||
<alias>
|
||||
<family>Trebuchet</family>
|
||||
<family>Segoe</family>
|
||||
<family>Andale Sans</family>
|
||||
<family>Albany AMT</family>
|
||||
<family>SUSE Sans</family>
|
||||
<family>FreeSans</family>
|
||||
<family>HGGothicB</family>
|
||||
<family>HGPGothicB</family>
|
||||
<family>HGGothicE</family>
|
||||
<family>HGPGothicE</family>
|
||||
<family>HGSGothicE</family>
|
||||
<family>HGGothicM</family>
|
||||
<family>HGPGothicM</family>
|
||||
<family>HGSGothicM</family>
|
||||
<family>IPAGothic</family>
|
||||
<family>IPAPGothic</family>
|
||||
<family>Sazanami Gothic</family>
|
||||
<family>Baekmuk Gulim</family>
|
||||
<default><family>sans-serif</family></default>
|
||||
</alias>
|
||||
<!--
|
||||
Monospace faces
|
||||
-->
|
||||
<alias>
|
||||
<family>Fixed</family>
|
||||
<family>Cumberland AMT</family>
|
||||
<family>SUSE Sans Mono</family>
|
||||
<family>FreeMono</family>
|
||||
<default><family>monospace</family></default>
|
||||
</alias>
|
||||
|
||||
</fontconfig>
|
||||
|
278
suse-hinting.conf
Normal file
278
suse-hinting.conf
Normal file
@ -0,0 +1,278 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||
<fontconfig>
|
||||
|
||||
<!-- Generated by SuSEconfig.fonts, don't edit, your changes will get lost. -->
|
||||
<!-- Edit /etc/sysconfig/fonts-config instead. -->
|
||||
<!-- Or put rules into your personal config file ~/.fonts.conf. -->
|
||||
|
||||
<!-- ************************************************************ -->
|
||||
<!-- Hinting and antialiasing -->
|
||||
<!-- ************************************************************ -->
|
||||
|
||||
|
||||
<!--
|
||||
Using hinting=true, hintstyle=hintfull and antialias=true
|
||||
is a good default for most fonts.
|
||||
|
||||
Match on "pattern" for the default, not on "font" to make
|
||||
it easier to override the default using FcPatternDel()
|
||||
and FcPatternAdd...() (see bugzilla #104365).
|
||||
-->
|
||||
|
||||
<match target="pattern">
|
||||
<edit name="hinting">
|
||||
<bool>true</bool>
|
||||
</edit>
|
||||
<edit name="hintstyle">
|
||||
<const>hintfull</const>
|
||||
</edit>
|
||||
<edit name="antialias">
|
||||
<bool>true</bool>
|
||||
</edit>
|
||||
</match>
|
||||
|
||||
<!--
|
||||
Set autohinter=true as the default, then add exceptions for certain fonts:
|
||||
-->
|
||||
|
||||
<match target="pattern">
|
||||
<edit name="autohint">
|
||||
<bool>true</bool>
|
||||
</edit>
|
||||
</match>
|
||||
|
||||
<!--
|
||||
TrueType Fonts which have high quality byte code interpreter
|
||||
instructions can look very good in even in small sizes when using
|
||||
the byte code interpreter (autohint=false). This is true
|
||||
both with and without anti-aliasing.
|
||||
In black and white (antialias=false) the results when rendering
|
||||
with the byte code interpreter may even look as good as high quality
|
||||
bitmap fonts.
|
||||
|
||||
On the other hand, some low quality TrueType Fonts do not have
|
||||
byte code interpreter instructions at all or only very bad byte
|
||||
code and may look better when the autohinter is used.
|
||||
(See "FreeSans" for example, it looks better with the
|
||||
autohinter which is especially obvious if anti-aliasing is off).
|
||||
-->
|
||||
|
||||
<!--
|
||||
Switch off the autohinter for TrueType fonts in order
|
||||
to use the byte code interpreter.
|
||||
-->
|
||||
|
||||
<match target="font">
|
||||
<test name="fontformat">
|
||||
<string>TrueType</string>
|
||||
</test>
|
||||
<edit name="autohint">
|
||||
<bool>false</bool>
|
||||
</edit>
|
||||
</match>
|
||||
|
||||
<!--
|
||||
Switch on the autohinter for a few TrueType fonts which
|
||||
have no byte code or very bad byte code and look better
|
||||
with the autohinter:
|
||||
|
||||
But see also bug #215602 for many fonts the autohinter
|
||||
seriously distorts the metrics so badly that
|
||||
even the digits which should be monospaced are not
|
||||
monospaced at all anymore.
|
||||
|
||||
Because of this problem, better don't switch on
|
||||
the autohinter for
|
||||
|
||||
Sazanami
|
||||
IPA
|
||||
DejaVu Sans Light
|
||||
DejaVu Sans Condensed
|
||||
DejaVu Serif Condensed
|
||||
FreeSans
|
||||
FreeSerif
|
||||
FreeMono
|
||||
|
||||
and other fonts with similar problems until this is solved
|
||||
in the autohinter.
|
||||
-->
|
||||
|
||||
<match target="font">
|
||||
<test name="fontformat">
|
||||
<string>TrueType</string>
|
||||
</test>
|
||||
<test name="family">
|
||||
<string>MS Gothic</string>
|
||||
<string>MS PGothic</string>
|
||||
<string>MS UI Gothic</string>
|
||||
<string>MS Mincho</string>
|
||||
<string>MS PMincho</string>
|
||||
<string>HGPSoeiKakupoptai</string>
|
||||
<string>HGSGothicE</string>
|
||||
<string>HGSGothicM</string>
|
||||
<string>HGKyokashotai</string>
|
||||
<string>HGSSoeiKakugothicUB</string>
|
||||
<string>HGPGothicB</string>
|
||||
<string>HGPGothicE</string>
|
||||
<string>HGPGothicM</string>
|
||||
<string>HGSKyokashotai</string>
|
||||
<string>HGMaruGothicMPRO</string>
|
||||
<string>HGPSoeiKakugothicUB</string>
|
||||
<string>HGMinchoL</string>
|
||||
<string>HGPMinchoL</string>
|
||||
<string>HGMinchoB</string>
|
||||
<string>HGPMinchoB</string>
|
||||
<string>HGSMinchoB</string>
|
||||
<string>HGMinchoE</string>
|
||||
<string>HGPMinchoE</string>
|
||||
<string>HGSMinchoE</string>
|
||||
<string>HGSoeiKakugothicUB</string>
|
||||
<string>HGGyoshotai</string>
|
||||
<string>HGPGyoshotai</string>
|
||||
<string>HGSGyoshotai</string>
|
||||
<string>HGSoeiKakupoptai</string>
|
||||
<string>HGSSoeiPresenceEB</string>
|
||||
<string>HGPSoeiPresenceEB</string>
|
||||
<string>HGGothicB</string>
|
||||
<string>HGGothicE</string>
|
||||
<string>HGGothicM</string>
|
||||
<string>HGSoeiPresenceEB</string>
|
||||
<string>HGPKyokashotai</string>
|
||||
<string>HGSSoeiKakupoptai</string>
|
||||
<string>HGSeikaishotaiPRO</string>
|
||||
<string>TLKyokashotai</string>
|
||||
<string>TLMincho</string>
|
||||
<string>TLPMincho</string>
|
||||
<string>TLPGothic</string>
|
||||
<string>TLPKyokashotai</string>
|
||||
<string>TLMarugothicM</string>
|
||||
<string>TLGyoshotai</string>
|
||||
<string>TLPGyoshotai</string>
|
||||
<string>TLSGyoshotai</string>
|
||||
<string>TLPMarugothicM</string>
|
||||
<string>TLSMarugothicM</string>
|
||||
<string>TLSKyokashotai</string>
|
||||
<string>TLGothic</string>
|
||||
</test>
|
||||
<edit name="autohint">
|
||||
<bool>true</bool>
|
||||
</edit>
|
||||
</match>
|
||||
|
||||
|
||||
<!--
|
||||
The following rule sets up black and white rendering with
|
||||
the byte code interpreter for a small list of fonts which
|
||||
are known to have good byte code and give bitmap quality
|
||||
results at small sizes.
|
||||
The pixelsize limit is set to '0' though, which effectively
|
||||
disables this rule by default because most users don't like
|
||||
that bitmap look and feel.
|
||||
If you like a bitmap look and feel of your desktop,
|
||||
copy this rule into your ~/.fonts.conf file and replace the '0'
|
||||
with non-zero pixelsize limit. Using '18' as the pixelsize
|
||||
limit is a good choice if you have the fonts in this list installed
|
||||
and like a bitmap look and feel.
|
||||
-->
|
||||
<match target="font">
|
||||
<test name="family">
|
||||
<string>Andale Mono</string>
|
||||
<string>Arial</string>
|
||||
<string>Comic Sans MS</string>
|
||||
<string>Georgia</string>
|
||||
<string>Impact</string>
|
||||
<string>Trebuchet MS</string>
|
||||
<string>Verdana</string>
|
||||
<string>Courier New</string>
|
||||
<string>Times New Roman</string>
|
||||
<string>Tahoma</string>
|
||||
<string>Webdings</string>
|
||||
<string>Albany AMT</string>
|
||||
<string>Thorndale AMT</string>
|
||||
<string>Cumberland AMT</string>
|
||||
<string>Andale Sans</string>
|
||||
<string>Andy MT</string>
|
||||
<string>Bell MT</string>
|
||||
<string>Monotype Sorts</string>
|
||||
</test>
|
||||
<test name="pixelsize" compare="less_eq">
|
||||
<double>0</double>
|
||||
</test>
|
||||
<edit name="autohint">
|
||||
<bool>false</bool>
|
||||
</edit>
|
||||
<edit name="antialias">
|
||||
<bool>false</bool>
|
||||
</edit>
|
||||
</match>
|
||||
|
||||
|
||||
<!--
|
||||
Some CJK fonts require the byte code interpreter to be rendered correctly.
|
||||
|
||||
These are composite fonts which store components and composing information
|
||||
and compose the glyphs on the fly using the hinting instructions.
|
||||
|
||||
For all such fonts we switch off the autohinter here.
|
||||
When "autohint" is set to "false", the byte code interpreter will
|
||||
be used if it has been enabled at all when compiling freetype2.
|
||||
|
||||
The Chinese fonts "MingLiu" and "PMingLiU" used to belong to the fonts
|
||||
which absolutely require the byte code interpreter to be rendered
|
||||
correctly.
|
||||
But apparently the new versions of "MingLiU" and "PMingLiU" from Windows
|
||||
Vista are rendered correctly without the byte code interpreter.
|
||||
|
||||
-->
|
||||
|
||||
<match target="font">
|
||||
<test name="family">
|
||||
<string>MingLiU</string>
|
||||
<string>PMingLiU</string>
|
||||
</test>
|
||||
<edit name="autohint">
|
||||
<bool>false</bool>
|
||||
</edit>
|
||||
</match>
|
||||
|
||||
<!--
|
||||
Hinting for CJK fonts in freetype doesn't yet work as well as for Latin fonts.
|
||||
|
||||
Recently the autohinter in in freetype has been improved for CJK fonts
|
||||
a lot but it is still not perfect. Therefore one might want to switch
|
||||
off the autohinter for CJK fonts.
|
||||
|
||||
This can be achieved by using the following rule:
|
||||
|
||||
<match target="font">
|
||||
<test name="lang" compare="contains">
|
||||
<string>ja</string>
|
||||
<string>zh</string>
|
||||
<string>ko</string>
|
||||
</test>
|
||||
<edit name="autohint">
|
||||
<bool>false</bool>
|
||||
</edit>
|
||||
</match>
|
||||
-->
|
||||
|
||||
<!--
|
||||
for some Bengali fonts (e.g. "Mukti Narrow"), the autohinter works well
|
||||
with the patch from http://www.kde.gr.jp/~akito/patch/freetype2/2.1.7
|
||||
applied. But for "Likhan" it still doesn't work that well
|
||||
(look how the "matra" lines at the top line up). Therefore, switch
|
||||
off the autohinter for the "Likhan" font:
|
||||
-->
|
||||
|
||||
<match target="font">
|
||||
<test name="family">
|
||||
<string>Likhan</string>
|
||||
</test>
|
||||
<edit name="autohint">
|
||||
<bool>false</bool>
|
||||
</edit>
|
||||
</match>
|
||||
|
||||
|
||||
</fontconfig>
|
168
suse-post-user.conf
Normal file
168
suse-post-user.conf
Normal file
@ -0,0 +1,168 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||
<fontconfig>
|
||||
|
||||
<!--
|
||||
Set fonts to be preferred when the standard aliases "serif", "sans-serif",
|
||||
and "monospace" are used.
|
||||
-->
|
||||
|
||||
<alias>
|
||||
<family>serif</family>
|
||||
<prefer>
|
||||
<family>Times New Roman</family>
|
||||
<family>Thorndale AMT</family>
|
||||
<family>DejaVu Serif</family>
|
||||
<family>SUSE Serif</family>
|
||||
<family>Bitstream Vera Serif</family>
|
||||
<family>Nimbus Roman No9 L</family>
|
||||
<family>Luxi Serif</family>
|
||||
<family>Likhan</family>
|
||||
<family>Frank Ruehl CLM</family>
|
||||
<family>FreeSerif</family>
|
||||
<family>Times</family>
|
||||
<family>Khmer OS System</family>
|
||||
<family>TSCu_Times</family>
|
||||
<family>BPG Chveulebrivi</family>
|
||||
<family>Nazli</family>
|
||||
<family>MS PMincho</family>
|
||||
<family>MS Mincho</family>
|
||||
<family>HGPMinchoL</family>
|
||||
<family>HGMinchoL</family>
|
||||
<family>IPAPMincho</family>
|
||||
<family>IPAMincho</family>
|
||||
<family>Sazanami Mincho</family>
|
||||
<family>Kochi Mincho</family>
|
||||
<family>CMEXSong</family>
|
||||
<family>FZSongTi</family>
|
||||
<family>FZMingTiB</family>
|
||||
<family>AR PL SungtiL GB</family>
|
||||
<family>AR PL Mingti2L Big5</family>
|
||||
<family>UnBatang</family>
|
||||
<family>Baekmuk Batang</family>
|
||||
<family>SimSun</family>
|
||||
<family>HanyiSong</family>
|
||||
<family>ZYSong18030</family>
|
||||
</prefer>
|
||||
</alias>
|
||||
<alias>
|
||||
<family>sans-serif</family>
|
||||
<prefer>
|
||||
<family>Arial</family>
|
||||
<family>Albany AMT</family>
|
||||
<family>Verdana</family>
|
||||
<family>DejaVu Sans</family>
|
||||
<family>SUSE Sans</family>
|
||||
<family>Bitstream Vera Sans</family>
|
||||
<family>Nimbus Sans L</family>
|
||||
<family>Luxi Sans</family>
|
||||
<family>Mukti Narrow</family>
|
||||
<family>Nachlieli CLM</family>
|
||||
<family>FreeSans</family>
|
||||
<family>Helvetica</family>
|
||||
<family>Khmer OS System</family>
|
||||
<family>TSCu_Paranar</family>
|
||||
<family>BPG Glaho</family>
|
||||
<family>Terafik</family>
|
||||
<family>Meiryo</family>
|
||||
<family>MS PGothic</family>
|
||||
<family>MS Gothic</family>
|
||||
<family>HGPGothicB</family>
|
||||
<family>HGGothicB</family>
|
||||
<family>IPAPGothic</family>
|
||||
<family>IPAGothic</family>
|
||||
<family>Sazanami Gothic</family>
|
||||
<family>Kochi Gothic</family>
|
||||
<family>CMEXSong</family>
|
||||
<family>FZSongTi</family>
|
||||
<family>FZMingTiB</family>
|
||||
<family>AR PL SungtiL GB</family>
|
||||
<family>AR PL Mingti2L Big5</family>
|
||||
<family>UnDotum</family>
|
||||
<family>Baekmuk Gulim</family>
|
||||
<family>Baekmuk Dotum</family>
|
||||
</prefer>
|
||||
</alias>
|
||||
<alias>
|
||||
<family>monospace</family>
|
||||
<prefer>
|
||||
<family>Consolas</family>
|
||||
<family>Andale Mono</family>
|
||||
<family>DejaVu Sans Mono</family>
|
||||
<family>SUSE Sans Mono</family>
|
||||
<family>Bitstream Vera Sans Mono</family>
|
||||
<family>Courier New</family>
|
||||
<family>Cumberland AMT</family>
|
||||
<family>Nimbus Mono L</family>
|
||||
<family>Luxi Mono</family>
|
||||
<family>Mukti Narrow</family>
|
||||
<family>Miriam Mono CLM</family>
|
||||
<family>FreeMono</family>
|
||||
<family>Terafik</family>
|
||||
<family>Khmer OS System</family>
|
||||
<family>TSCu_Paranar</family>
|
||||
<family>BPG Courier</family>
|
||||
<family>MS Gothic</family>
|
||||
<family>HGGothicB</family>
|
||||
<family>IPAGothic</family>
|
||||
<family>Sazanami Gothic</family>
|
||||
<family>Kochi Gothic</family>
|
||||
<family>CMEXSong</family>
|
||||
<family>FZSongTi</family>
|
||||
<family>FZMingTiB</family>
|
||||
<family>AR PL SungtiL GB</family>
|
||||
<family>AR PL Mingti2L Big5</family>
|
||||
<family>UnDotum</family>
|
||||
<family>Baekmuk Gulim</family>
|
||||
<family>Baekmuk Dotum</family>
|
||||
<family>NSimSun</family>
|
||||
<family>HanyiSong</family>
|
||||
<family>ZYSong18030</family>
|
||||
</prefer>
|
||||
</alias>
|
||||
|
||||
<!--
|
||||
For fonts which have good byte code, one should always use
|
||||
the byte code interpreter if anti-aliasing is off.
|
||||
When anti-aliasing is on, people apparently disagree whether these
|
||||
fonts look better with the auto-hinter or the byte code interpreter.
|
||||
But when anti-aliasing is off, it is obvious that using the
|
||||
byte code interpreter is better.
|
||||
This has to be limited to a list of fonts which are known
|
||||
to have good byte though, most fonts do *not* have good byte code
|
||||
and render better with the autohinter even if anti-aliasing is off
|
||||
(See "FreeSans" for example, it obviously looks better with the
|
||||
autohinter when anti-aliasing is off).
|
||||
-->
|
||||
|
||||
<match target="font">
|
||||
<test name="family">
|
||||
<string>Andale Mono</string>
|
||||
<string>Arial</string>
|
||||
<string>Comic Sans MS</string>
|
||||
<string>Georgia</string>
|
||||
<string>Impact</string>
|
||||
<string>Trebuchet MS</string>
|
||||
<string>Verdana</string>
|
||||
<string>Courier New</string>
|
||||
<string>Times New Roman</string>
|
||||
<string>Tahoma</string>
|
||||
<string>Webdings</string>
|
||||
<string>Albany AMT</string>
|
||||
<string>Thorndale AMT</string>
|
||||
<string>Cumberland AMT</string>
|
||||
<string>Andale Sans</string>
|
||||
<string>Andy MT</string>
|
||||
<string>Bell MT</string>
|
||||
<string>Monotype Sorts</string>
|
||||
</test>
|
||||
<test name="antialias">
|
||||
<bool>false</bool>
|
||||
</test>
|
||||
<edit name="autohint">
|
||||
<bool>false</bool>
|
||||
</edit>
|
||||
</match>
|
||||
|
||||
</fontconfig>
|
||||
|
309
suse-pre-user.conf
Normal file
309
suse-pre-user.conf
Normal file
@ -0,0 +1,309 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||
<fontconfig>
|
||||
|
||||
<!--
|
||||
The dual-width Asian fonts (spacing=dual) are not rendered correctly,
|
||||
apparently Xft forces all widths to match. Trying to disable the
|
||||
width forcing code by setting globaladvance=false alone doesn't help.
|
||||
As a brute force workaround, also set spacing=proportional, i.e. handle
|
||||
them as proportional fonts:
|
||||
-->
|
||||
|
||||
<match target="font">
|
||||
<test name="lang" compare="contains">
|
||||
<string>ja</string>
|
||||
<string>zh</string>
|
||||
<string>ko</string>
|
||||
</test>
|
||||
<test name="spacing" compare="eq">
|
||||
<const>dual</const>
|
||||
</test>
|
||||
<edit name="spacing">
|
||||
<const>proportional</const>
|
||||
</edit>
|
||||
<edit name="globaladvance" binding="strong">
|
||||
<bool>false</bool>
|
||||
</edit>
|
||||
</match>
|
||||
|
||||
<!--
|
||||
There is a similar problem with dual width bitmap fonts. They don't
|
||||
have spacing=dual, therefore they are not handled by the above rule
|
||||
and still display as charcell fonts. For example "Efont Biwidth"
|
||||
has spacing=mono and "Misc Fixed Wide" has spacing=charcell.
|
||||
Force handling of these fonts as proportional fonts as well:
|
||||
-->
|
||||
|
||||
<match target="font">
|
||||
<test name="lang" compare="contains">
|
||||
<string>ja</string>
|
||||
<string>zh</string>
|
||||
<string>ko</string>
|
||||
</test>
|
||||
<test name="outline" compare="eq">
|
||||
<bool>false</bool>
|
||||
</test>
|
||||
<test name="spacing" compare="eq">
|
||||
<const>mono</const>
|
||||
<const>charcell</const>
|
||||
</test>
|
||||
<edit name="spacing">
|
||||
<const>proportional</const>
|
||||
</edit>
|
||||
<edit name="globaladvance" binding="strong">
|
||||
<bool>false</bool>
|
||||
</edit>
|
||||
</match>
|
||||
|
||||
<!-- ************************************************************ -->
|
||||
<!-- Font replacements and fallbacks -->
|
||||
<!-- ************************************************************ -->
|
||||
|
||||
<!--
|
||||
The SUSE fonts have been dropped from SuSE Linux >= 10.1 in
|
||||
favour of the DejaVu fonts. All extensions the SUSE fonts had
|
||||
over the original Bitstream fonts have already been merged into the
|
||||
DejaVu fonts and the DejaVu fonts contain many glyphs not in
|
||||
the SUSE fonts. Therefore there is no reason to use the SUSE
|
||||
fonts anymore.
|
||||
|
||||
As old config files or documents users might still refer to the SUSE
|
||||
fonts, we add rules here to use the DejaVu fonts as a replacement
|
||||
if the SUSE fonts are missing (The SUSE fonts are still used
|
||||
if they are still available for best compatibility).
|
||||
|
||||
The style=Roman used in the SUSE and the original "Bitstream Vera"
|
||||
fonts has been renamed into style=Book in the DejaVu fonts,
|
||||
therefore some extra rules are needed.
|
||||
|
||||
-->
|
||||
|
||||
<match target="pattern">
|
||||
<test name="family">
|
||||
<string>SUSE Sans</string>
|
||||
</test>
|
||||
<edit name="family" mode="append" binding="same">
|
||||
<string>DejaVu Sans</string>
|
||||
</edit>
|
||||
</match>
|
||||
|
||||
<match target="pattern">
|
||||
<test name="family">
|
||||
<string>SUSE Sans</string>
|
||||
</test>
|
||||
<test name="style">
|
||||
<string>Roman</string>
|
||||
</test>
|
||||
<edit name="family" mode="append" binding="same">
|
||||
<string>DejaVu Sans</string>
|
||||
</edit>
|
||||
<edit name="style" mode="append" binding="same">
|
||||
<string>Book</string>
|
||||
</edit>
|
||||
</match>
|
||||
|
||||
<match target="pattern">
|
||||
<test name="family">
|
||||
<string>SUSE Sans Mono</string>
|
||||
</test>
|
||||
<edit name="family" mode="append" binding="same">
|
||||
<string>DejaVu Sans Mono</string>
|
||||
</edit>
|
||||
</match>
|
||||
|
||||
<match target="pattern">
|
||||
<test name="family">
|
||||
<string>SUSE Sans Mono</string>
|
||||
</test>
|
||||
<test name="style">
|
||||
<string>Roman</string>
|
||||
</test>
|
||||
<edit name="family" mode="append" binding="same">
|
||||
<string>DejaVu Sans Mono</string>
|
||||
</edit>
|
||||
<edit name="style" mode="append" binding="same">
|
||||
<string>Book</string>
|
||||
</edit>
|
||||
</match>
|
||||
|
||||
<match target="pattern">
|
||||
<test name="family">
|
||||
<string>SUSE Serif</string>
|
||||
</test>
|
||||
<edit name="family" mode="append" binding="same">
|
||||
<string>DejaVu Serif</string>
|
||||
</edit>
|
||||
</match>
|
||||
|
||||
<match target="pattern">
|
||||
<test name="family">
|
||||
<string>SUSE Serif</string>
|
||||
</test>
|
||||
<test name="style">
|
||||
<string>Roman</string>
|
||||
</test>
|
||||
<edit name="family" mode="append" binding="same">
|
||||
<string>DejaVu Serif</string>
|
||||
</edit>
|
||||
<edit name="style" mode="append" binding="same">
|
||||
<string>Book</string>
|
||||
</edit>
|
||||
</match>
|
||||
|
||||
<!--
|
||||
If the original Adobe "Symbol" font is not available, use
|
||||
the URW font "Standard Symbols L" or the font "OpenSymbol" coming
|
||||
with OpenOffice as a replacement. The last font appended in this
|
||||
rule will win.
|
||||
(needed for Mozilla/Firefox to display symbols correctly).
|
||||
|
||||
-->
|
||||
|
||||
<match target="pattern">
|
||||
<test name="family">
|
||||
<string>symbol</string>
|
||||
</test>
|
||||
<edit name="family" mode="append" binding="strong">
|
||||
<string>OpenSymbol</string>
|
||||
</edit>
|
||||
<edit name="family" mode="append" binding="strong">
|
||||
<string>Standard Symbols L</string>
|
||||
</edit>
|
||||
</match>
|
||||
|
||||
<!--
|
||||
Use "Misc Console" (or "Misc Console Wide") instead of "console"
|
||||
(needed to make the menu entry labelled "Linux" in the font menu of
|
||||
KDE's konsole choose the same font as it used to).
|
||||
-->
|
||||
<match target="pattern">
|
||||
<test name="family">
|
||||
<string>console</string>
|
||||
</test>
|
||||
<edit name="family" mode="prepend" binding="strong">
|
||||
<string>Misc Console</string>
|
||||
</edit>
|
||||
<edit name="family" mode="prepend" binding="strong">
|
||||
<string>Misc Console Wide</string>
|
||||
</edit>
|
||||
</match>
|
||||
|
||||
<!-- ************************************************************ -->
|
||||
<!-- Blacklisting fonts which cannot work -->
|
||||
<!-- ************************************************************ -->
|
||||
|
||||
<!--
|
||||
the Hershey-Fonts from ghostscript-fonts-other.rpm are so called
|
||||
"Stroke" fonts which are currently not supported by Freetype
|
||||
-->
|
||||
|
||||
<selectfont>
|
||||
<rejectfont>
|
||||
<pattern>
|
||||
<patelt name="family">
|
||||
<string>Hershey-Gothic-English</string>
|
||||
</patelt>
|
||||
</pattern>
|
||||
<pattern>
|
||||
<patelt name="family">
|
||||
<string>Hershey-Plain-Duplex</string>
|
||||
</patelt>
|
||||
</pattern>
|
||||
<pattern>
|
||||
<patelt name="family">
|
||||
<string>Hershey-Plain-Duplex-Italic</string>
|
||||
</patelt>
|
||||
</pattern>
|
||||
<pattern>
|
||||
<patelt name="family">
|
||||
<string>Hershey-Plain-Triplex</string>
|
||||
</patelt>
|
||||
</pattern>
|
||||
<pattern>
|
||||
<patelt name="family">
|
||||
<string>Hershey-Plain-Triplex-Italic</string>
|
||||
</patelt>
|
||||
</pattern>
|
||||
<pattern>
|
||||
<patelt name="family">
|
||||
<string>Hershey-Script-Simplex</string>
|
||||
</patelt>
|
||||
</pattern>
|
||||
<pattern>
|
||||
<patelt name="family">
|
||||
<string>Hershey-Script-Complex</string>
|
||||
</patelt>
|
||||
</pattern>
|
||||
<pattern>
|
||||
<patelt name="family">
|
||||
<string>Hershey-Gothic-German</string>
|
||||
</patelt>
|
||||
</pattern>
|
||||
<pattern>
|
||||
<patelt name="family">
|
||||
<string>Hershey-Gothic-Italian</string>
|
||||
</patelt>
|
||||
</pattern>
|
||||
</rejectfont>
|
||||
</selectfont>
|
||||
|
||||
<!--
|
||||
CID keyed fonts don't work (yet) with freetype2
|
||||
-->
|
||||
|
||||
<selectfont>
|
||||
<rejectfont>
|
||||
<pattern>
|
||||
<patelt name="fontformat">
|
||||
<string>CID Type 1</string>
|
||||
</patelt>
|
||||
</pattern>
|
||||
</rejectfont>
|
||||
</selectfont>
|
||||
|
||||
<!--
|
||||
Windows fonts with the .fon extension don't work with Xft2
|
||||
(such fonts are in the "wine" package).
|
||||
-->
|
||||
|
||||
<selectfont>
|
||||
<rejectfont>
|
||||
<glob>*.fon</glob>
|
||||
</rejectfont>
|
||||
</selectfont>
|
||||
|
||||
<!-- BDF fonts don't work with Xft2 -->
|
||||
|
||||
<selectfont>
|
||||
<rejectfont>
|
||||
<glob>*.bdf</glob>
|
||||
</rejectfont>
|
||||
</selectfont>
|
||||
|
||||
<!-- Accept bitmap fonts -->
|
||||
|
||||
<selectfont>
|
||||
<acceptfont>
|
||||
<pattern>
|
||||
<patelt name="scalable">
|
||||
<bool>false</bool>
|
||||
</patelt>
|
||||
</pattern>
|
||||
</acceptfont>
|
||||
</selectfont>
|
||||
|
||||
<!-- ************************************************************ -->
|
||||
<!-- Hinting and antialiasing -->
|
||||
<!-- ************************************************************ -->
|
||||
|
||||
<include ignore_missing="yes">/etc/fonts/suse-hinting.conf</include>
|
||||
|
||||
<!-- ************************************************************ -->
|
||||
<!-- Bitmap related stuff -->
|
||||
<!-- ************************************************************ -->
|
||||
|
||||
<include ignore_missing="yes">/etc/fonts/suse-bitmaps.conf</include>
|
||||
|
||||
</fontconfig>
|
||||
|
Loading…
Reference in New Issue
Block a user