"Building Font Cache" stuck at 20%

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
Cyborg771
New Cone
New Cone
Posts: 1
Joined: 21 Jul 2009 07:04

"Building Font Cache" stuck at 20%

Postby Cyborg771 » 21 Jul 2009 07:07

I just installed VLC 1.0.0 and when I went to play my first video a dialogue box came up saying it was rebuilding my font cache but it's permanently stuck at 20%. It comes up every time I try to play anything and the video doesn't start. Any suggestions?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: "Building Font Cache" stuck at 20%

Postby Jean-Baptiste Kempf » 21 Jul 2009 15:16

Delete %appdata%/vlc folder.

Is your video file a mkv with .ssa subtitle?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

aznfobboytly
New Cone
New Cone
Posts: 1
Joined: 22 Jul 2009 08:23

Re: "Building Font Cache" stuck at 20%

Postby aznfobboytly » 22 Jul 2009 08:29

I have the same problem. I attempted to play an .mkv file but it gets stuck at Building Font Cache 20%. I assume the file does have .ssa subtitles but not particularly sure. Will vlc 1.0.0 not be able to play it? The older versions were able to.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: "Building Font Cache" stuck at 20%

Postby Jean-Baptiste Kempf » 22 Jul 2009 09:21

Yes, just wait for the dialog to close. It can take some time.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

secarica
Blank Cone
Blank Cone
Posts: 95
Joined: 25 Oct 2005 00:27
Location: Romania, Earth
Contact:

Re: "Building Font Cache" stuck at 20%

Postby secarica » 07 Jun 2010 18:13

Is your video file a mkv with .ssa subtitle?
I have just encountered a somewhat similar behaviour (except that in my case the "rebuilding" ended finally after a looong waiting) when I wanted to play a mmsh stream. Essetntially I sent a stream from my home computer (DirectShow, USB camera) that I played to my laptop at my office.

What has any font to do with my stream ?

(VLC 0.8.6i / WinXP at sending, VLC 1.1.0 rc2 nightly build / WinVista at receiving)

Cristi
... I think it's too hard to think

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: "Building Font Cache" stuck at 20%

Postby VLC_help » 08 Jun 2010 16:57

VLC shouldn't rebuild font cache if the file/stream doesn't contain subtitles.

secarica
Blank Cone
Blank Cone
Posts: 95
Joined: 25 Oct 2005 00:27
Location: Romania, Earth
Contact:

Re: "Building Font Cache" stuck at 20%

Postby secarica » 08 Jun 2010 20:40

The only thing I can say is that it does.

I checked right now, on my home network: I enabled again the USB camera on my desktop computer as described above (mmsh protocol); on my laptop I deleted first the user VLC directory entirely (being on Vista, that was on C:\Users\secarica\AppData\Roaming), then I launched VLC which now started with the privacy policy dialog; when tried to play the mmsh stream, the font cache directory appeared; it took 25 seconds to disappear, after which finally my stream was displayed.

Cristi
... I think it's too hard to think

InsrtCoins
New Cone
New Cone
Posts: 1
Joined: 08 Sep 2010 08:33

Re: "Building Font Cache" stuck at 20%

Postby InsrtCoins » 08 Sep 2010 08:36

I'm having a similar problem. Every time I try to open a video (subtitled or not) it tells me that it is rebuilding my font cache. It takes several minutes and it has no indication of progress. It eventually builds the required cache and plays the video, but I don't want to wait 3 or 4 minutes before playing a video every time I want to watch something.

vsrawat
New Cone
New Cone
Posts: 2
Joined: 26 Nov 2008 04:58

Re: "Building Font Cache" stuck at 20%

Postby vsrawat » 03 Dec 2010 15:40

I am also having the same problem that it is asking to rebuild font cache every time I run vlc, and that takes 4-5 minutes. I am fed up with it.

These are normal dvd or disc video files and there is no subtitle in them.

How do I stop it from building font cache?

Thanks.

luckman212
New Cone
New Cone
Posts: 3
Joined: 12 Sep 2010 07:35

Re: "Building Font Cache" stuck at 20%

Postby luckman212 » 03 Dec 2010 15:47

I am still having the problem too, VLC 1.1.5 now.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: "Building Font Cache" stuck at 20%

Postby VLC_help » 03 Dec 2010 18:20

I am still having the problem too, VLC 1.1.5 now.
Yes, it is still broken for some people.

luckman212
New Cone
New Cone
Posts: 3
Joined: 12 Sep 2010 07:35

Re: "Building Font Cache" stuck at 20%

Postby luckman212 » 03 Dec 2010 18:27

is there any workaround, or does anyone even know the source of the problem?

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: "Building Font Cache" stuck at 20%

Postby VLC_help » 04 Dec 2010 14:58

