All Questions
12
questions
2
votes
0
answers
792
views
Manual per-glyph rendering with SDL_TTF
I'm trying to create a font atlas with SDL_TTF. My idea was to create an SDL_Surface for every character using ...
2
votes
1
answer
189
views
Scale screen space quads (used in font rendering)
I have quads positioned in <0, 1> x <0, 1> coordinates. I use this system for font rendering.
In vertex shader I have:
...
3
votes
1
answer
300
views
How to maintain char widths of non-monospace fonts?
Having a font via spritesheet (as PNG), the easiest way to render fonts from that is just showing chars as monospace, but as you can imagine, that looks not pretty with chars like ...
2
votes
1
answer
416
views
How do I render Hindi text in Libgdx?
How do I render Hindi text in Libgdx using any font? For example, I want to render the word "प्रकार".
Here is what I have, so far:
...
2
votes
2
answers
2k
views
How to disable Monogame pixel font antialiasing?
I am using Monogame 3.4 (I have held off upgrading to 3.5) and am on Windows 10. I'm drawing using the PointClamp setting (as suggested in this similar question).
Whenever I render text with ...
0
votes
1
answer
125
views
Why not draw a custom font with lines and/or polygons?
Reasons/advantages I see:
More flexible procedural animation.
Completely custom font.
Performance (no texturing or high-poly)?
No assets (unless data-driven).
Multi-resolution compared to sprite ...
1
vote
0
answers
514
views
LibGDX, BitmapFont strange position behavior
I'm using a Stage of LibGDX to draw a text, in my case the FPS. But after resizing, the position of the text does not behave properly.
As you can see in the attached gif:
The resizing function does ...
7
votes
1
answer
4k
views
Drawing fonts with LWJGL3 with OpenGL
I'm very sorry if this question has already been answered, but since I've been struggling with this for many days I thought I'd give it a shot here.
My goal is to somehow render some text on the ...
0
votes
2
answers
1k
views
Kerning between glyphs using SDL2_ttf
I'm loading a number of characters (using SDL2_ttf) into a texture atlas to improve performance.
The glyphs can be separately rendered correctly, however, how can you find the kerning distance ...
0
votes
2
answers
6k
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:
...
17
votes
5
answers
20k
views
Preferred way to render text in OpenGL [closed]
I'm about to 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 ...
5
votes
2
answers
2k
views
How can I render fonts in a game with correct hinting?
I've used angel code's bitmap font generator quite a bit; though it's very good, I wonder if there would be a way to use the hinting information to provide a better and more readable result, by using ...