diff options
author | Owen W. Taylor <[email protected]> | 2014-02-27 19:22:55 -0500 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-03-26 13:49:10 +0200 |
commit | 557d371972b4410765afb303ab6ec82720e0e86b (patch) | |
tree | 8e65207bc2e34dc81dfe861d5a4913462411850f /libview/ev-page-cache.c | |
parent | 5345f83e9410af181e2a4329f3fc4f72d98f6468 (diff) | |
download | atril-557d371972b4410765afb303ab6ec82720e0e86b.tar.bz2 atril-557d371972b4410765afb303ab6ec82720e0e86b.tar.xz |
EvPresentationView: Render correctly on hi-dpi displays
Create rendering jobs with a scale that incorporate the scale factor of
the widget, and then use cairo_surface_set_device_scale() to make the
resulting surfaces render at the correct size. Handle changes to the scale
factor both for the cached surfaces, and also for the monitor dimensions,
which are reported in scaled coordinates.
https://bugzilla.gnome.org/show_bug.cgi?id=723431
origin commit:
https://git.gnome.org/browse/evince/commit/?id=37c13b
Diffstat (limited to 'libview/ev-page-cache.c')
0 files changed, 0 insertions, 0 deletions