Skip to main content

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.

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 ...
JAlmazan's user avatar
30 votes
7 answers
20k views

Where can I find fonts for my game? [closed]

Where can I find fonts (preferably free, but a reasonable fee is acceptable) that I can use in my for-pay/commericial game?
16 votes
5 answers
6k views

Where can I find fonts which I can distribute with an open source game? [closed]

I want to be able to release my game as open source, and I need to be able to distribute font files with my game. Where can I find fonts which I can use in this way, and what font licenses should I be ...
3 votes
6 answers
9k views

Using a particular font in a commercial game

I'm working on a game I intend to sell, and I want to use this font. The license says: "You may NOT copy or distribute the font outside of the licensed household, company, school or institution. ...
RCIX's user avatar
  • 1,116
8 votes
2 answers
8k views

Are fonts covered by copyright?

I want to use the font Trajan Pro, but I'm not sure that it would be legal. I've read a bit on fonts and copyright, and the only thing I could get was it depends on the license and where it was ...
Russell's user avatar
  • 259
4 votes
2 answers
7k views

How do you create fnt (angelcode format) files from existing bitmaps?

I often gets the same problem: Someones creates a nice bitmap font for me in form of a sheet nicely formated into a png, like this: ...and i need to create the angelcode .fnt atlas for using it (into ...
fabienbk's user avatar
  • 143
2 votes
2 answers
865 views

How do you deal with transparent fonts that you want to be white?

I am a complete beginner, but I thought I would try to learn how to create a basic game during quarantine. So, I apologize if this question is trivial. However, I stumbled into a problem with fonts. I'...
AlanSTACK's user avatar
  • 123
32 votes
12 answers
90k views

Tool to create a bitmap font from a true type font [closed]

What tool do you use to convert ttf fonts to bitmap fonts? Following is a list of features I'm looking for. I'd be happy with any tool really, but one that had these features would be better. ...
17 votes
7 answers
1k views

UI mockups to the code

My UI designer has made a lovely photoshop PSD of the UI and everything pretty. The biggest problem I'm having is converting some of the more elegant fonts used into something renderable in-game. Is ...
Vaughan Hilts's user avatar
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 ...
dukeofgaming's user avatar
14 votes
1 answer
21k views

How to match font size with screen resolution?

So I'm working on a game using LibGDX, and I have a problem. To make my game fit most resolutions, I created a base asset for each aspect ratio, for example, a main menu background image, I made it ...
Aon GoltzCrank's user avatar
14 votes
3 answers
10k views

How do I get beautiful small text in XNA without using external libraries?

In XNA, the spritefont technology is horrible. Nuclex does the job so much better, but I don't want to have any external references, and I'm nearly done with my game. When using fonts like Sansation ...
Mathias Lykkegaard Lorenzen's user avatar
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 ...
Davide Cattani's user avatar
8 votes
3 answers
7k views

Font outline in OpenGL, FTGL

I'm using FTGL library to render fonts in my game, but I have completely no idea how to create an outline around text. Achieving a shadow could be easy, because I can simply do it like this: (pseudo ...
Piotr Chojnacki's user avatar
5 votes
4 answers
3k views

How to handle font loading?

I need to display text in my game, who doesn't. I had originally thought that I could just statically render all the text I would need to images and use those. I'm starting to think that is a bad ...
deft_code's user avatar
  • 7,612

15 30 50 per page