Font rendering is blurry in IMGUI under WASM
Describe the bug
On the WASM build, text in IMGUI UIs is blurry, almost like it's off by half a pixel or something.
Attach save file
N/A
Steps to reproduce
- Open https://nornagon.github.io/play-cdda/
- Create a new world
- Press f to open the "complete creating new world" prompt, which is IMGUI
Expected behavior
Font rendering should be ~identical
Screenshots
Versions and configuration
- OS: Unix
- OS Version:
- OS Version:
- Game Version: cdda-experimental-2024-05-12-0328 1a8080a [32-bit]
- Graphics Version: Tiles
- Game Language: System language []
- Mods loaded: [ Dark Days Ahead [dda], Disable NPC Needs [no_npc_food], Portal Storms Ignore NPCs [personal_portal_storms], Slowdown Fungal Growth [no_fungal_growth] ]
Additional context
No response
Probably the same problem as #73120.
I don’t see any blurriness in that screenshot. I’m looking at the red “Are you SURE” prompt, and all of the text is exactly aligned with the pixel boundaries. The strokes are all exactly one pixel wide, etc.
@db48x If you look closely there are light red pixels around the vertical strokes of the characters.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. Please do not bump or comment on this issue unless you are actively working on it. Stale issues, and stale issues that are closed are still considered.
This still reproduces. Probably tied to rest of imgui font rendering issues.