Sep-15-2020, 02:21 PM
I am at home now and I can test. I am not able to get the expect result on Linux, in Tkinter
with just pyglet it works
with just pyglet it works
import pyglet pyglet.font.add_file('Digital Play St.ttf') window = pyglet.window.Window() label = pyglet.text.Label('0 1 2 3 4 5 6 7 8 9', font_name='Digital Play St', font_size=36, x=window.width//2, y=window.height//2, anchor_x='center', anchor_y='center') @window.event def on_draw(): window.clear() label.draw() pyglet.app.run()will look further into it
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs