veandco / go-sdl2

SDL2 binding for Go
https://godoc.org/github.com/veandco/go-sdl2
BSD 3-Clause "New" or "Revised" License
2.17k stars 219 forks source link

ttf does not offer `TTF_RenderGlyph_Solid` #488

Closed GXTX closed 3 years ago

GXTX commented 3 years ago

As the title states currently in v0.4.x the TTF package does not offer a RenderGlyphSolid (TTF_RenderGlyph_Solid), instead opting to offer RenderUTF8Solid.

In a project I'm working on UTF8 causes problems for me and I just need base ASCII glyphs.

GXTX commented 3 years ago

You can ignore this. The UTF8 render is suitable.

veeableful commented 3 years ago

Hi @GXTX, thanks for reporting the missing methods! I have added them to v0.4.x should you be interested in using them. I haven't tested them myself but once I do, I will tag it as v0.4.8.