Closed dominic-espo closed 1 year ago
since i dont have a linux platform, please check mpv manual for solutions.
https://mpv.io/manual/master/#files
---- Replied Message ---- | From | Dominic @.> | | Date | 05/23/2023 08:46 | | To | @.> | | Cc | @.***> | | Subject | [maoiscat/mpv-osc-modern] Material icon font won't load (Issue #45) |
Upon opening a video in mpv, I can see the following output in my terminal:
[osd/libass] fontselect: Using default font family: (mpv-osd-symbols, 400, 0) -> /usr/share/fonts/ubuntu-font-family/UbuntuMono-R.ttf, 0, UbuntuMono-Regular [osd/libass] fontselect: Using default font family: (material-design-iconic-font, 400, 0) -> /usr/share/fonts/ubuntu-font-family/UbuntuMono-R.ttf, 0, UbuntuMono-Regular
Deleting .config/fontconfig/fonts.conf only changes Ubuntu to the Liberation font in the mpv output, and doesn't help with loading the Material font.
I have the Material-Design-Iconic-Font.ttf file installed in my /usr/share/fonts/ folder.
Here's what icons look like right now inside mpv:
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>
Wow. I feel silly. I was supposed to put the font in my mpv font folder. Not my system's font folder. Though, that didn't fix the issue.
I tried the ModernX fork, and it did load icons properly. I can't explain why.
Because sth like \xEF\x8E\xA0
is not supported, use decimal ones instead.
Upon opening a video in mpv, I can see the following output in my terminal:
Deleting
.config/fontconfig/fonts.conf
only changesUbuntu
to theLiberation
font in the mpv output, and doesn't help with loading the Material font.I have the
Material-Design-Iconic-Font.ttf
file installed in my/usr/share/fonts/
folder.Here's what icons look like right now inside mpv: