Properly update the Pango contexts for the target surface
This fixes drawing on a surface that has different settings (like
scaling) than the display surface, by performing the measurements on a
layout properly set up for the target surface.
In practice, this fixes e.g. printing on a scaled surface.
gtk/PlatGTK.cxx | 4 ++++
1 file changed, 4 insertions(+)