Basic and slightly inaccurate support for <Space> in subtitles (#2103). v2.15.170
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:35:14 +0000 (15:35 +0200)
commitccd69987ab861ea4521836fa2a5227e2dfac3479
tree0bffcddaf011d5918e68f7e8a6e089a4837eea1d
parent2b793cd6eac56b06a2d694591cddecb3ae2b099d
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