-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sub: add --sub-fonts-dir and --osd-fonts-dir options #9856
Conversation
A few additional comments:
|
Can path be used such as the sub-file-paths option? Realize this function: |
As I explained in #8338, libass only supports using a single directory. If there's a way around that, I'd be glad to hear it. |
I see. This pr is still a good change. |
在播放目录下自动指定`sub-fonts-dir`要使用的字体目录fonts以实现加载特定字体目录。**注意**:mpv必于以包含pr mpv-player/mpv#9856 的版本编译方可使用此脚本
在播放目录下自动指定`sub-fonts-dir`要使用的字体目录fonts以实现加载特定字体目录。**注意**:mpv必于以包含pr mpv-player/mpv#9856 的版本编译方可使用此脚本
在播放目录下自动指定`sub-fonts-dir`要使用的字体目录fonts以实现加载特定字体目录。**注意**:mpv必须以包含pr mpv-player/mpv#9856 的版本编译方可使用此脚本
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the delays.
12a8990
to
2f5286f
Compare
2f5286f
to
6f6bb8d
Compare
These options make it possible to specify the directory that will be passed to ass_set_fonts_dir(), akin to VLC's `--ssa-fontsdir` and FFmpeg's `fontsdir`. Fixes mpv-player#8338
6f6bb8d
to
eec0902
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code LGTM. I'll try to find some time to actually test this soon.
Works as advertised. |
在播放目录下自动指定`sub-fonts-dir`要使用的字体目录fonts以实现加载特定字体目录。**注意**:mpv必须以包含pr mpv-player/mpv#9856 的版本编译方可使用此脚本 Former-commit-id: ba437d2
在播放目录下自动指定`sub-fonts-dir`要使用的字体目录fonts以实现加载特定字体目录。**注意**:mpv必须以包含pr mpv-player/mpv#9856 的版本编译方可使用此脚本 Former-commit-id: ba437d2 Former-commit-id: 5ea8754
在播放目录下自动指定`sub-fonts-dir`要使用的字体目录fonts以实现加载特定字体目录。**注意**:mpv必须以包含pr mpv-player/mpv#9856 的版本编译方可使用此脚本 Former-commit-id: 91f390a [formerly ba437d2] Former-commit-id: 5ea8754 Former-commit-id: 00d7e94
在播放目录下自动指定`sub-fonts-dir`要使用的字体目录fonts以实现加载特定字体目录。**注意**:mpv必于以包含pr mpv-player/mpv#9856 的版本编译方可使用此脚本 Former-commit-id: 70211cc
These options make it possible to specify the directory that will be
passed to
ass_set_fonts_dir()
, akin to VLC's--ssa-fontsdir
andFFmpeg's
fontsdir
.Fixes #8338