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

Allow changing font-size in-game (and not only double or nothing) #9277

Closed
DynCoder opened this issue May 16, 2021 · 5 comments
Closed

Allow changing font-size in-game (and not only double or nothing) #9277

DynCoder opened this issue May 16, 2021 · 5 comments
Labels
enhancement Issue would be a good enhancement; we accept Pull Requests!

Comments

@DynCoder
Copy link

The font size throughout the whole game are very weird and sometimes almost unreadable (e.g. the legend under the map), but when you increase the font size to the next step the font becomes unreasonably large

Version of OpenTTD

Latest (steam, windows 10)

Expected result

Twice the font size (or just an actual readable font size to begin with)

Actual result

Extremely large font size

Steps to reproduce

Options > Font size > double

@DynCoder DynCoder changed the title Bug Report Font sizes are unreasonably small or large with no in between May 16, 2021
@James103
Copy link
Contributor

You might want to change the following files in openttd.cfg to your liking:

[misc]
small_font = 
medium_font = 
large_font = 
mono_font = 
small_size = 0
medium_size = 0
large_size = 0
mono_size = 0
small_aa = false
medium_aa = false
large_aa = false
mono_aa = false

@TrueBrain
Copy link
Member

Basically, this is a feature request to ingame being able to change font-sizes (as in, the config settings). Leaving it open as such.

@TrueBrain TrueBrain added the enhancement Issue would be a good enhancement; we accept Pull Requests! label May 27, 2021
@TrueBrain TrueBrain changed the title Font sizes are unreasonably small or large with no in between Allow changing font-size in-game (and not only double or nothing) May 27, 2021
@Bohaska
Copy link

Bohaska commented Jun 22, 2021

what type of inputs do these values support?

@NQMVD
Copy link

NQMVD commented May 31, 2022

Ran into the same problem again today so i did some testing with diffrent values for these variables:

*_font = String  | name of a font installed on your system > e.g. Consolas
*_size = Integer | range 0-72                              > e.g. 20 (does for me)
*_aa   = Boolean | true or false                           > Anti-Aliasing for the font

@LordAro
Copy link
Member

LordAro commented Dec 24, 2022

This has mostly been resolved - GUI scaling has been reworked in #10114 to allow different scaling factors, and the font/size/aa settings can now be changed in game via the console as of #10278 , (Yes, we know this isn't exactly user friendly right now)

@LordAro LordAro closed this as completed Dec 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Issue would be a good enhancement; we accept Pull Requests!
Projects
None yet
Development

No branches or pull requests

6 participants