Closed PFGimenez closed 5 years ago
I'm able to reproduce the issue, but I don't have the yellow border.
The yellow border is drawn by my OS !
And I just remarked that I have the same problem without forcing the SDL renderer. Sorry, my issue is a bit messy. My default renderer is tcod.RENDERER_GLSL.
Looks like this is two bugs:
Fonts are not loaded properly when using FONT_LAYOUT_TCOD
or FONT_LAYOUT_CP437
.
console_print_frame
clears the wrong rectangle when it doesn't begin at the upper left corner.
By the way, thanks for maintaining this library. It's really helpful for a wannabe roguelike dev like me !
You're welcome.
Released version 8.4.2 which fixes the print_frame issue.
Added the tcod.FONT_TYPE_GREYSCALE
flag to the documentation example which fixes the visible tileset corruption.
Be sure to reopen this issue if you still have problems.
Hi.
Problem
I have a problem when drawing a frame with the SDL renderer: some parts are not drawn.
I force the renderer to be SDL because, otherwise, my custom fonts are not properly loaded (I might add another issue about this).
What I see (the yellow border is drawn by my OS):![screenshot](https://user-images.githubusercontent.com/11853513/52264221-63710b80-2931-11e9-9ad0-bbf25d16dd42.png)
The same code works normally with the libtcod version of http://rogueliketutorials.com
Minimal example code
Configuration
I use python 3.7.2+, python-tcod 8.3.2 and SDL 2.0.9 on Debian testing. I got the same problem with another computer (Ubuntu 18.04) with SDL 2.0.8.
EDIT : add python version