libcaca  0.99.beta19
About: libcaca is a graphics library that outputs text instead of pixels, so that it can work on older video cards or text terminals (something like an advanced AAlib library).
  Fossies Dox: libcaca-0.99.beta19.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

libcaca FIGfont handling

These functions provide FIGlet and TOIlet font handling routines. More...

Functions

int caca_canvas_set_figfont (caca_canvas_t *, char const *)
 load a figfont and attach it to a canvas More...
 
int caca_set_figfont_smush (caca_canvas_t *, char const *)
 set the smushing mode of the figfont rendering More...
 
int caca_set_figfont_width (caca_canvas_t *, int)
 set the width of the figfont rendering More...
 
int caca_put_figchar (caca_canvas_t *, uint32_t)
 paste a character using the current figfont More...
 
int caca_flush_figlet (caca_canvas_t *)
 flush the figlet context More...
 

Detailed Description

These functions provide FIGlet and TOIlet font handling routines.

Function Documentation

◆ caca_canvas_set_figfont()

◆ caca_flush_figlet()

◆ caca_put_figchar()

◆ caca_set_figfont_smush()

int caca_set_figfont_smush ( caca_canvas_t ,
char const *   
)

set the smushing mode of the figfont rendering

Definition at line 117 of file figfont.c.

References cv, caca_canvas::ff, caca_charfont::hmode, mode, strcasecmp, and update_figfont_settings().

◆ caca_set_figfont_width()

int caca_set_figfont_width ( caca_canvas_t ,
int   
)

set the width of the figfont rendering

Definition at line 102 of file figfont.c.

References cv, caca_canvas::ff, caca_charfont::term_width, and update_figfont_settings().