Fix incorrect horizontal positions when different HPositions are used with one VPosition.
authorCarl Hetherington <cth@carlh.net>
Sat, 26 Aug 2023 17:51:51 +0000 (19:51 +0200)
committerCarl Hetherington <cth@carlh.net>
Tue, 29 Aug 2023 16:29:59 +0000 (18:29 +0200)
commita2507e28a631ee68b0ba898b4fc0c22bbaa2eef2
tree6b889ad4c7f652a26920f283229a021943d7a1dd
parent54b2c8580ee0553fbfb88e8881af60e3afa2e2fd
Fix incorrect horizontal positions when different HPositions are used with one VPosition.

Previously if HPosition changed we would still use a single "line" (i.e. Pango layout)
for all the text, meaning that HPosition would not be respected.
src/lib/render_text.cc