Project

General

Profile

Bug #9435

UI elements (especially fonts) are very blurry under UI scaling

Added by nand almost 8 years ago. Updated over 7 years ago.

Status:
Closed
Severity:
Normal
Assignee:
-
Category:
Controls and UI
Target version:
Start date:
04/23/2016
% Done:

100%

Version:
Platform:
Linux
Expansion:
Language:
English (US)
Mod Related:
No
Votes:
Arrow u r green
Arrow d r red

Description

When you set e.g. 120% UI scale, the fonts all end up very blurry and almost unreadable.

Instead of rasterizing the fonts and using bilinear scaling on the results, you should update the font size to match the UI scale instead.

UI_size.png (1.16 MB) UI_size.png [email protected] swilbur, 04/23/2016 11:59 AM
fonts.png (965 KB) fonts.png same popup window at 100%, 120%, 150% and 200% UI scale jd284, 04/24/2016 08:14 PM
N.png (1.43 KB) N.png magnified N at 200% scaling nand, 04/25/2016 07:42 AM
17537
17655
17676

History

#1 Updated by swilbur almost 8 years ago

17537

I would clarify that the fonts look terrible at all UI scales, not only at 120%. See this screenshot: the mission time and surface speedometer look like they've been rasterized and resized, while "Reaction Wheels" in the pod menu is for some reason a different font size than everything else.

#2 Updated by jd284 almost 8 years ago

  • File fonts.png fonts.png added
  • Status changed from New to Confirmed
  • % Done changed from 0 to 10
17655

There's something going on with the font anti-aliasing under Linux, but it's not quite so straightforward as you suggest. Some of the fonts are antialiased at different UI scale settings.

I captured the same dialog using 4 different UI scale settings (editing settings.cfg to get >120%). Mainly it seems the "squeezed" fonts for the texts "MonoPropellant" and "CarbonDioxide" look out of place. Especially "MonoPropellant" is antialiased too strongly at 100%/120% but not at all at 150% which also looks odd. At 200% everything looks fine, so it's not just an obvious scaling issue.

I don't know how Unity5 treats fonts, but maybe it has to do with some graphics settings? I'm using Kubuntu 14.04.4 LTS with NVidia GTX 970 (with nvidia-352 drivers if it matters). However changing the Kubuntu font settings seems to have no effect on Unity5, so I don't know which settings to look at instead.

(Note that I've enabled TAC-LS and KIS to have more lines in the dialog to compare; I'm quite sure that they wouldn't affect font rendering.)

Maybe one fix would be to make the windows slightly wider so that fewer text items needs font squeezing.

#3 Updated by nand almost 8 years ago

17676

There are still some things odd about the 200% screenshot, incidentally. For example look at the N (magnified, attached) - the line thickness seems uneven in places like this. Even if it's unscaled, it's almost as if the subpixel alignment is wrong.

The 100% screenshot on the other hand is perfectly crisp, pixel-perfect rendering (with the obvious exceptions as noted).

#4 Updated by TriggerAu over 7 years ago

  • Status changed from Confirmed to Needs Clarification
  • % Done changed from 10 to 0

#5 Updated by cpcallen over 7 years ago

  • Status changed from Needs Clarification to Updated
  • % Done changed from 0 to 10

This bug has not been fixed in 1.1.3; behaviour is exactly the same as in initial bug report AFAICT.

#7 Updated by Squelch over 7 years ago

  • Status changed from Updated to Ready to Test
  • Target version set to 1.2.0
  • % Done changed from 10 to 80

The new text rendering method should have improved the readability of all text in KSP 1.2

#8 Updated by JPLRepo over 7 years ago

  • Status changed from Ready to Test to Closed
  • % Done changed from 80 to 100

Closing. No response.

Also available in: Atom PDF