scp-fs2open / scp-fs2open/fs2open.github.com

The +auto size font setting scales a bit weirdly in different situations

Open
#7,290 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
487
Forks
184
PR merge metrics
PR metrics pending

Description

In FSO, by default, most fonts scale relative to the screen. For example, here's a mostly-retail screenshot (with only the font replaced to an OTF font) of 1024x768

Image

And here's one taken with a 2560x1440 resolution:

Image

However, things change a little bit when the auto size factor is introduced:

Image

Image

![Image](https://github.com/user-attachments/assets/2c8c3ff7-1a1c-4b15-be80-b42f683b7a5f)

Text proportionally gets a *lot* larger when resolutions are increased, scaling seems to be applied twice - the scaling that +auto size is doing, and the scaling that's already happening to keep all the fonts the same size compared to vanilla interface elements.

Another problem occurs when Bitmap Fonts are used:

Image

Image

---

It's a bit of an annoyance because +auto size is actually a really useful in situations like scripts rendering text to the screen. In FSO, by default, those don't scale at all. With +auto size, those texts scale like you'd expect, which makes things like configuring Axem's msgbox script a lot easier.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.