spleen

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

spleen-6x12.c (599B)


      1 /*
      2  * Spleen 1.9.1
      3  * Copyright (c) 2018-2021, Frederic Cambus
      4  * https://www.cambus.net/
      5  *
      6  * Created:      2020-07-08
      7  * Last Updated: 2021-03-12
      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/spleen6x12.h>
     20 
     21 int
     22 main(int argc, char *argv[])
     23 {
     24 	size_t loop;
     25 
     26 	for (loop = 0; loop < 32 * 12; loop++)
     27 		printf("%c", 0);
     28 
     29 	for (loop = 0; loop < 224 * 12; loop++)
     30 		printf("%c", spleen6x12_data[loop]);
     31 
     32 	return 0;
     33 }