spleen

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

spleen-5x8.c (654B)


      1 /*
      2  * Spleen 1.9.2
      3  * Copyright (c) 2018-2023, 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  * SPDX-License-Identifier: BSD-2-Clause
     13  */
     14 
     15 #include <stdio.h>
     16 #include <time.h>
     17 
     18 #include <dev/wscons/wsconsio.h>
     19 #include <dev/wsfont/spleen5x8.h>
     20 
     21 int
     22 main(int argc, char *argv[])
     23 {
     24 	size_t loop;
     25 
     26 	for (loop = 0; loop < 32 * 8; loop++)
     27 		printf("%c", 0);
     28 
     29 	for (loop = 0; loop < 96 * 8; loop++)
     30 		printf("%c", spleen5x8_data[loop]);
     31 
     32 	for (loop = 0; loop < 128 * 8; loop++)
     33 		printf("%c", 0);
     34 
     35 	return 0;
     36 }