Changeset 163854bc in ffmpeg

Timestamp:
Sep 24, 2011, 10:36:39 AM (13 years ago)
Author:
Stefano Sabatini <stefasab@gmail.com>
Branches:
master
Children:
482ce0ce
Parents:
d7d587db
git-author:
Stefano Sabatini <stefasab@gmail.com> (09/18/11 00:51:17)
git-committer:
Stefano Sabatini <stefasab@gmail.com> (09/24/11 10:36:39)
Message:

vf_drawtext: drop text wrapping feature

Or in other word, do not go to the next line when the text cannot be
rendered within the frame.

The rationale is that wrapping is hard to manage, as it depends on the
position of the text, thus making hard/impossible to compute the size
occupied by the rendered text, and makes the filter behavior
unpredictible with moving text (implemented in a pending patch).

Also the current wrapping code is very limited (for example it splits
words in the middle), and correctly handling wrapping requires much
more complexity (alignment, gravity, word parsing etc.), while
drawtext is meant to be only a thin wrapper around libfreetype, so
such advanced features don't belong here.

(No files)

Note: See TracChangeset for help on using the changeset viewer.