... say what? O_oOriginally Posted by LuisAK
... say what? O_oOriginally Posted by LuisAK
What a poor system - and again you need some other tools
What date are we writing ? 2013
http://www.freetype.org/
http://www.freetype.org/freetype2/do...ial/step1.html
nerdy technics like 1993
----------------------
I think a moderator or admin should close this topic.
Disclaimer: This is my personal profile. Whatever I write here is my personal opinion and none of my statements or speculations are anyhow related to my employer and as such should not be treated as accurate or valid and in no case should those be considered to represent the opinions of my employer.
Technical Blog: http://www.rastergrid.com/blog/
The History of writing:
http://www.historian.net/hxwrite.htm
This side could help - maybe
i've reported 1st post and one of the last OP's posts from this thread. for lame trolling attempts\misleading nature of messages\attention whoring on Suggestions Forum. but V-Man was not online for significant amount of time and Khronos_Webmaster generally processes only obvious spam\inappropriate content.
i suggest adding OP to Ignore List and\or unsubscribing this thread. that's what i do in case if someone on the forum goes full retard.
Last edited by Nowhere-01; 08-20-2013 at 12:27 PM.
Rediculous, the topic "OpenGL should provide direct font support"
should be closed by a moderator, because someone has an other another oppinion
than others.
Therefore I recommend
http://www.opendemocracy.net/
for OpenGL
This is just getting.. weird. Lets try to return, in a polite way, about font support in OpenGL. I'll try.
There is an extension NOW on NVIDIA hardware providing font support: GL_NV_path_rendering at
http://www.opengl.org/registry/specs..._rendering.txt
in that extension, glyphs from a font are realized as paths that the extension defines. In that extension, paths are drawn in essentially two passes: first a stencil pass to "compute" what portions of the screen are inside and outside the path and then a second path covering that area using the stencil test to actually draw to the framebuffer (and usually reset the stencil buffer).
Now, there are a large number of gotcha's in that extension with respect to font rendering:
- For low-ish pixel density, hinting is a critical part of drawing glyphs. Hinting in true type fonts is via a "program" embedded in each glyph for a virtual machine. This hinting system is not a part of GL_NV_path_rendering and likely such a hinting system will never be reasonably do-able on GPU's.
- You will need to render with anti-aliasing enabled to get reasonable output for typical letter sizes
There are more issues; font rendering is a very, very complicated beast. Indeed, drawing the glyphs is just one step. Then there is formatting (which includes kerning) and shaping (for script fonts). The complications do not stop there; character mapping and font merging is an issue and naturally requesting a font from the system is actually very platform specific and non-trivial. The NVIDIA extension has some of this built into it, but there are gaps and will drive those into font rendering up the wall.
There are also many, many font file formats with each file format offering different features and information of the font faces that it contains. It looks like the NVIDIA extension uses freetype2 much of the time and DirectWrite on newer MS-Window platforms (likely Vista or 7 and up).
I strongly suspect that the NVIDIA extension borders on heroic; it is a big extensions that does quite a bit of stuff and I strongly doubt it coming to core GL because GL is supposed to be platform independent and font query is very platform dependent... what about platforms that do not have fonts, eh?
kRogue: IMHO it's cool you want to contribute in a sensible constructive way, but the OP has shown time and again that he doesn't understand anything about this topic.
#39 shows that the poster of #39 doesn`t understand the sense of OpenGL font support.