Merge pull request #1636 from nyanmisaka/fonts

Add options to use multiple custom fonts for subtitle rendering
This commit is contained in:
Anthony Lavado 2020-11-08 10:27:16 -05:00 committed by GitHub
commit 9603d2bb5e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 73 additions and 4 deletions

View file

@ -1420,6 +1420,12 @@
"LabelTonemappingParamHelp": "Tune the tone mapping algorithm. The recommended and default values are NaN. Generally leave it blank.",
"StopPlayback": "Stop playback",
"ClearQueue": "Clear queue",
"HeaderSelectFallbackFontPath" : "Select Fallback Font Folder Path",
"HeaderSelectFallbackFontPathHelp": "Browse or enter the path of the fallback font folder to use for rendering ASS/SSA subtitles.",
"LabelFallbackFontPath": "Fallback font folder path:",
"LabelFallbackFontPathHelp": "Specify a path containing fallback fonts for rendering ASS/SSA subtitles. The maximum allowed total font size is 20 MB. Lightweight and web-friendly font formats such as woff2 are recommended.",
"EnableFallbackFont" : "Enable fallback fonts",
"EnableFallbackFontHelp" : "Enable custom alternate fonts. This can avoid the problem of incorrect subtitle rendering.",
"LabelSubtitleVerticalPosition": "Vertical position:",
"SubtitleVerticalPositionHelp": "Line number where text appears. Positive numbers indicate top down. Negative numbers indicate bottom up.",
"Preview": "Preview",

View file

@ -1367,6 +1367,12 @@
"StopPlayback": "停止播放",
"Writers": "作者",
"ViewAlbumArtist": "查看专辑艺术家",
"HeaderSelectFallbackFontPath" : "选择备用字体路径",
"HeaderSelectFallbackFontPathHelp": "浏览或输入一个包含备用字体文件的路径用于渲染 ASS/SSA 字幕。",
"LabelFallbackFontPath": "备用字体文件路径:",
"LabelFallbackFontPathHelp": "指定一个包含备用字体文件的路径用于渲染 ASS/SSA 字幕。允许的最大字体总容量为 20 MB。推荐使用轻量且适合网络传输的字体例如 woff2。",
"EnableFallbackFont" : "启用备用字体",
"EnableFallbackFontHelp" : "使用自定义的备用字体。这可以避免一些字幕渲染不正确的问题。",
"Preview": "预览",
"SubtitleVerticalPositionHelp": "文字出现的行号。正数表示由上到下,负数表示由下到上。",
"LabelSubtitleVerticalPosition": "垂直位置:",