openSUSE / branding

openSUSE branding for the distribution - both branding-openSUSE and branding-baseonopensuse
29 stars 40 forks source link

Prevent tiny installation font (bsc#1124508) #107

Closed shundhammer closed 5 years ago

shundhammer commented 5 years ago

Bugzilla

https://bugzilla.suse.com/show_bug.cgi?id=1124508

Problem

Since the latest change to the "Source Sans Pro" font, the font in the YaST installer has become too tiny.

Cause

That font appears to have slightly different font metrics to the prior default font, so the default size that Qt chooses if nothing is specified (10 pt as far as I can tell) does not fit anymore. The installation widget style sheet did not provide an explicit font size; it relied on whatever Qt chose as the default.

Fix

Explicitly set a well-defined font size. Since this font appears to have different font metrics, 10.5 pt turned out to be a reasonable value.

Screenshots

Before (Tiny Font)

06-before-proposal

Now (10.5 pt)

16-10-5pt-proposal

For Comparison: Leap 15.0

leap-15-04-installation-settings

Complete Set of Screenshots

Before

00-before-license 01-before-repos 02-before-busy 03-before-system-role 04-before-partitioning 05-before-users 06-before-proposal

Now (10.5 pt)

10-10-5pt-license 11-10-5pt-repos 12-10-5pt-busy 13-10-5pt-system-role 14-10-5pt-partitioning 15-10-5pt-users 16-10-5pt-proposal

For Comparison: Leap 15.0

leap-15-00-license leap-15-01-system-role leap-15-02-suggested-partitioning leap-15-03-local-user leap-15-04-installation-settings

hellcp commented 5 years ago

Hm, could you change title font size from px to pt too, so it scales the same way?

hellcp commented 5 years ago

Perfect, thank you!