cd /usr/share/fonts/OTF
sudo wget -O mplayer2_osd_font.otf http://git.mplayer2.org/mplayer2/plain/sub/osd_font.otf
sudo fc-cache -f -v
You can delete /usr/share/fonts/OTF/mplayer2_osd_font.otf once the fix comes to Arch repos.
]]>On the other hand, this thread is about mplayer2, and here the issue is indeed "fixed" by changing the format of the font into one that does not trigger the fontconfig bug.
]]>local/fontconfig 2.10.92-4
local/libass 0.10.1-1
You can probably avoid touching system directories this way:
mkdir -p ~/.fonts/OSD wget -O ~/.fonts/OSD/osd_font.pfb 'http://git.mplayer2.org/mplayer2/plain/sub/osd_font.pfb?id=9d6b188' fc-cache -f -v ~/.fonts
That worked for me at least.
Of course it did -- this location is still available. Just in case, don't forget about the $XDG_DATA_HOME/fonts || $HOME/.local/share/fonts which will eventually replace it.
]]>mkdir -p ~/.fonts/OSD
wget -O ~/.fonts/OSD/osd_font.pfb 'http://git.mplayer2.org/mplayer2/plain/sub/osd_font.pfb?id=9d6b188'
fc-cache -f -v ~/.fonts
That worked for me at least.
]]>i make the same changes in my mplayer2-build-git pkgbuild in AUR
(save font in otf format with fontforge and change path in makefile)
]]>Thanks bro.
]]>Did you save the font as /usr/share/fonts/<dir>/osd_font.pfb, just like I suggested above? If you did, then you should see something like in the screenshot from my mplayer2 running. All other symbols (~13 altogether) are displayed correctly, too…
Yes, your fix works 100% correctly. To clarify:
rkreis's suggestion is mostly a fix. (what I was using)
bohoomil's suggestion is a complete fix. (what I'm now using)
]]>MPV Player is tracking it here: https://github.com/mpv-player/mpv/issue … t-17100091
]]>