Enlightenment CVS committal Author : shorne Project : e17 Module : libs/evas
Dir : e17/libs/evas/src/lib/include Modified Files: evas_common.h Log Message: Evas on-demand font loading * When fonts are added from files we will only load the details * The first font is always loaded * I know there is a patch for this on the list but this way seems better to me =================================================================== RCS file: /cvs/e/e17/libs/evas/src/lib/include/evas_common.h,v retrieving revision 1.56 retrieving revision 1.57 diff -u -3 -r1.56 -r1.57 --- evas_common.h 7 Mar 2006 02:44:15 -0000 1.56 +++ evas_common.h 9 Apr 2006 00:02:47 -0000 1.57 @@ -334,8 +334,8 @@ { Evas_Object_List _list_data; - char *name; - char *file; + const char *name; + const char *file; void *data; int data_size; @@ -865,6 +865,7 @@ void evas_common_font_shutdown (void); RGBA_Font_Source *evas_common_font_source_memory_load(const char *name, const void *data, int data_size); RGBA_Font_Source *evas_common_font_source_load (const char *name); +int evas_common_font_source_load_complete(RGBA_Font_Source *fs); RGBA_Font_Source *evas_common_font_source_find (const char *name); void evas_common_font_source_free (RGBA_Font_Source *fs); void evas_common_font_size_use (RGBA_Font *fn); @@ -873,6 +874,7 @@ RGBA_Font *evas_common_font_add (RGBA_Font *fn, const char *name, int size); RGBA_Font *evas_common_font_memory_add (RGBA_Font *fn, const char *name, int size, const void *data, int data_size); RGBA_Font_Int *evas_common_font_int_load_init (RGBA_Font_Int *fn); +RGBA_Font_Int *evas_common_font_int_load_complete (RGBA_Font_Int *fi); void evas_common_font_free (RGBA_Font *fn); void evas_common_font_hinting_set (RGBA_Font *fn, Font_Hint_Flags hinting); Evas_Bool evas_common_hinting_available (Font_Hint_Flags hinting); ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs