protonscr

Dungeon Town

protonopen appid 959880Game compatibility - Unofficial
ValveSoftware/Proton#7299 · opened 2023-11-29 by Renari · updated 2026-04-08 · 3 comments · github · game page · search this game
RRenari 2023-11-29 github

Compatibility Report

  • Name of the game with compatibility issues: Dungeon Town
  • Steam AppID of the game: 959880

System Information

  • GPU: AMD AMD Radeon Graphics (vangogh, LLVM 15.0.7, DRM 3.54, 6.1.52-valve9-1-neptune-61)
  • Video driver version: 4.6 (Compatibility Profile) Mesa 23.1.3 (git-58f7632462)
  • Kernel version: 6.1.52-valve9-1-neptune-61
  • Link to full system information report as Gist: https://gist.github.com/Renari/b6b4d2e672d8be414479fd6e4efc2358
  • Proton version: 8.0-4

I confirm:

  • [x] that I haven't found an existing compatibility report for this game.
  • [x] that I have checked whether there are updates for my system available.

Proton Log: steam-959880.log

Symptoms

Text scaling issues
image
image

Reproduction

  1. At the main menu select system settings
  2. Text scaling issues can be seen here, this scaling issue persists throughout the game, often making dialog go off-screen.
RRenari 2026-04-08 github

So I've fixed this issue after tinkering with it for a very long time, the bug is that tmExternalLeading is computed via max(0, lineGap - ((winAscent + winDescent) - (Ascender - Descender))), Windows GDI returns 0 when (winAscent + winDescent) > (Ascender - Descender) however Wine is returning 46-154 for this game leading to the font scaling issue. This appears to be common with CJK fonts although I haven't seen this issue in any other software.

The issue can be seen here: https://gitlab.winehq.org/wine/wine/-/blob/master/dlls/win32u/freetype.c?ref_type=heads#L3398

Kkisak-valve maintainer 2026-04-08 github

Hello @Renari, it might be worthwhile to report your findings to upstream wine after reproducing the issue with vanilla wine. If a fix is merged into upstream wine, then make a note here and a Proton dev can consider a backport to Proton.

RRenari 2026-04-08 github

I've opened up an upstream PR here to fix this: https://gitlab.winehq.org/wine/wine/-/merge_requests/10603

Nothing extracted yet.