]> git.sesse.net Git - vlc/commit
freetype: force updating fontcache on loading of module
authorIlkka Ollakka <ileoo@videolan.org>
Thu, 6 Aug 2009 18:58:11 +0000 (21:58 +0300)
committerIlkka Ollakka <ileoo@videolan.org>
Thu, 6 Aug 2009 19:06:54 +0000 (22:06 +0300)
commit507bd5865875dc26718a5dbf0455237620e633b5
treeb28293cffe86871d2e9c7a582944813440f99467
parentd17b37cf13328c26acc7faadc5537d95e1d60772
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.
modules/misc/freetype.c