Skip to content

emicklei/bitmapfont

Repository files navigation

bitmapfont rendering for OpenGL

example

Bitmpafont demo

format

usage

font, _ := bitmapfont.NewOpenGLFont("test_ubuntu.fnt", "test_ubuntu.png")
defer font.Delete()

multitext := `Bitmapfont
easy OpenGL font rendering
for Go`
txt := bitmapfont.NewText(multitext, 10, 10, 300, 100, font)

txt.Render()

TODO

  • multi-byte chars
  • optimize amount lookup

(c) 2016, http://ernestmicklei.com. MIT License

About

bitmapfont reader and OpenGL renderer in Go

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages