[PATCH] Default to use standard fonts and builtin fonts as a fallback
James Cloos
cloos at jhcloos.com
Tue Jan 6 13:57:59 PST 2009
+1 on concept.
I know some dists are using a simple patch such as:
diff --git a/dix/dixfonts.c b/dix/dixfonts.c
index 416adb3..719bca4 100644
--- a/dix/dixfonts.c
+++ b/dix/dixfonts.c
@@ -1907,12 +1907,9 @@ InitFonts (void)
{
patternCache = MakeFontPatternCache();
-#ifdef BUILTIN_FONTS
BuiltinRegisterFpeFunctions();
-#else
FontFileRegisterFpeFunctions();
fs_register_fpe_functions();
-#endif
}
int
A more complete patch is warranted, but perhaps just forcing built-ins
as the last entry of the fontpath is sufficient?
-JimC
--
James Cloos <cloos at jhcloos.com> OpenPGP: 1024D/ED7DAEA6
More information about the xorg
mailing list