UnderwaterApps / overlap2d-runtime-libgdx

Overlap2D - UI and Level Editor libgdx runtime
http://overlap2d.com
Other
170 stars 96 forks source link

The font doesnt render correctly. #116

Closed TeJay8 closed 6 years ago

TeJay8 commented 6 years ago

When rendering with the Overlap2dRenderer the letters are out of place and the font doesnt look right. Im finding that the bug happens in my gdxlib application and in the overlap2d editor here for a pull request with the most recent libraries.

This is Arial size 20 and should say "Label".

label

Here it should say "press the screen to skip" in kenvector_future font.

skip

TeJay8 commented 6 years ago

I'm closing this issue when scaling the font down the values become floats so the integer flag need to set to false with bitmapFont.setUseIntegerPositions( false ); and its renders correctly.