ansilove

ANSI and ASCII art to PNG converter in C
Log | Files | Refs | README | LICENSE

fonts.h (2404B)


      1 /*
      2  * fonts.h
      3  * Ansilove 4.1.2
      4  * https://www.ansilove.org
      5  *
      6  * Copyright (c) 2011-2020 Stefan Vogt, Brian Cassidy, and Frederic Cambus
      7  * All rights reserved.
      8  *
      9  * Ansilove is licensed under the BSD 2-Clause License.
     10  * See LICENSE file for details.
     11  */
     12 
     13 #ifndef FONTS_H
     14 #define FONTS_H
     15 
     16 char *fonts[] = {
     17 	"cp737",				/* Greek */
     18 	"cp775",				/* Baltic */
     19 	"cp850",				/* Latin 1 */
     20 	"cp852",				/* Latin 2 */
     21 	"cp855",				/* Cyrillic */
     22 	"cp857",				/* Turkish */
     23 	"cp860",				/* Portuguese */
     24 	"cp861",				/* Icelandic */
     25 	"cp862",				/* Hebrew */
     26 	"cp863",				/* French-canadian */
     27 	"cp865",				/* Nordic */
     28 	"cp866",				/* Russian */
     29 	"cp869",				/* Greek */
     30 	"80x25",
     31 	"80x50",
     32 	"greek",
     33 	"baltic",
     34 	"latin1",
     35 	"latin2",
     36 	"cyrillic",
     37 	"turkish",
     38 	"portuguese",
     39 	"icelandic",
     40 	"hebrew",
     41 	"french-canadian",
     42 	"nordic",
     43 	"russian",
     44 	"greek-869",
     45 	"terminus",
     46 	"amiga",
     47 	"microknight",
     48 	"microknight+",
     49 	"mosoul",
     50 	"pot-noodle",
     51 	"topaz",
     52 	"topaz+",
     53 	"topaz500",
     54 	"topaz500+"
     55 };
     56 
     57 int fontsId[] = {
     58 	ANSILOVE_FONT_CP737,			/* Greek */
     59 	ANSILOVE_FONT_CP775,			/* Baltic */
     60 	ANSILOVE_FONT_CP850,			/* Latin 1 */
     61 	ANSILOVE_FONT_CP852,			/* Latin 2 */
     62 	ANSILOVE_FONT_CP855,			/* Cyrillic */
     63 	ANSILOVE_FONT_CP857,			/* Turkish */
     64 	ANSILOVE_FONT_CP860,			/* Portuguese */
     65 	ANSILOVE_FONT_CP861,			/* Icelandic */
     66 	ANSILOVE_FONT_CP862,			/* Hebrew */
     67 	ANSILOVE_FONT_CP863,			/* French-canadian */
     68 	ANSILOVE_FONT_CP865,			/* Nordic */
     69 	ANSILOVE_FONT_CP866,			/* Russian */
     70 	ANSILOVE_FONT_CP869,			/* Greek */
     71 	ANSILOVE_FONT_CP437,			/* IBM PC 80x25 */
     72 	ANSILOVE_FONT_CP437_80x50,		/* IBM PC 80x50 */
     73 	ANSILOVE_FONT_CP737,			/* Greek */
     74 	ANSILOVE_FONT_CP775,			/* Baltic */
     75 	ANSILOVE_FONT_CP850,			/* Latin 1 */
     76 	ANSILOVE_FONT_CP852,			/* Latin 2 */
     77 	ANSILOVE_FONT_CP855,			/* Cyrillic */
     78 	ANSILOVE_FONT_CP857,			/* Turkish */
     79 	ANSILOVE_FONT_CP860,			/* Portuguese */
     80 	ANSILOVE_FONT_CP861,			/* Icelandic */
     81 	ANSILOVE_FONT_CP862,			/* Hebrew */
     82 	ANSILOVE_FONT_CP863,			/* French-canadian */
     83 	ANSILOVE_FONT_CP865,			/* Nordic */
     84 	ANSILOVE_FONT_CP866,			/* Russian */
     85 	ANSILOVE_FONT_CP869,			/* Greek */
     86 	ANSILOVE_FONT_TERMINUS,
     87 	ANSILOVE_FONT_TOPAZ,			/* Alias: amiga */
     88 	ANSILOVE_FONT_MICROKNIGHT,
     89 	ANSILOVE_FONT_MICROKNIGHT_PLUS,
     90 	ANSILOVE_FONT_MOSOUL,
     91 	ANSILOVE_FONT_POT_NOODLE,
     92 	ANSILOVE_FONT_TOPAZ,
     93 	ANSILOVE_FONT_TOPAZ_PLUS,
     94 	ANSILOVE_FONT_TOPAZ500,
     95 	ANSILOVE_FONT_TOPAZ500_PLUS
     96 };
     97 
     98 #endif /* FONTS_H */