erwincoumans / experiments

testbeds, random bits, snippets mainly for real-time physics/graphics development. The GPU rigid body pipeline is moved to a separate repository at http://github.com/bulletphysics/bullet3
129 stars 26 forks source link

TrueTypeFont glyph overlap issue #12

Open omikun opened 10 years ago

omikun commented 10 years ago

I just wanted to say thanks for porting fontstash to modern opengl. It really helps newbies like me getting started. Much appreciated!

I noticed in some instances like when rendering the word "font" the 'f' clips a part of the 'o'. The same happens when one set of text overlays on top of another set of text. There is a wide margin around the foreground text that the background text does not show through.

I see the text is rendered with transparency enabled and this holds true for non text objects in the background. Any idea what could be causing this?

erwincoumans commented 9 years ago

It is better to check out the latest implementation in the bullet3 repo at http://github.com/bulletphysics/bullet3, this 'experiments' repo is out-of-date. The TrueTypeFont code is in btgui/OpenGLWindow/*