From e496c45d9ba58586b3826c0bd9e4be155b8fd1df Mon Sep 17 00:00:00 2001 From: Andrey Utkin Date: Sun, 5 Feb 2012 14:41:01 +0200 Subject: 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 --- doc/filters.texi | 3 +++ 1 file changed, 3 insertions(+) (limited to 'doc') diff --git a/doc/filters.texi b/doc/filters.texi index 4e7ede23..16059fd 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: -- cgit v1.1