Commit [74c716] default  Maximize  Restore  History

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(+)

Colomban Wendling Colomban Wendling 2013-01-01

changed gtk/PlatGTK.cxx
gtk/PlatGTK.cxx Diff Switch to side-by-side view

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks