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

SDL rendering bug with different font sizes #16033

Closed
MattAmmann opened this issue Apr 3, 2016 · 2 comments
Closed

SDL rendering bug with different font sizes #16033

MattAmmann opened this issue Apr 3, 2016 · 2 comments

Comments

@MattAmmann
Copy link
Contributor

When the map font size differs from the interface font size, the screen does not refresh properly. This manifests itself after closing a UI window, and is almost unplayable as a result. I encountered the bug myself, and it is confirmed by Beanzy in this forum thread.

The issue does not occur when using the same font height & font width settings as your map_fontwidth and map_fontheight.

Here is what is inside my fonts.json file:
{ "fontblending" : false, "fontwidth" : 8, "fontheight" : 16, "fontsize" : 16, "typeface" : "Terminus", "map_fontwidth" : 16, "map_fontheight" : 16, "map_fontsize" : 16, "map_typeface" : "whitrabt", "overmap_fontwidth" : 16, "overmap_fontheight" : 16, "overmap_fontsize" : 16, "overmap_typeface" : "Terminus" }

The only workaround I have come up with so far is to open and close the map, which forces a complete screen redraw.

Reproduction Steps:

  1. Open the inventory
  2. Select an item
  3. Press Escape twice to get back to the map
  4. Examine any tile

Game Options
Display: Tested on all three display modes
Use Tiles: False
Software Rendering: Tested on both modes

Details
Build: Tiles 0.C-4624 (pre-compiled binary on 4/2/2016)
Platform: Windows 7 x64
Screenshot:
2016-04-02 - 10_02_32pm

@lucianposton
Copy link
Contributor

dupe of #15881 ?

@MattAmmann
Copy link
Contributor Author

This looks to be a duplicate, yes. I searched open issues before submitting, but didn't find that one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants