]> git.sesse.net Git - vlc/commit
Add support for monospace font in HTML renderer
authorDevin Heitmueller <dheitmueller@kernellabs.com>
Tue, 1 Jan 2013 22:39:03 +0000 (17:39 -0500)
committerRafaël Carré <funman@videolan.org>
Wed, 2 Jan 2013 14:15:30 +0000 (15:15 +0100)
commit6270a4c777d849538b8a8e4d5c6f01fb96fa9ea9
tree23d0a985cd06ebafd0301b75abb4efdabe2fba71
parent765b3082e3320feb19ba915bc465e8d9355ec758
Add support for monospace font in HTML renderer

The EIA-608 decoder expects fonts to be rendered with a monospace font,
so add the ability for decoders to make use of the "tt" tag, and tweak
the EIA-608 decoder to use that tag.

This patch supercedes folds in patch 9 from the previous series as well
as incorporates the changes Rafaël Carré solicited from the ML regarding
the fonts to use for non-Linux platforms.

Modified-by: Rafaël Carré <funman@videolan.org>
 - Simplify HandleTT()
 - Fix memleak in Create()
Signed-off-by: Rafaël Carré <funman@videolan.org>
modules/codec/cc.c
modules/text_renderer/freetype.c