spleen

Monospaced bitmap fonts for consoles, terminals, and code editors
Log | Files | Refs | README | LICENSE

spleen-12x24.c (565B)


      1 /*
      2  * Spleen 1.9.1
      3  * Copyright (c) 2018-2021, Frederic Cambus
      4  * https://www.cambus.net/
      5  *
      6  * Created:      2020-06-20
      7  * Last Updated: 2020-07-08
      8  *
      9  * Spleen is released under the BSD 2-Clause license.
     10  * See LICENSE file for details.
     11  */
     12 
     13 #include <stdio.h>
     14 #include <time.h>
     15 
     16 #include <dev/wscons/wsconsio.h>
     17 #include <dev/wsfont/spleen12x24.h>
     18 
     19 int
     20 main(int argc, char *argv[])
     21 {
     22 	size_t loop;
     23 
     24 	for (loop = 0; loop < 32 * 2 * 24; loop++)
     25 		printf("%c", 0);
     26 
     27 	for (loop = 0; loop < 224 * 2 * 24; loop++)
     28 		printf("%c", spleen12x24_data[loop]);
     29 
     30 	return 0;
     31 }