diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-04-23 23:10:46 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-04-24 00:46:31 +0200 |
| commit | 87d5a977da0696fbe73b96b2679b7cbb471e7255 (patch) | |
| tree | 424dd2fad920022826cdc440c307c0927888ef4a /src/lib/wscript | |
| parent | c5301d109be97bf85ce343f7d9356a2262ce0ef6 (diff) | |
Substantial reworking of the font rendering code to measure
the size of the text before rendering, thereby creating correctly-
sized output images (rather than ones with guesses on height and
with the full target width).
This uses some potentially dubious behaviour described here
https://stackoverflow.com/questions/31788577/create-pango-layout-before-cairo-surface
and could cause any number of problems.
The advantages are that a) it should be a little more efficient and
b) the images created for the subtitle analysis code are useful.
Diffstat (limited to 'src/lib/wscript')
0 files changed, 0 insertions, 0 deletions
