Skip to content

Commit a37a619

Browse files
committed
set font at runtime experiment, still unreliable
1 parent 1c419f0 commit a37a619

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

dev/run_regression_test.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def test_pickleConsole(self):
123123
clone = pickle.loads(pickled)
124124
self.compareConsoles(self.console, clone, 'pickled console should match root console')
125125

126-
## This isn't really supported.
126+
# This isn't really supported.
127127
#def test_changeFonts(self):
128128
# "Fonts are changable on the fly... kind of"
129129
# FONT_DIR = '../fonts/X11'
@@ -132,9 +132,10 @@ def test_pickleConsole(self):
132132
# continue # skip all those other files
133133
# font = os.path.join(FONT_DIR, font)
134134
# tdl.setFont(font)
135+
# # only works at all in OPENGL
136+
# self.console = tdl.init(WIDTH, HEIGHT, title=font, renderer='OPENGL')
135137
# for x,y in self.getDrawables():
136-
# self.console.drawChar(x, y, *self.getRandomCharacter())
137-
# tdl.setTitle(font)
138+
# self.console.draw_char(x, y, *self.getRandomCharacter())
138139
# self.flush()
139140
# time.sleep(.05)
140141

0 commit comments

Comments
 (0)