Issue is related to fontconfig (wrong folder search + too many subtitle files/broken subtitle files). Easy fix is to disable subtitles completely (set default text renderer to dummy).

grozea
Blank Cone
Blank Cone
Posts: 33
Joined: 09 Oct 2008 03:13

Re: "Building Font Cache" stuck at 20%

Postby grozea » 12 Jan 2011 14:13

Hi, The "Font Cache" popup appears quite frequently on my Windows system (running VLC 1.1.5). I have .txt with the same names as the video files - could that be a cause of this? VLC mistaking them for subtitle files and therefore activating the font cache component (whatever that does)?

I use subtitle files sometimes but very rarely. Is there some easy way to toggle all things subtitle on/off in VLC and thereby preventing all such "font cache" popups?

More specifically, is it possible to filter what file extensions VLC looks for as potential subtitle files? I want to filter out .txt files.

I also wonder why the "font cache" delay is needed at all? Why is it that everything else in VLC must wait for the font cache? Why can't the video start rolling and the subtitle track (if found) can "catch up" once the font cache is rebuilt in the background?

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: "Building Font Cache" stuck at 20%

Postby VLC_help » 12 Jan 2011 16:20

I have .txt with the same names as the video files - could that be a cause of this?
Yes, any subtitle activity (including OSD text) can trigger this.
Is there some easy way to toggle all things subtitle on/off in VLC and thereby preventing all such "font cache" popups?
Dummy font renderer is ATM only option.
More specifically, is it possible to filter what file extensions VLC looks for as potential subtitle files? I want to filter out .txt files.
This requires VLC code changes. .txt is removed in VLC 1.1.6

grozea
Blank Cone
Blank Cone
Posts: 33
Joined: 09 Oct 2008 03:13

Re: "Building Font Cache" stuck at 20%

Postby grozea » 13 Jan 2011 17:29

Thanks. If anyone else is looking, here is the path to the setting in question:
tools > preferences (toggle advanced preferences on) > video > Subtitles: Text rendering module: Dummy font

oliv29
New Cone
New Cone
Posts: 1
Joined: 23 Feb 2011 00:38

Re: "Building Font Cache" stuck at 20%

Postby oliv29 » 23 Feb 2011 00:40

Why doesn't anybody mention about the downside of this setting? The downside, as far as i've noticed is that the subtitle files wont be rendered (text visibility) once loaded with movie file or dragged into movie window after movie started. It happens with .srt files...I dont know about the other formats, but since i dont see the connection, i presume it happens the same thing. My VLC version is 1.1.7 (Win7)

Jetro
New Cone
New Cone
Posts: 4
Joined: 26 Jan 2011 00:39

Re: "Building Font Cache" stuck at 20%

Postby Jetro » 14 Apr 2011 02:42

Yes please fix this --please stay polite-- error

One shouldn't have to wait five minutes just to get subtitles on a video

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: "Building Font Cache" stuck at 20%

Postby Jean-Baptiste Kempf » 14 Apr 2011 13:06

Try 1.2.0 from Nightly Build of VLC
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Mogget128723
New Cone
New Cone
Posts: 1
Joined: 28 Feb 2012 11:44

Re: "Building Font Cache" stuck at 20%

Postby Mogget128723 » 28 Feb 2012 11:59

Sorry to gravedig, but I'm experiencing a similar problem.

I'll try to open a .mkv file with subtitles, and the 'rebuilding font cache' dialog will open, getting stuck at 20%. But it won't go away; I left it for half an hour just now. And not only that, but the longer I leave it alone, the more it sinks its teeth into my system. Streaming media like music will start to skip, Firefox will cycle through periods of usability and lengthening periods of unresponsiveness, and in general, the system slows down to the point of insanity. I'm using a gaming laptop: 1.6Ghz oct-core, 8 gigs of DDR3 RAM, 1 gig video memory. Nothing should slow it down like that.

Anyway, at that point, I can tell VLC to cancel rebuilding and close it down, but my computer will continue to lock up. I then have to go into the task manager and tell it to terminate vlc.exe, and it says it's done so... but the process remains for several minutes before actually closing down and returning my computer to normal.

I was using the latest official release of VLC, and I updated to today's nightly just to make sure... and the problem persisted.

I tried putting a dummy font into the text rendering module like suggested earlier in the thread, but it'd just switch to a default Microsoft font anyway. Besides, disabling subtitles here isn't an option... the audio stream's in Japanese XD

Any suggestions?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: "Building Font Cache" stuck at 20%

Postby Jean-Baptiste Kempf » 28 Feb 2012 12:50

It means a font is blocking fontconfig. Except removing that font, or removing the libass plugin, There is not much you can do.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: Google [Bot] and 44 guests