Cura icon indicating copy to clipboard operation
Cura copied to clipboard

[4.0] GUI font size on Windows 10

Open uwezi opened this issue 6 years ago • 9 comments

Application Version Cura 4.0.0

Platform Windows 10 64bit

Printer doesn't matter, but Wanhao i3

Steps to Reproduce open the application

Actual Results The font size in the settings - both with and without the GREAT sidebar plugin - is incredibly small. There is a lot of unnecessary white space around the text.

Expected results Make the font size scaleable or at least use the Windows standard setting

Additional Information see the screenshots from Cura 3.6 and 4.0 in comparison cura4_sidebar cura_36

uwezi avatar Mar 25 '19 21:03 uwezi

Seconded, the font size in this application is comically small. I have to lean into my screen to attempt to read. Can you guys cover my optometrist bill?

prometx avatar Oct 23 '19 22:10 prometx

Making the font size scalable (all the wile ensuring that the UI will still look good) is a whole lot harder than you'd imagine.

That being said, if you're up for it, it is possible to change the theme files. If you have a look at the resources folder of Cura, you will find a "themes" folder. The "cura-light" is the default theme. In theme.json you will find a bunch of values regarding these sizes. Right at the top you will find a number of fonts, each with modifyiable sizes.

nallath avatar Oct 24 '19 14:10 nallath

Well, I have a very vivid imagination, and I'm just letting you know. I thank you though for your direction re: the .json file...

prometx avatar Oct 24 '19 15:10 prometx

A better way than to edit the files in the resources folder is to make a subtheme. Go to Help -> Show configuration folder. The navigate to the "themes" folder there and make a subfolder named "larger". Download the following file and place it in that folder: https://gist.github.com/fieldOfView/7de3ad07fa06afb821bc0c5fe0b668dc

Restart Cura, select the "Ultimaker Larger" in the Theme dropdown on the General preferences and restart Cura again.

Feel free to adjust the "size" values in the file to taste.

fieldOfView avatar Oct 24 '19 15:10 fieldOfView

Our font size is dependent on the system's font scale. This can vary wildly depending on the OS settings (for accessibility etc) and screen DPI settings. And the rest of the interface should scale along for the most part.

That said, I believe our default font size is 95% of the system font size as to create slightly more contrast between important and less important information. Maybe we'd need to get rid of that.

Ghostkeeper avatar Oct 25 '19 07:10 Ghostkeeper

Our font size is dependent on the system's font scale.

Only partly so on Windows: https://github.com/Ultimaker/Uranium/blob/master/UM/Qt/Bindings/Theme.py#L30

Edit: I believe that on windows, the UI scales with the font DPI size, but not with the font size configured in the font preferences.

fieldOfView avatar Oct 25 '19 09:10 fieldOfView

A better way than to edit the files in the resources folder is to make a subtheme. Go to Help -> Show configuration folder. The navigate to the "themes" folder there and make a subfolder named "larger". Download the following file and place it in that folder: https://gist.github.com/fieldOfView/7de3ad07fa06afb821bc0c5fe0b668dc

Restart Cura, select the "Ultimaker Larger" in the Theme dropdown on the General preferences and restart Cura again.

Feel free to adjust the "size" values in the file to taste.

Went a tad bigger, switched to PT Sans for good measure, and based mine off cura-dark :) but I can actually read the GUI now. Thank you so much!!

jonnyasmar avatar Dec 31 '19 07:12 jonnyasmar

Not sure if this is relevant to others but in my case, I noticed really small fonts for everything including the menu. Screenshot below:

2020-06-27 05_52_38-Greenshot

I noticed this was because my main display is a 1440p monitor but I was opening Cura on my 2nd 4k monitor. When I make the 4k display my main monitor, the font size is decent as seen below:

2020-06-27 06_21_32-Greenshot

Conversely, moving Cura back to my 1440p monitor makes everything look huge so it seems to me that part of the problem is that Cura doesn't recognize the monitor resolution I'm on.

okcoker avatar Jun 27 '20 10:06 okcoker

Making the font size scalable (all the while ensuring that the UI will still look good) is a whole lot harder than you'd imagine.

That being said, if you're up for it, it is possible to change the theme files. If you have a look at the resources folder of Cura, you will find a "themes" folder. The "cura-light" is the default theme. In theme.json you will find a bunch of values regarding these sizes. Right at the top you will find a number of fonts, each with modifiable sizes.

I'm a retired developer. I suggest you consider SVG, which is one way for icons to scale from phones to TV sized monitors.

Also, beta testing is a good way to flush out accessibility issues. With 8K monitors in the pipeline you will eventually have to dynamically scale fonts like Chrome does. It can be done, just plan it in achievable steps.

Gamma36 avatar Jun 22 '24 17:06 Gamma36