You are not logged in.
oceans11 wrote:Rasi wrote:https://github.com/kax4/mpv/raw/master/sub/osd_font.pfb
direct download of the pfb file
then
mv osd_font.pfb ~/.mplayer/subfont.ttf
worked for me too.
Thank you, guys!Are you talking about subtitles or the osd? I don't have subtitels to test, but the osd is still broken. This is what the output looks like:
[ass] FcFreeTypeQueryFace failed
osd. i don't have subtitles too.
Offline
Javafant wrote:oceans11 wrote:then
mv osd_font.pfb ~/.mplayer/subfont.ttf
worked for me too.
Thank you, guys!Are you talking about subtitles or the osd? I don't have subtitels to test, but the osd is still broken. This is what the output looks like:
[ass] FcFreeTypeQueryFace failed
osd. i don't have subtitles too.
Copying the file like that doesn't seem to work for me. Specifically the OSD play icon is still broken and the [ass] error still comes up from the mplayer output.
Offline
Copying the file like that doesn't seem to work for me. Specifically the OSD play icon is still broken and the [ass] error still comes up from the mplayer output.
You mean, where you used to see the "play" icon your now see the three dots (contrast?) icon? That's what I see. This "copy file" fix certainly helps, but doesn't appear to be perfect...
Offline
What I see is a square box (like a National Geographic logo). Not three dots.
MPV Player is tracking it here: https://github.com/mpv-player/mpv/issue … t-17100091
Offline
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…
:: Registered Linux User No. 223384
:: github
:: infinality-bundle+fonts: good looking fonts made easy
Offline
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)
Last edited by drcouzelis (2013-04-27 00:52:17)
Offline
bohoomil's suggestion worked for me aswell.
Offline
bohoomil
Thanks bro.
No signature currently stored in profile.
Offline
mpv player fix the issue with commit https://github.com/mpv-player/mpv/commi … 030da57572
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)
Last edited by sl1pkn07 (2013-04-30 00:11:15)
Offline
While the trick with the PFB font didn't work for me, using the OTF font actually did it. I didn't even have to rebuild mplayer2 (just mkfontdir/mkfontscale/fc-cache).
Here it is, from sl1pkn07 PKGBUILD : https://dl.dropboxusercontent.com/u/659 … d_font.otf
Offline
It might have not worked if your font policy rejects T1 fonts.
:: Registered Linux User No. 223384
:: github
:: infinality-bundle+fonts: good looking fonts made easy
Offline
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.
Offline
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.
:: Registered Linux User No. 223384
:: github
:: infinality-bundle+fonts: good looking fonts made easy
Offline
Offline
This of course goes for mpv too;
wm4's commit to mpv
Built from git via PKGBUILD from the AUR a few moments ago, the OSD shows glyphs correctly - that were previously missing. No intervention/hackery on my part of any kind, re: fixes in this thread.
local/fontconfig 2.10.92-4
local/libass 0.10.1-1
Offline
Well, there is still a bug in fontconfig. So saying "fixed" is not fully correct. Any other situation where PostScript fonts from memory are being used are still broken.
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.
Offline
They converted the font to OTF. Here's a copy&paste to fix this issue:
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.
Last edited by Blaubos (2013-05-19 17:17:19)
Offline
Issue fixed with fontconfig 2.10.93-1.
Offline