All Questions
10
questions
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 ...
3
votes
1
answer
5k
views
Freetype: create Signed Distance Field based font
I am trying to implement Font Rendering in my OpenGL C++ game.
I read many articles on the subject and got to know different methods, but I am still learning.
Valve has published a paper for Signed ...
1
vote
1
answer
493
views
C++ SFML: Font is clear and the other time blurred
This is my code.
...
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.
...
1
vote
0
answers
896
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 ...
6
votes
0
answers
902
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:
...
2
votes
1
answer
1k
views
Is there a way to use other fonts, besides the default ones in OpenGLUT?
I'm using OpenGLUT functions like glutBitmapString to render sentences and words in a game. However, there is a limited set of fonts to use and I need some bigger size fonts. Is there a way to add new ...
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 ...
5
votes
1
answer
641
views
Rendering only a part of text FTGL, OpenGL
I'm using FTGL library to render text in my C++ project.
I can easily render text by using:
...
3
votes
2
answers
3k
views
Creating Font Textures in Direct3d without D3DX
Update: The completed solution using Nathan Reed's answer is posted in my answer below
A few open source programs I've seen that render installed fonts do something like this...
...