Too big news header

Hi,
Stats:

  • GDTv: 1.4.10
  • Platform: Steam/Linux
  • OS: openSuSE 13.1 x64
  • Screen: 1366x768 (full screen mode - but in this case, playing on 1600x1200 also showing this bug).

Screenshot:

I have a suspicion, that this is because on mine PC engine can’t find Segoe UI Light and taking for h1 font called: Open Sans Light but this font doesn’t look good with 42pt size in header.
So this:
h1 { font-family: "Segoe UI Light", "Open Sans Light"; font-size: 42pt; line-height: 48pt; margin: 0px; }

in that file: ~/.local/share/Steam/SteamApps/common/Game Dev Tycoon/css/layout.css need to be changed to something more matching with size (maybe 38pt for font-size).
But I have slightly different idea - which could solve another problem with too small message popup where scrollbar appear. Maybe changing width for this dialog will help more?

Best regards

3 Likes

That’s wired

We dynamically resize text so the font-size in the CSS is just the starting value but obviously the resize isn’t working in this case.

@DanielKlug you think that’s a regression from the Arabic fixes, or maybe we don’t fall back properly to Open Sans when calculating the width, in case Segoe UI is not present?

@kamilko - Welcome to the forums and many thanks for reporting this and including all the information we need!
We will investigate this.


@DanielKlug

I tested the above mentioned resolutions on;
1600x1200
1366x768
1360x768
Windows 7 Home Premium
Native Res 1920x1080

And could not reproduce. Suggests Linux only issue?

1600x1200

1360x768

1366x768

@Gamingthrou Thanks for reporting the issue. It was a problem with the font-size calculation with Open Sans and will be fixed with the next update.

@DanielKlug
I actually didn’t reported this issue, @kamilko did

“Game off the market” is the header when I get this issue.
And one more thing came to my head. Maybe this is because engine taking width of my desktop (I had 2x1366x768) and after that scaling font size. Of course “full screen mode” will work only on one monitor, so it shouldn’t take size of whole desktop.

BR

@kamilko Thanks for reporting. The problem wasn’t the screen resolution. The “calculation” itself wasn’t correct for Open Sans.

1 Like

Yes indeed, I just checked all the combinations of desktop vs. multiple/single monitor vs. window/fullscreen/maximized mode - always “Game off the market” was in two lines.
Thanks for replies and taking care even with such not important issues :smile:

BR