mpv-android / mpv-android

#mpv-android @ libera.chat
MIT License
1.81k stars 226 forks source link

Why mpv isn't recognising sub font from storage? #860

Closed sujitfg1 closed 1 month ago

sujitfg1 commented 3 months ago

I've Adobe CaslonPro Subtitles Stored in Download directory and i wanted to use it as sub font so i wrote

sub-font='ACaslonPro-Semibold'

But it seem MPV isn't recognising the font and using Android default Serif font as fallback

What's proper way to use custom font?

Dir: /storage/emulated/0/Download/adobe-caslon-pro/ACaslonPro-Semibold.otf

sfan5 commented 3 months ago

There is no proper way to use a custom font since Android's sandbox likely will block read access to ones you store in public folder (same problem as all the other questions about external files).

sujitfg1 commented 3 months ago

So there's no way to do that?

BTW MPV sometimes don't change colour of subtitles any reason?

On Wed, Feb 7, 2024, 10:16 PM sfan5 @.***> wrote:

There is no proper way to use a custom font since Android's sandbox likely will block read access to ones you store in public folder (same problem as all the other questions about external files).

— Reply to this email directly, view it on GitHub https://github.com/mpv-android/mpv-android/issues/860#issuecomment-1932459143, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZIPWPEJHGBVC3QNV3D64A3YSOVVDAVCNFSM6AAAAABCXPYOCCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZSGQ2TSMJUGM . You are receiving this because you authored the thread.Message ID: @.***>

sujitfg1 commented 1 month ago

Woaaa😮 did you fixed it?