Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/evas

Dir     : e17/libs/evas/src/lib/engines/directfb


Modified Files:
        evas_engine_dfb.c evas_engine_dfb.h 


Log Message:


added in loading froms from memory buffers at the engine level, and now an
api to set a font "source" (blank is normal filing system) but the source can
be a device or file etc. in this case it currently supports eet files as the
source and then the font name is used as a key in th eet file as to where to
find the font - edb support would be trivial to add. :) if the font is not
found in the "source" it falls back to the font path etc.

===================================================================
RCS file: 
/cvsroot/enlightenment/e17/libs/evas/src/lib/engines/directfb/evas_engine_dfb.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- evas_engine_dfb.c   17 Jan 2004 16:27:58 -0000      1.7
+++ evas_engine_dfb.c   23 Jan 2004 02:13:57 -0000      1.8
@@ -62,6 +62,7 @@
    evas_engine_directfb_image_cache_get,
    /* more to come */
    evas_engine_directfb_font_load,
+   evas_engine_directfb_font_memory_load,
    evas_engine_directfb_font_free,
    evas_engine_directfb_font_ascent_get,
    evas_engine_directfb_font_descent_get,
@@ -759,6 +760,15 @@
    return evas_common_font_load(name, size);
 }
 
+void        *
+evas_engine_directfb_font_memory_load(void *data, char *name, int size, const void 
*fdata, int fdata_size)
+{
+   Render_Engine      *re;
+
+   re = (Render_Engine *) data;
+   return evas_common_font_memory_load(name, size, fdata, fdata_size);
+}
+
 void
 evas_engine_directfb_font_free(void *data, void *font)
 {
===================================================================
RCS file: 
/cvsroot/enlightenment/e17/libs/evas/src/lib/engines/directfb/evas_engine_dfb.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- evas_engine_dfb.h   8 Nov 2002 08:02:15 -0000       1.1
+++ evas_engine_dfb.h   23 Jan 2004 02:14:01 -0000      1.2
@@ -133,6 +133,11 @@
                                                       double angle);
 void               *evas_engine_directfb_font_load(void *data, char *name,
                                                   int size);
+void               *evas_engine_directfb_font_memory_load(void *data, 
+                                                         char *name,
+                                                         int size, 
+                                                         const void *fdata, 
+                                                         int fdata_size);
 void                evas_engine_directfb_font_free(void *data, void *font);
 int                 evas_engine_directfb_font_ascent_get(void *data,
                                                         void *font);




-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to