text viewer: some fixes related to font.
commit6a546bf639904520ee37f60b6cba9f694e5484a1
authorteru <teru@a1c6a512-1295-4272-9138-f99709370657>
Mon, 7 Jun 2010 12:03:30 +0000 (7 12:03 +0000)
committerteru <teru@a1c6a512-1295-4272-9138-f99709370657>
Mon, 7 Jun 2010 12:03:30 +0000 (7 12:03 +0000)
tree10b32ca8afea6d6b8e8e5798651ccd6c709c6883
parentaac825c3b6e96bc9a78ac71082e6475540f3090f
text viewer: some fixes related to font.
* don't load font if it's not needed.
 - loading 16-GNU-Unifont seems to take some time.
* restore font to settings on exit plugin.
* don't allocate buffer on stack for name of fonts in select font menu.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26657 a1c6a512-1295-4272-9138-f99709370657
apps/plugins/text_viewer/tv_menu.c
apps/plugins/text_viewer/tv_window.c