Skip to content

Fix a font oversampling warning being printed when it shouldn't

Created by: Calinou

The warning was being printed even when the stretch aspect mode was set to Keep Width, Keep Height or Expand.

Note that it still won't be printed when the stretch mode is set to Disabled (as it should be), due to the early return statement at the beginning of the function. The warning message was also slightly shortened.

Demo project for testing

Merge request reports