A collection of text characters according to the size and style of a particular typeface. Often used as shorthand when referring to said typeface.

learn more… | top users | synonyms

3
votes
3answers
316 views

LibGDX - Can't 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 ...
2
votes
2answers
164 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: final FreeTypeFontGenerator generator = new ...
4
votes
1answer
497 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 ...
2
votes
1answer
18 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 ...
3
votes
0answers
37 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 ...
2
votes
0answers
65 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
0answers
57 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 ...
2
votes
0answers
247 views

Text alignment in OpenGL with FreeType2

I'm trying to implement font rendering and have got into some trouble with glyph metrics. Here's the code where I get the metrics: Glyph gl; gl.width = face->glyph->metrics.width / 64; gl....
1
vote
0answers
69 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 (ImGui::GetIO().Fonts), and render with those, ...
1
vote
0answers
202 views

How can I use a texture as a font in Unity3D

I am making a game in unity and I am trying to make a custom font for showing numbers. I created a png with the numbers, turned it into a material and added it to a custom font object. I set up the ...
1
vote
0answers
270 views

AddFontMemResourceEx and D3DXCreateFont corruption

I'm trying to load a font from a buffer using AddFontMemResourceEx and then creating a D3D font with D3DXCreateFont. This works fine on every platform except Windows XP, where it causes the wrong ...
1
vote
0answers
73 views

Spritefonts gets very messed up when scaling up

I'm recoding a retro video game, but because the original resolution is very low, I scale everything up. I render to a renderTarget and render the renderTarget to the target resolution. I'm using my ...
1
vote
0answers
371 views

Why do my LWJGL fonts have dots and lines around them?

When we render fonts there are weird dots and lines around the text. I have no idea why this would happen. Here is an image of what it looks like: Our font class looks like this: package me.NJ....
0
votes
0answers
44 views

Error loading MonoGame Fonts

I'm getting to the end of transposing the MonoGame Asteroids tutorial app to VB, all going very well until I got to the font. I would assume the VB Syntax would be myFont = Content.Load(Of ...
0
votes
0answers
54 views

How to render Fonts with correct size?

I'm making a game using libgdx and box2d so my Orthographic Camera Viewport is only 20x12 pixels/meters, when I try to render the a font on screen it becomes really big and pixelated, I also tried to ...
0
votes
0answers
21 views

AndEngine Font garbled on engine.setScene

I load a font as a member of my main activity with the intent of using the font in two different scenes on the same activity. The two scenes are also members of the mainActivity. public class ...
0
votes
0answers
115 views

How to improve textmesh quality?

In my game I using textmesh, but textmesh has a pixel problem even adjusting scale, character size and font size. How to solve it?
0
votes
0answers
1k views

How do I open/edit a *.xnb file in XNA Game Studio 4.0?

I've downloaded a *.xnb font sprite, but I don't know how to open/edit it. I installed XNA Frameword 4.0 in VS 2010. Thanks for your help!