Questions tagged [font-rendering]
The font-rendering tag has no usage guidance.
3
votes
1answer
128 views
Why does some text on my laptop have gray-scale pixels and some have color pixels?
In this question I generated the images below to explain why I can't use TTFs for that 1-bit display application.
But now I would like to understand from the perspective of a non-expert, why is some ...
2
votes
0answers
43 views
How to rendered arbitrary rotated text with decent hinting in real time?
I display text using OpenGL which is aligned with (2D) objects that can have any rotation on display, making the text also appear at any angle on display. So far I've used FreeType to render raster ...
4
votes
2answers
83 views
Is there an algorithm to bold an outline font? What is it?
One of my friend got a pretty pretty Chinese hand-writing font. However, the font has no bold version, since it is handwritten. And I would like to help generate a bold one automatically by code.
I ...
3
votes
1answer
80 views
Fonts rendered through textures look thinned
I'm rendering fonts using Cairo to surfaces, convert those surfaces to RGBA textures and then display them on GL_QUADS using orthotogonal projection and alpha blending. When I use Cairo to render ...
3
votes
2answers
39 views
How to get the length of paths in an given font/character
I wan't create some LED-rope text, using some script font, like the following:
For this I need somewhat estimate the needed length of the LED-rope for the given letter (or combinations of letters).
...
7
votes
1answer
729 views
Signed distance field font looks odd
I attempted to implement font rendering using signed distance fields.
My program first generates a mono bitmap at font size 64 (using FreeType), then generates an SDF from the bitmap. This is then ...
4
votes
1answer
588 views
What kind of anti-aliasing is used in font rasterization?
I'm writing my own TrueType font rasterizer as an exercise to improve my knowledge in computer graphics (along with a basic vector graphics engine). At this stage, I have implemented most of the TTF ...
15
votes
1answer
1k views
why does black text have orange and blue pixels
Why is it that when you zoom in to some black text you find that it is made up of orange, slightly black and blue pixels like the picture below.
46
votes
5answers
13k views
Sharp Corners with Signed Distance Fields Fonts
Signed Distance Fields (SDFs) was presented as a fast solution to achieve resolution independent font rendering by Valve in this paper.
I already have the Valve solution working but I'd like to ...