summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMarc Jeffreys <maj160@live.co.uk>2014-06-21 05:41:45 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-07-16 00:40:39 +0200
commita0b71e9f3e95d22b098e4d81c26d3bfe1f53249f (patch)
tree2ce796b97faaee6fd9e44089a2c624a230ede051 /doc
parent04980dbee805f372f0505a0afd9ae10c0da1e17e (diff)
avfilter/drawtext: Add basic text shaping using libfribidi
Fixes ticket #3758 Reviewed-by: Andrey Utkin <andrey.krieger.utkin@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'doc')
-rw-r--r--doc/filters.texi11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index 65106a5c63..0f73314a12 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -3653,6 +3653,8 @@ To enable compilation of this filter, you need to configure FFmpeg with
@code{--enable-libfreetype}.
To enable default font fallback and the @var{font} option you need to
configure FFmpeg with @code{--enable-libfontconfig}.
+To enable the @var{text_shaping} option, you need to configure FFmpeg with
+@code{--enable-libfribidi}.
@subsection Syntax
@@ -3707,6 +3709,12 @@ This parameter is mandatory if the fontconfig support is disabled.
The font size to be used for drawing text.
The default value of @var{fontsize} is 16.
+@item text_shaping
+If set to 1, attempt to shape the text (for example, reverse the order of
+right-to-left text and join Arabic characters) before drawing it.
+Otherwise, just draw the text exactly as given.
+By default 1 (if supported).
+
@item ft_load_flags
The flags to be used for loading the fonts.
@@ -4010,6 +4018,9 @@ For more information about libfreetype, check:
For more information about fontconfig, check:
@url{http://freedesktop.org/software/fontconfig/fontconfig-user.html}.
+For more information about libfribidi, check:
+@url{http://fribidi.org/}.
+
@section edgedetect
Detect and draw edges. The filter uses the Canny Edge Detection algorithm.