You are not logged in.
I'm been having an issue displaying a font that is already embedded in an MKV file I'm playing.
This is how the ASS subtitles are suppose to look like
https://a.pomf.cat/eisvym.jpg
and this is how my ASS subtitles look like
https://a.pomf.cat/ohbyae.jpg
As you can see the styling is the same but the fonts aren't.
This is what my MPV log displays:
[ 1.509][v][sub/ass] fontselect: (Vesta, 400, 0) -> /usr/share/fonts/noto/NotoSans-Regular.ttc, 0, NotoSans
[ 1.513][v][vo/opengl] Reallocating OSD texture to 1024x256.
[ 1.513][v][osd/libass] Shaper: FriBidi 0.19.7 (SIMPLE) HarfBuzz-ng 1.4.6 (COMPLEX)
[ 1.513][v][osd/libass] Setting up fonts...
[ 1.517][v][osd/libass] Using font provider fontconfig
[ 1.517][v][osd/libass] Done.
[ 1.518][v][osd/libass] fontselect: (sans-serif, 400, 0) -> /usr/share/fonts/noto/NotoSans-Regular.ttc, 0, NotoSans
[ 1.518][v][vo/opengl] Reallocating OSD texture to 1024x128.
[ 1.519][v][vo/opengl] new shader program:
[ 1.519][v][vo/opengl] [ 1] color = vec4(ass_color.rgb, ass_color.a * texture(osdtex, texcoord).r);
[ 1.519][v][vo/opengl] [ 2] // color mapping
From the log it says the font "Vesta" is selected but it outputs the NotoSans default font and the same applies to sans-serif. How do I get the fonts embedded in the mkv to show up? The reason I came to ask here and not a forum dedicated to MPV is because I've messed with the config and reinstalled MPV so many times that I'm convinced MPV is not the problem here but something with libass or maybe I'm missing some package. I also realize I could manually download the Vesta font and have it point to it inside my MPV config file but that would be avoiding a problem that I want to find a solution to. This has been driving me nuts so any input would be greatly appreciated.
Solved it
I had to install the most recent version fontconfig from https://www.freedesktop.org/software/fo … g/release/ that wasn't on the arch repo yet and the one that I had installed from the repo might have had some problems with libass.
Mod Edit:
Big images are big, removing img tag.
R00KIE
Last edited by R00KIE (2017-07-13 09:44:26)
Offline
Good to hear that you managed to resolve your issue. Please read the Code of Conduct on Posting Pictures and edit your post accordingly.
Offline
Please edit your first post and replace the images by thumbnails or links to an image sharing website or somewhere you control.
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline
Just wanted to make a quick update for anyone that might have the same problem as I did. Today I updated my system with pacman and it came with the newest version of fontconfig and with that install came back the same old problems. I thought of deleting the font.conf file in /etc/fonts folder remembering I did so before and everything works again. Seems my manual install of fontconfig was unneccesary and might have done more harm than good as it bypassed my package manager. Deleting the font.conf is a temporary solution but at least I know what is causing the actual fontconfig problems now
Offline