Improve font rendering
Follow up of !87 (merged)
-
TrueTypeFont -
unihex: reduce vram usage (currently ~100MB just for font data) (that is not unixhex specific, that just pushed it to limits): Store texture black/white. opengl does not support it, but maybe GL_RGBA2
is a close call, it could reduce it to 1/4 -
render legacy unicode and bitmap texture with unifont rasterizer (massively reduces vram usage in < 1.20) -
underline/strikethrough: italic support -
improve ascented font (chars like öäü
) #75 (closed) -
tests for onclick and onhover
Edited by Moritz Zwerger