LambdaHack/LambdaHack

Auto-scale fonts in full-screen mode

开放

#249 创建于 2021年4月18日

 (0 条评论) (0 个反应) (0 位负责人)Haskell (57 个派生)auto 404
UIeasygood first issuehelp wantedself-contained

仓库指标

星标
 (660 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

Replace allFontsScale in config file with an argument to the NotFullscreen constructor only. Deduce the scale otherwise, that is, in fullscreen mode.

The full screen resolution can probably be queried using some SDL function. There may be a single subtlety, namely some auto-scaling in high or low DPI mode or Retina displays in OSX. If there is a choice, the game should prefer to scale on its own to the full resolution instead of being auto-scaled by OS.

贡献者指南