summaryrefslogtreecommitdiff
path: root/po
diff options
context:
space:
mode:
authorChristian Persch <chpe@src.gnome.org>2023-03-10 21:52:41 +0100
committerChristian Persch <chpe@src.gnome.org>2023-03-10 21:52:41 +0100
commit3c8f66be867aca6656e4109ce880b6ea7431b895 (patch)
treee14227ff50214fa23885df7e456ab36ac21792d8 /po
parent22b3a562d5c95f5911560131c9f6f2df70881e34 (diff)
downloadvte-3c8f66be867aca6656e4109ce880b6ea7431b895.tar.gz
fonts: Keep the PangoLayout unchanged
The previous commit still wasn't completely fixing the problem, since the FontInfo and the UnistrInfo are cached too, and m_layout will be re-used when creating the next UnistrInfo, but the code in pango_cairo_show_layout_line() requires the PangoLayout to still have the same text as when it was created for the UnistrInfo. To fix this, adopt the PangoLayout into the PangoLayoutLine cached in the UnistrInfo, and create a new layout for next use. Fixes: https://gitlab.gnome.org/GNOME/vte/-/issues/2606 Fixes: https://gitlab.gnome.org/GNOME/vte/-/issues/2620
Diffstat (limited to 'po')
0 files changed, 0 insertions, 0 deletions