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;
}
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs