summaryrefslogtreecommitdiff
path: root/src/lib/text_decoder.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-07-06 10:08:55 +0200
committerCarl Hetherington <cth@carlh.net>2022-07-20 10:22:55 +0200
commit58c63c02bc26209f42f42bccbe4a587f9df6f05f (patch)
tree4f9a0cb2285d5e23a164e647e20eb934962b8c81 /src/lib/text_decoder.cc
parenta6507c95d19b434275e2a28f0bc37f06912f467f (diff)
Tidy up font rendering for subtitles.
Here was use get_ink_extents() rather than get_pixel_size() to find out how big the rendered subtitle will be, then use the x/y values of this extents rectangle to offset the rendering within the image. This allows the removal of some hacks to make accents visible.
Diffstat (limited to 'src/lib/text_decoder.cc')
0 files changed, 0 insertions, 0 deletions