[vlc-devel] commit: freetype: force updating fontcache on loading of module ( Ilkka Ollakka )

git version control git at videolan.org
Thu Aug 6 21:07:45 CEST 2009


vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Thu Aug  6 21:58:11 2009 +0300| [507bd5865875dc26718a5dbf0455237620e633b5] | committer: Ilkka Ollakka 

freetype: force updating fontcache on loading of module

Remove external thread for fontdbbuiler, and do it on load. First run is
slower on windows, so show dialog about it to user. Following runs
should be much faster (atleast according to my own tests).

So on optimal case user sees that font-dialog only once when initial
cache is created.

One idea was to load freetype-module on start of vlc, so it would create
that cache on start of vlc instead of start of video (when showing
title), and could be changed to show something like 'VLC is starting
first time, please wait a while...' or so.

Feel free to revert/change/complain about this if it doesn't work for
you.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=507bd5865875dc26718a5dbf0455237620e633b5
---

 modules/misc/freetype.c |  237 +++++++++++------------------------------------
 1 files changed, 56 insertions(+), 181 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=507bd5865875dc26718a5dbf0455237620e633b5



More information about the vlc-devel mailing list