Fix bug when shutting down all engine and still have some font in the cache.
authorcedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 31 Oct 2008 10:46:46 +0000 (10:46 +0000)
committercedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 31 Oct 2008 10:46:46 +0000 (10:46 +0000)
commit1e37eb28e6c308e86ee32d5f087578d150f5c757
tree9f8ab893f7ea4bc7d101eaf53dce47a0556d139b
parent7c82022a98c11307b152cfe435a761173697da3e
Fix bug when shutting down all engine and still have some font in the cache.

Draw back: When we are destroying an Evas canvas, we loose all cached font
that are not used anymore.

A correct fix would be to link Fndat to the Evas that provide and use them.
And only delete them when no more Evas reference them.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@37353 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
src/lib/canvas/evas_font_dir.c
src/lib/canvas/evas_main.c
src/lib/include/evas_private.h
src/modules/engines/software_16_sdl/evas_engine.c
src/modules/engines/software_sdl/evas_engine.c