Tagged Questions
1
vote
0answers
48 views
Rendering text with stb_font results in glitches
I'm trying to render text with OpenGL and an "inline"-font taken from the stb_fonts
The relevant code for initializing the font & rendering:
LabelFactory::LabelFactory() {
static unsigned ...
1
vote
1answer
954 views
LWJGL Text Rendering
Currently in my project I am using LWJGL and the Slick2D library to render text onto the screen. Here is a more specific example:
Font f = new Font("Times New Roman",Font.BOLD,18);
font = new ...
-1
votes
2answers
187 views
FreeType2 Crash on FT_Init_FreeType
I'm currently trying to learn how to use the FreeType2 library for drawing fonts with OpenGL. However, when I start the program it immediately crashes with the following error: "(Can't correctly start ...
1
vote
1answer
218 views
How do I display same “proportional” text size on different resolutions?
I draw some text on screen using ID3DXFont::DrawText. This text should be displayed the same regardless of screen resolution.
For example, if screen resolution is low, text wrapped and when it is ...
4
votes
2answers
788 views
How can I render text above a mesh in DirectX 9?
I want to render some text over a mesh in my DirectX app. It will have a similar application to health bars for units in games, just as text rather than a bar. I'm looking for the simplest way to do ...
11
votes
4answers
7k views
Preferred way to render text in OpenGL
I'm about tu pick up computer graphics once again for an university project. For a previous project I used a library called ftgl that didn't leave me quite satisfied as it felt kind of heavy (I tried ...