aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ref/fate/sub-webvtt2
diff options
context:
space:
mode:
authorOneric <oneric@oneric.de>2022-11-12 18:59:04 +0100
committerPaul B Mahol <onemda@gmail.com>2022-12-03 19:08:44 +0100
commitb6f5a7ce0c4d6d45e6c1013cabddeb99af541970 (patch)
tree631c90ca72f6fb563b50531fb8900b99c4f056a2 /tests/ref/fate/sub-webvtt2
parent95115fcc184db6217ce01632a0fbdff3e253183f (diff)
downloadffmpeg-b6f5a7ce0c4d6d45e6c1013cabddeb99af541970.tar.gz
avcodec/ass: specify a permissive encoding
The Encoding field (and the \fe tag) allows to limit font selection to only those fonts declaring support for the specified codepage in their OS/2's table "Code Page Character Range" field. Particularly, Encoding=0 means only font's declaring support for "ANSI", or rather "Latin (Western European)", are allowed to be selected. Specifying Encoding=1 allows all fonts to be considered. We do not want to limit font selection, so specify Encoding=1. NB: at the time of writing libass only partially supports this field, thus hiding the issue in any libass-based renderer. A VSFilter-based DirectShow filter or XySubFilter will reveal the issue when a font not declaring support for latin characters is specified in a style.
Diffstat (limited to 'tests/ref/fate/sub-webvtt2')
-rw-r--r--tests/ref/fate/sub-webvtt22
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ref/fate/sub-webvtt2 b/tests/ref/fate/sub-webvtt2
index 56afed8944..1d236eabdc 100644
--- a/tests/ref/fate/sub-webvtt2
+++ b/tests/ref/fate/sub-webvtt2
@@ -8,7 +8,7 @@ YCbCr Matrix: None
[V4+ Styles]
Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding
-Style: Default,Arial,16,&Hffffff,&Hffffff,&H0,&H0,0,0,0,0,100,100,0,0,1,1,0,2,10,10,10,0
+Style: Default,Arial,16,&Hffffff,&Hffffff,&H0,&H0,0,0,0,0,100,100,0,0,1,1,0,2,10,10,10,1
[Events]
Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text