3 ms·
> Drawing text is hard, and not something that should be solved at the OpenGL level. Agree completely with the first part, less sure about the second. Almost e
by mrec 11y ago
> Drawing text is hard, and not something that should be solved at the OpenGL level.
Agree completely with the first part, less sure about the second. Almost everything needs to do it. Text rendering was included in OpenVG, which seems to have flopped completely. And rendering anything to the screen with OpenGL will involve coordinating with the window manager.
Mark Kilgard's gigantic NV_path_rendering extension included a LOT of font/glyph support. It surprised me as well when I first read it, but there's some interesting discussion of the rationale in the second item of the Issues list at the end of the spec [1].
[1] https://www.opengl.org/registry/specs/NV/path_rendering.txt https://www.opengl.org/registry/specs/NV/path_rendering.txt