archi
archi copied to clipboard
View appearance across monitor configuration and OS
I intend to work on this, so this issue is used to keep track of my findings
I use Archi in a multi-user/multi-organization setup, and I would expect that views designed in one computer are rendered exactly the same way on colleagues computer, whaterver their montor configuration or OS (some work on Windows, some work on Mac OS). Unfortunately, this is not the case and significant differences make it difficult to collaborate on a model.
Of course, the first basic (and easy to do) things is to make sure the same fonts are installed on all machines. This has been done in my case as we mostly rely on either Microsoft, or corporate fonts which are available for every one.
To illustrate, I've create a small model with two (anonymized) views. Below are screenshots of these views in deifferent context:
Windows 10, FullHD@100% (primary monitor)
Windows 10, FullHD@125% (primary monitor)
MacOS Ventura, 4K@100% (secondary monitor)
There are unsolved SWT and Draw2d issues with fractional scaling factors of 125%, 150%, and 175%. In SWT, scaling is rounded up to the nearest 100% or 200%.
Take a look at the SWT DPIUtil
class
https://github.com/eclipse-platform/eclipse.platform.swt/blob/0cc66f1ea3ffd9263d9c8d0603f0911bce01acee/bundles/org.eclipse.swt/Eclipse%20SWT/common/org/eclipse/swt/internal/DPIUtil.java
For differing font sizes see https://github.com/archimatetool/archi/issues/655
Thanks for documenting this. We suffer from this as well and I was just documenting a similar test case. Looking forward to a fix. Thanks for all your hard work on a great software pkg.