TrackMate
TrackMate copied to clipboard
Font too small on HiDPI screens
@tinevez , just noticed that trackmate has unreadable fonts on a 4K display on Linux. Here is a comparison to a regular scijava command prompt:
I guess the issue is hardwired here:
https://github.com/trackmate-sc/TrackMate/blob/2f1f9fed0a5bad2ebefb06372801d653d0864b61/src/main/java/fiji/plugin/trackmate/gui/Fonts.java#L29-L37
I guess an option would to be define the base font from the UIManager e.g., UIManager.getFont("TextField.font").getSize();
and scale the others from there!? There is also the gui scaling factor in IJ1 prefs that could be applied. (the assumption there, would be that if users are scaling AWT fonts, they will likely want to scale TrackMate fonts as well).
Java 11, and Mac/Windows may be shielded from this. Did not check.
My main issue is that I do not have a 4k screen to debug yet.
If nobody else complains, then it is probably not urgent :smile: . If it becomes an issue, ping me and I can try to help on my setup.