DOKK / manpages / debian 12 / s3d-doc / s3d_select_font.3.en
S3D_SELECT_FONT(3) s3d Manual S3D_SELECT_FONT(3)

s3d_select_font - select font

#include <s3d.h>

int s3d_select_font(const char *mask);

This selects a font for the s3d_draw_string() function.


Warning

Of course, you won't forget to toggle it visible, won't you?


s3d_select_font("vera"); // will use the vera font face

Simon Wunderlich

Author of s3d
s3d