The version of QT that ships with Mint Linux 18.1 and Ubuntu Xenial 17.04 (Qt 5.5) is busted when it comes to HiDPI displays. (The version that comes with Ubuntu 17.10 seems to be OK.)
So, we can install an upgraded version of QT, and tell AfterShot to use that, and it seems to work OK.
So, first:
sudo add-apt-repository ppa:beineri/opt-qt-5.10.1-xenial
sudo apt update
sudo apt install qt510-meta-full
this will install QT 5.10 in /opt/qt510/
. Once you have installed this, you'll need to get rid of the default QT libraries in /opt/AfterShot3(64-bit)/lib
, because the library loader will find them by default. So:
cd /opt/AfterShot3\(64-bit\)/lib
sudo mkdir bak
sudo mv libQt* libdbus* bak
Finally, you'll need to edit the startup script to set the paths appropriately. Edit /usr/bin/AfterShot3X64
(as root), and add the following just after the line that starts INSTALL_PATH=
.
source /opt/qt510/bin/qt510-env.sh
QT_SCALE_FACTOR=1.5 # Adjust this as appropriate for your screen.
QT_QPA_PLATFORM_PLUGIN_PATH=/opt/qt510/plugins
Now, if everything has been done correctly (and I wrote this document correctly), when you run AfterShot, it should be scaled to 1.5x.
This also seems to work with Scribus (at least scribus-trunk) - run:
source /opt/qt510/bin/qt510-env.sh
QT_SCALE_FACTOR=2 scribus-trunk &
You may want to reduce the font size through the Display Preferences in Scribus if you scale to 2.
- Justin Ferguson - @jferg - jferg@thedotin.net