Page 1 of 1
[Windows] Mplayer and font scanning [SOLVED]
Posted:
Sun Aug 26, 2012 2:53 am
by anonymous_user
I am using SMPlayer 0.8.0+SVN-r4373 (32-bit) (Portable Edition) and when I open a video, Mplayer will begin scanning my fonts which takes a short while and is annoying. Heres the relevant part of the Mplayer log:
http://pastebin.com/skH3P4GuI tried selecting different fonts, using normal subtitles instead of SSA/ASS, disabling freetype2, and nothing helps. Now if Mplayer would only scan the fonts once, I wouldn't complain. However it scans the fonts everytime I run it on a different machine. Any ideas?
Re: [Windows] Mplayer and font scanning
Posted:
Sun Aug 26, 2012 5:28 am
by redxii
It creates a cache the first time and doesn't scan on subsequent files. I'm not able to reproduce anything otherwise, the cache is created where you extracted SMPlayer and doesn't cache for other computers.
If you put SMPlayer in a read-only location it would prevent the creation of the cache file and cause the scanning every time you open a file.
Re: [Windows] Mplayer and font scanning
Posted:
Thu Feb 21, 2013 2:02 am
by AboveAverage
This occurs every time you add a new font to the C:\Windows\Fonts directory. Anytime you change that directory the next time SMPlayer Portable loads it has to re-scan ALL fonts on the computer and create a new cache. There should really be an option to turn this off. Like an option that says "Scan fonts when new fonts are added" or "Only ever use Arial for subtitles". I will take that second option EVERY... FUCKING... TIME.
I've got a large font collection and I add to it regularly, I don't need to wait 20 minutes for a VIDEO PLAYER to scan FONTS that it has no use for. I never open videos that require subtitles. This, and videos skipping at the start are the reasons I switched over to portable VLC, as much as I hate VLC.
Re: [Windows] Mplayer and font scanning
Posted:
Sun May 12, 2013 1:50 am
by anonymous_user
I need to do more testing, but so far it seems that using mplayer2 instead of mplayer resulting in no font caching. I am happy.
Re: [Windows] Mplayer and font scanning [SOLVED]
Posted:
Wed Dec 18, 2013 5:09 pm
by interarticle
One way to prevent font scanning is to disable windows fonts under fontconfig. Go under SMPlayerPortable/App/SMPlayer/mplayer/fonts, and open fonts.conf. Please note this is a UNIX line-ending file, thereby requiring something other than notepad (wordpad should work). Comment out/remove the line "<dir>WINDOWSFONTDIR</dir>". Beware that this may make it impossible for SMPlayer to display subtitles, so keep a copy of the fonts.conf before editing.
Confirmed to eliminate font scanning.
Re: [Windows] Mplayer and font scanning [SOLVED]
Posted:
Sun Jan 26, 2014 12:52 pm
by brucedunlop
Windows 7 retains ownership as Administrator.
Changing ownership and permissions of the fonts.conf file to your own username allows Mplayer to rewrite the fonts.cong file.
Re: [Windows] Mplayer and font scanning [SOLVED]
Posted:
Mon Jan 27, 2014 3:11 pm
by joo003464
What a great ability of writing this post contains.. .. ..
Its been a true pleasure to go through your post. Keep up this good working.. ..
Re: [Windows] Mplayer and font scanning [SOLVED]
Posted:
Wed Jul 16, 2014 9:47 pm
by visitor
This worked for me.
http://sokosensei.wordpress.com/2013/11 ... -smplayer/PS---I am here to help and don't appreciate having to do a Google search to answer your silly challenge question. Bite me.