micahpearlman / MonkVG

MonkVG is an OpenVG 1.1 like vector graphics API implementation optimized for game use currently using an OpenGL ES backend that should be compatible with any HW that supports OpenGL ES 2.0 which includes most iOS and Android devices.
Other
376 stars 66 forks source link

Font/text bug #28

Closed gerchicov closed 10 years ago

gerchicov commented 10 years ago

In your example replace font (.png and .fnt) with another one which is without a shadow. You can create these files for example with a free version of bmGlyph. Create simply white text without any special effects. Then try to draw it. You will see an extra shadow around it. I thought It means another over mode, but I can't reproduce it in photoshop with using of blending mode only.

I think it could be fixed with fragment shader because I am not good at programming with this language (glsl).

micahpearlman commented 10 years ago

I cannot reproduce this.

gerchicov commented 10 years ago

An example for your library with changed sources: http://webfile.ru/ad51fe7df51fab8e9ffa059a43519b5a run test project for ios