Commit 58486bb
EvView: render correctly on hi-dpi displays
Make EvPixbufCache generate surfaces with extra resolution based on
gtk_widget_get_scale_factor(). Handle cairo surfaces with a device
scale in ev_view_draw(). Trigger an update of the pixbuf cache when
the scale factor changes.
https://bugzilla.gnome.org/show_bug.cgi?id=723431
origin commit:
https://git.gnome.org/browse/evince/commit/?id=a612f81 parent f4b94ea commit 58486bb
2 files changed
+20
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
296 | 296 | | |
297 | 297 | | |
298 | 298 | | |
299 | | - | |
300 | 299 | | |
301 | 300 | | |
| 301 | + | |
302 | 302 | | |
303 | 303 | | |
304 | 304 | | |
| |||
1093 | 1093 | | |
1094 | 1094 | | |
1095 | 1095 | | |
1096 | | - | |
| 1096 | + | |
1097 | 1097 | | |
1098 | 1098 | | |
1099 | 1099 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5690 | 5690 | | |
5691 | 5691 | | |
5692 | 5692 | | |
5693 | | - | |
| 5693 | + | |
| 5694 | + | |
5694 | 5695 | | |
5695 | | - | |
5696 | | - | |
| 5696 | + | |
| 5697 | + | |
| 5698 | + | |
| 5699 | + | |
| 5700 | + | |
5697 | 5701 | | |
5698 | 5702 | | |
5699 | 5703 | | |
| |||
5712 | 5716 | | |
5713 | 5717 | | |
5714 | 5718 | | |
5715 | | - | |
5716 | | - | |
| 5719 | + | |
| 5720 | + | |
5717 | 5721 | | |
5718 | 5722 | | |
5719 | 5723 | | |
| |||
5848 | 5852 | | |
5849 | 5853 | | |
5850 | 5854 | | |
| 5855 | + | |
5851 | 5856 | | |
5852 | 5857 | | |
5853 | 5858 | | |
| 5859 | + | |
| 5860 | + | |
| 5861 | + | |
| 5862 | + | |
| 5863 | + | |
| 5864 | + | |
| 5865 | + | |
| 5866 | + | |
5854 | 5867 | | |
5855 | 5868 | | |
5856 | 5869 | | |
| |||
0 commit comments