A page to track getting Inkscape to work at HiDPI.
Following with Fedora 25:
- Gnome Tweak tool HiDPI setting does nothing (does work with Gtk3 Emacs and Firefox).
- Export GDK_SCALE=2 does nothing. (No change visually or reported by Gdk::Window::get_scale_factor(), Gdk::Widget::get_scale_factor(), Gdk::Monitor::get_scale_factor(), Gdk::Screen::get_resolution.)
- Export GDK_DPI_SCALE=2 increases text size by two. Does not effect icons. Does change Gdk::Screen::get_resolution(). (No change to xxx::get_scale_factor().)
Under Wayland using two side-by-side dummy monitors, one HiDPI, as described in the "HowDoI/HiDpi" page, link below.
- xxx:get_scale_factor() reports 2 for HiDPI monitor, 1 for normal monitor.
- Inkscape automatically scales properly when moved from monitor to monitor, except canvas is still blurry at hi DPI.
- Gtk3/Cairo test program using Gtk::DrawingArea automatically adjust from monitor to monitor without blurring (except PNG icon).
- Cairo device scale changes from 1 to 2 when moving window from normal monitor to hi DPI monitor.
- Changing antialiasing does not fix blurry monitor.
- Gnome Tweak tool HiDPI setting does nothing.
- Export GDK_SCALE=2 scales icons, text, and canvas by two, but canvas is blurry. (Change reported by xxx:get_scale_factor() functions.)
- Export GDK_DPI_SCALE=2 scales text by two. (Change reported by Gdk::Screen::get_resolution().)
- Gtk3/Cairo test program using Gtk::DrawingArea shows a Cairo device scale of 2 with GDK_SCALE=2, no blurring (except PNG icon).
Setting cairo_surface_set_device_scale to 2,2 does produce a crisp image on a HiDPI monitor... but with all our custom code it is hard to see what else needs to change.
cairo_surface_create_similar() does copy device scale.
Gtk 3.26 has experimental fractional scaling for Wayland.
Under both Wayland and X11:
- Tango icons display larger than default (hicolor).