|
本帖最后由 EI00 于 2022-5-4 07:25 编辑
大佬,有个mpv字体加载问题想请教一下:
我用的是shinchiro仓库编译的mpv-x86_64-20220503-git-90d291d版本,系统是win10家庭中文版21h2,下载了霞鹜文楷即 https://github.com/lxgw/LxgwWenKai 里面的lxgw-wenkai-v1.234.5字体,在mpv.conf使用配置sub-ass-force-style=FontName=LXGWWenKai-Regular,然后播放视频发现无法加载字体,查看log显示:
[ 1.683][sub/ass] fontselect: Using default font family: (LXGWWenKai-Regular, 700, 0) -> Arial-BoldMT, 0, Arial-BoldMT
[ 1.683][v][sub/ass] fontselect: (LXGWWenKai-Regular, 700, 0) -> Arial-BoldMT, 0, Arial-BoldMT
[ 1.683][v][sub/ass] Glyph 0x5BF9 not found, selecting one more font for (LXGWWenKai-Regular, 700, 0)
[ 1.685][v][sub/ass] fontselect: (LXGWWenKai-Regular, 700, 0) -> MicrosoftYaHeiUI-Bold, 1, MicrosoftYaHeiUI-Bold
之后,我换用字体SourceHanSansCN-Light,成功加载,log显示:
[ 2.442][v][sub/ass] fontselect: (SourceHanSansCN-Light, 700, 0) -> SourceHanSansCN-Light, 0, SourceHanSansCN-Light
然后,我换用LXGWWenKai-Regular字体的v1.113旧版本,发现还是无法加载,log同新版本字体log。
请问这是哪里出了问题
|
|