Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent tiny installation font (bsc#1124508) #107

Merged
merged 2 commits into from
Feb 26, 2019
Merged

Prevent tiny installation font (bsc#1124508) #107

merged 2 commits into from
Feb 26, 2019

Conversation

shundhammer
Copy link

@shundhammer shundhammer commented Feb 26, 2019

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
Copy link
Member

hellcp commented Feb 26, 2019

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

@hellcp hellcp merged commit e5831f7 into openSUSE:tumbleweed Feb 26, 2019
@hellcp
Copy link
Member

hellcp commented Feb 26, 2019

Perfect, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants