Speedy2D
Speedy2D copied to clipboard
Text rendering drawing square instead of glyph
When I use graphics.draw_text(...), I often get black rectangle instead of the text at the first frame :

When I ask for a redraw, (and so I update the text layout), the next frame is clean and the text appears clear.
Is it an issue with Rc<FormattedTextBlock> ?
Would you be able to take an OpenGL trace of this issue occurring and send it to me please? This can be done using the apitrace tool:
apitrace trace <your program>
Unfortunatly I can't figure out how to get apitrace working on macOs. I still have errors with 'OpenGl Framework not found' since it has been deprecated a few time ago by Apple :(
I've finally managed to reproduce this issue! It seems to occur if there are frames where no text is drawn, followed by frames where text does get drawn. I need to investigate this more.
Now released in v1.10.0!