OpenTTD / OpenTTD

OpenTTD is an open source simulation game based upon Transport Tycoon Deluxe
https://www.openttd.org/
Other
6.06k stars 842 forks source link

Feature: Add font resizing sliders to the game options UI. #12690

Open ladysadie opened 1 month ago

ladysadie commented 1 month ago

Motivation / Problem

The OpentTTD's small font (FS_SMALL) can be illegible on high resolution displays even after the interface scaling is applied.

Description

Sliders have been added to allow the player to easily adjust the font sizes of the UI. The prefer sprite and AA options were moved from the graphics tab to the new font since they're a font related setting.

The new UI is pictured below: image

Limitations

Checklist for review

Some things are not automated, and forgotten often. This list is a reminder for the reviewers.

ladysadie commented 1 month ago

Should I add the header guards for HAS_TRUETYPE_FONT around the font tab UI code? I considered doing it. Wasn't sure if the "juice was worth the squeeze" for it though.