Function for setting font?
Issue #33
closed
BLT has terminal_color
for setting the current color, terminal_layer
for the layer, etc etc, but the only way to set the font that I can tell is to use print
with a font tag in the string. Would it be possible to have a terminal_font
function to set the default font? Sometimes it would be useful to separate the font-choosing code from the actual printing/drawing code.
Comments (2)
-
-
- changed status to closed
Add
font()
function (select the current font by name, closes issue#33).→ <<cset 3cf8f536b2ce>>
- Log in to comment
Another option is a variant of
put_ext
that takes a nullable font name.