▲ | vFunct 5 days ago | |
Would the same bezier curves be used in font rendering? And do we have GPU bezier drawing functions or shader kernels available? | ||
▲ | ethan_smith 5 days ago | parent | next [-] | |
Yes, TrueType fonts use quadratic beziers while PostScript/OpenType use cubic beziers, and modern GPUs offer acceleration through tessellation shaders and compute pipelines like NV_path_rendering extension. | ||
▲ | o11c 4 days ago | parent | prev [-] | |
Note that while cubic bezier curves are nice for designing shapes, quadratic bezier curves allow a much more optimized renderer. It's usually worth approximating. |