Basic and slightly inaccurate support for <Space> in subtitles (#2103).
authorCarl Hetherington <cth@carlh.net>
Fri, 15 Oct 2021 20:25:42 +0000 (22:25 +0200)
committerCarl Hetherington <cth@carlh.net>
Sun, 17 Oct 2021 13:34:02 +0000 (15:34 +0200)
commit3896560ec6b32574092552e6807bfb413dcb2783
tree8cc236ed9c2ab470f796c4763f1630286b96583e
parent04eb7ba1f2336375ce00fc8bc4dac4fec9a43162
Basic and slightly inaccurate support for <Space> in subtitles (#2103).

Adding horizontal space to a Pango layout is hard, and I think this
change probably gets it slightly wrong, but it's a step in the right
direction.
cscript
src/lib/reel_writer.cc
src/lib/render_text.cc
src/lib/render_text.h
src/lib/text_decoder.cc
src/lib/util.cc
test/render_subtitles_test.cc
wscript