From: Enlightenment C. <no...@cv...> - 2006-10-20 15:38:58
|
Enlightenment CVS committal Author : kwo Project : e16 Module : e Dir : e16/e/src Modified Files: tclass.h text.c Log Message: Disable text rendering using XDrawString(16). - The code should never come in play anyway because of the "fixed" fallback in the XCreateFontSet case. =================================================================== RCS file: /cvs/e/e16/e/src/tclass.h,v retrieving revision 1.13 retrieving revision 1.14 diff -u -3 -r1.13 -r1.14 --- tclass.h 18 Oct 2006 18:19:14 -0000 1.13 +++ tclass.h 20 Oct 2006 15:38:48 -0000 1.14 @@ -39,7 +39,7 @@ #define FONT_TYPE_UNKNOWN 0 #define FONT_TYPE_IFT 1 /* Imlib2/FreeType */ #define FONT_TYPE_XFS 2 /* XFontSet */ -#define FONT_TYPE_XFONT 3 /* XFontStruct */ +#define FONT_TYPE_XFONT 0 /* XFontStruct */ #if FONT_TYPE_IFT typedef void EFont; =================================================================== RCS file: /cvs/e/e16/e/src/text.c,v retrieving revision 1.74 retrieving revision 1.75 diff -u -3 -r1.74 -r1.75 --- text.c 18 Oct 2006 18:19:14 -0000 1.74 +++ text.c 20 Oct 2006 15:38:48 -0000 1.75 @@ -653,7 +653,9 @@ #endif done: - if (EventDebug(EDBUG_TYPE_FONTS)) + if (!ts->ops) + Eprintf("*** Unable to load font \"%s\"\n", ts->fontname); + else if (EventDebug(EDBUG_TYPE_FONTS)) Eprintf("TextStateLoadFont %s: type=%d\n", ts->fontname, ts->type); return; } |