Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Font rendering is blurry in IMGUI under WASM #73728

Open
nornagon opened this issue May 12, 2024 · 3 comments
Open

Font rendering is blurry in IMGUI under WASM #73728

nornagon opened this issue May 12, 2024 · 3 comments
Labels
(S1 - Need confirmation) Report waiting on confirmation of reproducibility

Comments

@nornagon
Copy link
Contributor

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

  1. Open https://nornagon.github.io/play-cdda/
  2. Create a new world
  3. Press f to open the "complete creating new world" prompt, which is IMGUI

Expected behavior

Font rendering should be ~identical

Screenshots

Screenshot 2024-05-12 at 15 42 21

Versions and configuration

  • OS: Unix
    • 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

@nornagon nornagon added the (S1 - Need confirmation) Report waiting on confirmation of reproducibility label May 12, 2024
@Qrox
Copy link
Contributor

Qrox commented May 13, 2024

Probably the same problem as #73120.

@db48x
Copy link
Contributor

db48x commented May 16, 2024

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.

@Qrox
Copy link
Contributor

Qrox commented May 16, 2024

@db48x If you look closely there are light red pixels around the vertical strokes of the characters.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
(S1 - Need confirmation) Report waiting on confirmation of reproducibility
Projects
None yet
Development

No branches or pull requests

3 participants