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
1 answer
1k views

How can I render a font in C with OpenGL? [closed]

What I tried: I was testing some things in order to render text with stb_truetype.h and OpenGL in C. I took as a reference the example that appears here. Basically, this example, loads a .ttf file and ...
Álvaro Rodrigo's user avatar
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
1 vote
1 answer
2k views

DirectX 11, support for Font drawing

I have recently started to work with DirectX 11 and 12, I am using Microsoft Visual Studio Community Edition. I am under a 64-bit machine. I am currently rendering a frame with background and a window ...
John Smith's user avatar
0 votes
1 answer
508 views

LibGDX Letter spacing is reduced if I use GlyphLayout to draw a bitmap font

I need to use glyphlayout so that I can centre the text, but I found if I do the text gets distorted due to the spacing being incorrect. ...
Hasen's user avatar
  • 194
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 ...
neverov's user avatar
  • 121
1 vote
1 answer
374 views

Font rendering, how do you align glyphs of a font?

I'm trying to render text quad using texture generate by BitmapFontWriter of libgdx. For the font I can get ...
XWX's user avatar
  • 113
1 vote
1 answer
94 views

Sampled texture from bitmap font produces blue glow

I'm creating a texture is DirectX 11 from bitmap fonts. I realize that I can use DXTK, but this is an exercise for me, not in learning another library. My sample code looks like this. ...
Kyle Elliott's user avatar
2 votes
1 answer
564 views

How can I create color fonts to be used in Unity?

I've been searching, downloaded a couple programs that lets you convert images into fonts, but none let you obtain the color. They all switch them to black and white. While searching the internet, I ...
L2L2L's user avatar
  • 21
1 vote
0 answers
74 views

Incorrect placement of diacritics in Arabic fonts

I put AdobeNaskh font on my texts and use Arabic text support for unity and use show Tashkeel function then the text appears so what is the solution of this problem?
Sh.Adel's user avatar
  • 191
0 votes
1 answer
208 views

Doubt about font inclusion (GAMEMAKER)?

The default font of the GameMaker is arial, but it does not contain special characters that are present in the portuguese language. Soon I had to add a new font, but I activated the ASCII option so ...
Boneco Sinforoso's user avatar
0 votes
0 answers
2k views

Blurry text in Unity UI at default scale

I'm working on a VR (GoogleVR Cardboard) game, and need to include UI elements within it. Ever since I first learned how to use Unity's UI elements, I've been limping around what seems to be a major ...
Bitbang3r's user avatar
  • 139
1 vote
1 answer
235 views

Unity font API behaves differently in built game

Specifically it's Font.CreateDynamicFontFromOSFont(), use this script attached to an empty GameObject in the scene. ...
Arxz's user avatar
  • 95
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: ...
Martin Perry's user avatar
  • 1,126
0 votes
0 answers
240 views

TTF glyph to OBJ

I'm looking for a method to convert a TTF glyph into a triangle mesh. I've tried making my own font constructing my own indices and vertices but it didn't go well: ...
MarkWeston's user avatar
1 vote
1 answer
672 views

When I use a font in my game, do I have to include its license in the credits?

For example, if I use this font from Google Fonts: https://fonts.google.com/specimen/Open+Sans This font is licensed under Apache License 2.0 But regardless of the license, if it allows commercial ...
AnotherUser's user avatar

15 30 50 per page
1
2
3 4 5
11