Re: [PATCH] Default to use standard fonts and builtin fonts as a fallback

2009-01-07 Thread Nicolas Mailhot
Hi, From a totally human and not technical POW, it would be great if use of core fonts, especially *failing* use of core fonts, resulted in a warning telling people to fontconfig-ify their apps. I'd rather have users pester application authors/ISVs so they move to the current millenium rather

[PATCH] Default to use standard fonts and builtin fonts as a fallback

2009-01-06 Thread Paulo César Pereira de Andrade
The attached patch changes the current XServer behaviour of using built-ins font by default only. But if the default font 'fixed' is not found, it will automatically default to use built-ins fonts. I believe this is a far more reasonable default, and still addresses the most common Xorg FAQ

Re: [PATCH] Default to use standard fonts and builtin fonts as a fallback

2009-01-06 Thread James Cloos
+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

Re: [PATCH] Default to use standard fonts and builtin fonts as a fallback

2009-01-06 Thread Paulo César Pereira de Andrade
James Cloos wrote: +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 =

Re: [PATCH] Default to use standard fonts and builtin fonts as a fallback

2009-01-06 Thread Paulo César Pereira de Andrade
Paulo César Pereira de Andrade wrote: [...] A more complete patch is warranted, but perhaps just forcing built-ins as the last entry of the fontpath is sufficient? Updated, simpler and more reliable, patch attached. (patch name also change) Sorry for replying myself (twice). There is