vydd/sketch

Text rendering problem with hello-world example

dawranliou opened this issue · 1 comments

Hi maintainers, thank you very much for this project! I'm having one issue on my machines with the hello-world example, specifically with the text rendering. This is what I'm seeing on my arch linux machine and also on another 2019 MacBook Pro machine.

Screenshot_20220626_205029

If I try rendering some text other than "Hello, world!". This is what I see:

  • 5 a's (i.e. "aaaaa"):
    Screenshot_20220626_205540

  • 6 a/s (i.e. "aaaaaa"):
    Screenshot_20220626_204957

  • 7 a's (i.e. "aaaaaaa"):
    Screenshot_20220626_210621

I'm still learning more about computer graphics and the GPU so I don't quite know how to troubleshoot this issue. It'll be really appreciated if you can help me to troubleshoot this.
I have the lastest master of lispgames/cl-sdl2 and lispgames/sdl2kit in my local-projects directory. Here's my opengl version information:

$ glxinfo | grep OpenGL
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) HD Graphics 520 (SKL GT2)
OpenGL core profile version string: 3.3 (Core Profile) Mesa 22.1.2
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.3 (Compatibility Profile) Mesa 22.1.2
OpenGL shading language version string: 3.30
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 22.1.2
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:

I'm not sure but this issue could be related: Failproofshark/cl-sdl2-ttf#27