Skip to content

cf_push_text_curves

Category: text
GitHub: cute_draw.h


Turns on/off curve text rendering.

void cf_push_text_curves(bool curves_on);

Remarks

On by default: glyphs render per-pixel from their quadratic Bezier outlines instead of rasterized atlas bitmaps -- resolution-independent, so text stays crisp under any camera zoom or rotation with no re-rasterization, and cf_push_text_stroke renders outlined text. Layout, kerning, wrapping, and text effects are identical on both paths. Push false to force the rasterized atlas path. Blurred text (cf_push_font_blur) always uses the rasterized path.

cf_push_text_stroke
cf_pop_text_curves
cf_peek_text_curves