Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/edje

Dir     : e17/libs/edje/src/bin


Modified Files:
        edje_cc_handlers.c 


Log Message:


rephorm missed another place fonts were being set, and forgot to include the
compiler side to list the fonts... :)

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/edje/src/bin/edje_cc_handlers.c,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -3 -r1.33 -r1.34
--- edje_cc_handlers.c  14 Jul 2004 07:57:35 -0000      1.33
+++ edje_cc_handlers.c  30 Aug 2004 08:06:59 -0000      1.34
@@ -311,11 +311,21 @@
 st_fonts_font(void)
 {
    Font *fn;
+   Edje_Font_Directory_Entry *fnt;
    
    fn = calloc(1, sizeof(Font));
    fn->file = parse_str(0);
    fn->name = parse_str(1);
    fonts = evas_list_append(fonts, fn);
+   
+   if (!edje_file->font_dir)
+     edje_file->font_dir = calloc(1, sizeof(Edje_Font_Directory));
+   
+   fnt = calloc(1, sizeof(Edje_Font_Directory_Entry));
+   fnt->entry = strdup(fn->name);
+   
+   edje_file->font_dir->entries = 
+     evas_list_append(edje_file->font_dir->entries, fnt);
 }
 
 static void




-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to