Questions tagged [fonts]
A collection of text characters according to the size and style of a particular typeface. Often used as shorthand when referring to said typeface.
156
questions
2
votes
1
answer
2k
views
OpenGL dynamic font glyph cache library
I have begun work on an OpenGL application (all on my own and with little knowledge) and started with FTGL, rendering true type fonts, which, with alot of text has a great impact on frames per second.
...
0
votes
2
answers
627
views
Inverting a Font? [closed]
How can I invert a font like so:
See here:
This is my own .ttf font, I can edit it. The image that I posted was inverted manually by me. I am searching for a way ...
1
vote
1
answer
9k
views
Unity UI Text Font Size changes with the screen resolution Problem
I am working on a project and now I have a problem . The problem is the font size.
The font size is OK inside the Unity but it is really small when I play the game on a real Android device .
My ...
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 ...
3
votes
0
answers
180
views
Bitmap font engine: When is color modulation not supported?
I am developing a bitmap font renderer for a 2D game using SDL 2. (If it matters, I'm using Debian 8 "jessie".) I had planned on storing the glyphs as a grayscale image, translating gray levels to ...
1
vote
1
answer
159
views
How can I handle markup sequences in a libGDX TypeWriter implementation?
I've implemented my own TypeWriter for text that looks like this
...
7
votes
2
answers
2k
views
How do I render Unicode characters that my font doesn't support?
How would I go about rendering all Unicode characters?
Most font files don't include characters like these.
3
votes
1
answer
187
views
How can I find a free or cheap redistributable font supporting runic characters?
I've been looking around for a font to include in my game which supports rune characters, specifically this Unicode block.
All the sites I go to don't demonstrate what Unicode characters that font ...
2
votes
0
answers
322
views
Scene2d cyrillic font
I'm trying to use cyrillic(Russian) letters in libgdx Scene2d. I drop default.fnt and default_0.png (generated with BMfont) into folder assets of my Android project (other files such as uiskin.atlas,...
2
votes
0
answers
623
views
Creating a bitmapfont from images?
A bitmapfont consists of a image and a textfile that hold the position and size of each character on that image. Is there any way to create the text file with just a image? Or do I have to manually ...
8
votes
2
answers
796
views
Android libGDX FreeTypeFontGenerator exception
I am working on a libGDX project for Android. Since I added the following code, running the game on my Android phone produces an exception:
...
0
votes
1
answer
634
views
Certain Unicode Characters not displaying when setting text to TextButton in libgdx
Ok I am trying to do a word game much like Hangman Pro but for a different language(specifically amharic) using libgdx . And I have got a list of words saved to ...
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 ...
0
votes
1
answer
285
views
Mapping "Color" parameter from SpriteBatch.DrawString() function to a custom shader
I've recently found a nice way to render text in XNA with custom font AND custom shader.
Here is the game code**:
...
9
votes
6
answers
2k
views
Why can't I read .ttf file when running Android configuration?
When running or debugging my game on Android device, I get this error in the logcat:
com.badlogic.gdx.utils.GdxRuntimeException: Error reading file: data/fonts/myFont.ttf (Internal)
Which is ...