Re: font texture issue - garbled characters
Posted by jurchiks on Oct 24, 2014; 2:20pm
URL: https://forum.jogamp.org/font-texture-issue-garbled-characters-tp4033437p4033457.html
I see. Ok, I'll see what I can do in that regard.
What's so confusing about "simple text"? I want to take a string of text and display it on screen (as close as possible to the screenshot in my first post) without requiring an image with letters in it.
Edit: replacing this -
_fontTexture = TextureIO.newTexture(new File("./data/textures/font.png"), false);
with this -
_fontTexture = AWTTextureIO.newTexture(new File("./data/textures/font.png"), false);
didn't help, it's still garbled characters.
The font texture is only created in this one place.