Commit Graph

10 Commits

Author SHA1 Message Date
Thomas Martitz c23ce62829 fonts: Do not unload completely on USB.
The font engine can now perform cache lookups even if the font file is
closed, if the font was disabled with the new font_disable_all() function.
It is highly probable that the lookup succeeds but in the cache-miss case
a blank, full-width glyph will be returned.

Change-Id: I3c97e747d2a0ba30c7b495c6118c9f029d265b56
2014-01-15 23:37:39 +01:00
Fred Bauer 2154cbf706 remove stray debugging line
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31078 a1c6a512-1295-4272-9138-f99709370657
2011-11-27 16:27:20 +00:00
Fred Bauer e62cccb81e fix up font_cache/LRU boundry errors from r30763
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31050 a1c6a512-1295-4272-9138-f99709370657
2011-11-25 16:15:16 +00:00
Bertrik Sikken e71750b7a3 Make local functions and variables static where possible
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30897 a1c6a512-1295-4272-9138-f99709370657
2011-11-03 23:32:49 +00:00
Fred Bauer 0ab2c1b4c4 In search(): eliminate an unnecessary test.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30784 a1c6a512-1295-4272-9138-f99709370657
2011-10-18 17:02:24 +00:00
Fred Bauer cd0102ba14 font_cache.c: Optimize and simplify cache search. ~25% font rendering boost
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30763 a1c6a512-1295-4272-9138-f99709370657
2011-10-16 20:17:44 +00:00
Daniel Stenberg 2acc0ac542 Updated our source code header to explicitly mention that we are GPL v2 or
later. We still need to hunt down snippets used that are not. 1324 modified
files...
http://www.rockbox.org/mail/archive/rockbox-dev-archive-2008-06/0060.shtml


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17847 a1c6a512-1295-4272-9138-f99709370657
2008-06-28 18:10:04 +00:00
Nils Wallménius 660dbac5c9 Make a couple of private functions static
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17087 a1c6a512-1295-4272-9138-f99709370657
2008-04-12 17:08:35 +00:00
Jens Arnold 85c0440ae9 Font cache now uses memmove().
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8603 a1c6a512-1295-4272-9138-f99709370657
2006-02-06 17:24:47 +00:00
Marcoen Hirschberg b0fee17d6e waiting is over: initial unicode commit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8169 a1c6a512-1295-4272-9138-f99709370657
2005-12-06 13:27:15 +00:00