summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAndrey Utkin <andrey.krieger.utkin@gmail.com>2012-02-05 14:41:01 +0200
committerAnton Khirnov <anton@khirnov.net>2012-02-06 07:57:40 +0100
commite496c45d9ba58586b3826c0bd9e4be155b8fd1df (patch)
tree98129dc205c70a4b85b7a102ad5179f0d5b678f1 /doc
parent2b43dfce3651bc517c66365a30f30b708d6b79af (diff)
drawtext: add 'fix_bounds' option on coords fixing
Before, drawtext filter deliberately altered given text coordinates if text didn't fully fit on the picture. This breaks the use case of scrolling large text, e.g. movie closing credits. Add 'fix_bounds', to make it usable in such cases (by setting its value to 0). Default behavior is not changed, and non-fitting text coords are fixed. Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'doc')
-rw-r--r--doc/filters.texi3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index 4e7ede23a4..16059fd41d 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -598,6 +598,9 @@ libfreetype flags.
@item tabsize
The size in number of spaces to use for rendering the tab.
Default value is 4.
+
+@item fix_bounds
+If true, check and fix text coords to avoid clipping.
@end table
For example the command: