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
0
votes
2
answers
1k
views
Resize font when screen resizes desktop Libgdx
I create my font using the following code:
...
1
vote
2
answers
600
views
How to Refresh Dependencies after Adding FreeType Extension in Android Project
I'm planning to use FreeType fonts in my game (LibGDX and Android Studio) and I already added the freetype dependencies in my project. How can I refresh the dependencies after adding them? I have ...
3
votes
1
answer
779
views
Draw fonts in Hololens using SharpDX
I am using SharpDX to create an application in Hololens and I'm trying to understand how to use DirectWrite to draw variable text in 3D stereoscopic view. I have ...
0
votes
2
answers
1k
views
Unity custom font all glyphs on top of each other
I'm trying to create a custom font to use (just for numbers). I've divided a 1280x512 file into a 5x2 grid of 256x256 spaces, put my custom drawing into the boxes through 0 to 9, saved it as ...
1
vote
2
answers
3k
views
Spritebatch and Shaperenderer
When I am using the same spritebatch to draw texture and calling shaperenderer inside it, it is kind of misbehaving, like texture is not getting drawn or font is not getting drawn, Why is it happening?...
0
votes
1
answer
1k
views
libgdx - Trying to load ttf font using asset manager
I tried to load a ttf font using an AssetManager like this:
...
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
97
views
Is reusing BitmapFonts possible in GDX?
I'm loading multiple labels (100+) with different font types (max 10), but they have different sizes.
As I read the code and did the research, it's not possible to 'reuse' the font.
For instance, I ...
0
votes
0
answers
53
views
How to embed icons in a font?
I'm looking to have several icons within a label; for example a coin instead of a dollar sign. I'm using a TTF font, and as much as I'd like to keep it that way (simply because I've heard it's "better"...
1
vote
1
answer
493
views
C++ SFML: Font is clear and the other time blurred
This is my code.
...
6
votes
2
answers
1k
views
How to display unicode text in monogame?
I'm looking for ways to draw any characters that may be entered in any language, on any keyboard, so that I don't have any trouble with limited language support in a monogame project.
So far I've ...
4
votes
1
answer
8k
views
How can I use ImGui to render simple text instead of using stb_truetype directly?
Since ImGui builds on top of stb_truetype for its font rendering, I thought it could be nicer to use its already built font-processing capabilities (...
5
votes
2
answers
2k
views
Can I use fonts under C:\Windows\Fonts for text in my game?
I'm using Unreal Engine and their UMG system which comes with only one font by default ("Roboto").
The engine allows importing new fonts so I'm wondering whether I can use the fonts already available ...
-1
votes
2
answers
857
views
How to sale a bitmap font in libGDX?
I'm trying to create a Minecraft like quotes on the menu screen of my game.
I'm using BitmapFont to draw the text on screen but I don't know how to make that scale ...
1
vote
1
answer
4k
views
Loading font in Monogame
This question is probably a duplicate but I'm still asking it since it's all yesterday that I'm trying to get this done without any success. I followed many solutions and tried even more libraries ...