Evas font: Fixed font cache.
authortasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 22 Aug 2011 14:45:19 +0000 (14:45 +0000)
committertasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 22 Aug 2011 14:45:19 +0000 (14:45 +0000)
Apparently someone (probably me) broke it a while ago, now it works.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@62694 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/canvas/evas_font_dir.c

index e414011..42f0443 100644 (file)
@@ -757,6 +757,7 @@ evas_font_load(Evas *evas, Evas_Font_Description *fdesc, const char *source, Eva
        if (source) fd->source = eina_stringshare_add(source);
        fd->font = font;
         fd->wanted_rend = wanted_rend;
+        fd->size = size;
        fd->ref = 1;
        fonts_cache = eina_list_prepend(fonts_cache, fd);
 #ifdef HAVE_FONTCONFIG