summaryrefslogtreecommitdiff
path: root/doc/filters.texi
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2014-04-12 16:02:50 +0200
committerLuca Barbato <lu_zero@gentoo.org>2014-04-17 00:41:30 +0200
commitf1b239ec8b38474d31f3bfea1f0b1693774fa432 (patch)
tree153ac7fd201baa1e1826d63bde91ad2438204577 /doc/filters.texi
parenta6ac4fcce44108f6f87278b8d12e890576f46a62 (diff)
drawtext: Add fontconfig support
Introduce the `font` option and make it optional to pass a fontfile. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'doc/filters.texi')
-rw-r--r--doc/filters.texi7
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index 18531de295..d10a107b64 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -1115,6 +1115,8 @@ libfreetype library.
To enable compilation of this filter, you need to configure Libav with
@code{--enable-libfreetype}.
+To enable default font fallback and the @var{font} option you need to
+configure Libav with @code{--enable-libfontconfig}.
The filter also recognizes strftime() sequences in the provided text
and expands them accordingly. Check the documentation of strftime().
@@ -1123,9 +1125,12 @@ It accepts the following parameters:
@table @option
+@item font
+The font family to be used for drawing text. By default Sans.
+
@item fontfile
The font file to be used for drawing text. The path must be included.
-This parameter is mandatory.
+This parameter is mandatory if the fontconfig support is disabled.
@item text
The text string to be drawn. The text must be a sequence of UTF-8