Rought font extractor that probably has a memory error causing it to behave mysteriously, and the designer now uses a json file of the characters that will work.

This commit is contained in:
Zed A. Shaw 2024-12-11 11:56:37 -05:00
parent 9ab064126f
commit a9e25668fb
7 changed files with 293 additions and 44 deletions

View file

@ -25,7 +25,7 @@ SFMLRender::SFMLRender() :
$ansi($default_fg, $default_bg)
{
// force true color, but maybe I want to support different color sets
$font.loadFromFile("./assets/text.otf");
$font.loadFromFile(FONT_FILE_NAME);
$font.setSmooth(false);
$ui_text.setFont($font);
$ui_text.setPosition(0,0);