diff options
author | TADANO Tokumei <aimingoff@pc.nifty.jp> | 2023-10-17 22:13:34 +0900 |
---|---|---|
committer | Jan Ekström <jeebjp@gmail.com> | 2023-10-29 18:20:43 +0200 |
commit | 21bfadd9b4a216c0b0994465325822d554fc6a52 (patch) | |
tree | 71957c5e0f887d95f4fa17407a9cfbebd42401e1 /doc | |
parent | 82faba8a6ce8b6a9a3db635ce0a70495a2b2cf3c (diff) | |
download | ffmpeg-21bfadd9b4a216c0b0994465325822d554fc6a52.tar.gz |
lavc/libaribcaption: add MSZ character related options
This patch adds two MSZ (Middle Size; half width) character
related options, mapping against newly added upstream
functionality:
* `replace_msz_japanese`, which was introduced in version 1.0.1
of libaribcaption.
* `replace_msz_glyph`, which was introduced in version 1.1.0
of libaribcaption.
The latter option improves bitmap type rendering if specified
fonts contain half-width glyphs (e.g., BIZ UDGothic), even
if both ASCII and Japanese MSZ replacement options are set
to false.
As these options require newer versions of libaribcaption, the
configure requirement has been bumped accordingly.
Signed-off-by: TADANO Tokumei <aimingoff@pc.nifty.jp>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/decoders.texi | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/decoders.texi b/doc/decoders.texi index 09b8314dd2..36c3404475 100644 --- a/doc/decoders.texi +++ b/doc/decoders.texi @@ -459,6 +459,22 @@ Specify whether to render replaced DRCS characters as Unicode characters. The default is @var{true}. +@item -replace_msz_japanese @var{boolean} +Specify whether to replace some MSZ (Middle Size; half width) fullwidth +japanese special characters with halfwidth ones. + +The default is @var{true}. + +@item -replace_msz_glyph @var{boolean} +Specify whether to replace MSZ (Middle Size; half width) characters +with halfwidth glyphs if the fonts supports it. +This option works under FreeType or DirectWrite renderer +with Adobe-Japan1 compliant fonts. +e.g., IBM Plex Sans JP, Morisawa BIZ UDGothic, Morisawa BIZ UDMincho, +Yu Gothic, Yu Mincho, and Meiryo. + +The default is @var{true}. + @item -canvas_size @var{image_size} Specify the resolution of the canvas to render subtitles to; usually, this should be frame size of input video. |