Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [font-rendering]

The tag has no usage guidance.

2
votes
0answers
38 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
77 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
77 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
677 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
530 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 ...
14
votes
1answer
887 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.
45
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 ...