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:
parent
9ab064126f
commit
a9e25668fb
7 changed files with 293 additions and 44 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue