[vlc-commits] Reimplemented the way text lines are processed.

Laurent Aimar git at videolan.org
Sat Jun 25 20:23:17 CEST 2011


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Sat Jun 25 14:05:07 2011 +0200| [098e1f6ae51d46c77b361270d6b85e9f46107474] | committer: Laurent Aimar

Reimplemented the way text lines are processed.

There is a small regression: the alpha settings is not respected.

Unbreakables lines are now wrapped at the last non breakable space
or, if none, before the character that would make the line too large
(instead of throwing away the complete line).

Too high subtitles are now correctly truncated.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=098e1f6ae51d46c77b361270d6b85e9f46107474
---

 modules/misc/text_renderer/freetype.c |  576 +++++++++++++++------------------
 1 files changed, 261 insertions(+), 315 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=098e1f6ae51d46c77b361270d6b85e9f46107474


More information about the vlc-commits mailing list