Debian Codegraph @

src/gui/fonts.h

raw
1 /**
2 * Furnace Tracker - multi-system chiptune tracker
3 * Copyright (C) 2021-2025 tildearrow and contributors
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License along
16 * with this program; if not, write to the Free Software Foundation, Inc.,
17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * this license only applies to the code. for the license of each font used,
20 * see `papers/`.
21 */
22
23 #ifndef _FONTS_H
24 #define _FONTS_H
25 extern const unsigned int font_exo_compressed_size;
26 extern const unsigned char font_exo_compressed_data[];
27 extern const unsigned int font_liberationSans_compressed_size;
28 extern const unsigned char font_liberationSans_compressed_data[];
29 extern const unsigned int font_mononoki_compressed_size;
30 extern const unsigned char font_mononoki_compressed_data[];
31 extern const unsigned int font_plexSans_compressed_size;
32 extern const unsigned char font_plexSans_compressed_data[];
33 extern const unsigned int font_plexSansJP_compressed_size;
34 extern const unsigned char font_plexSansJP_compressed_data[];
35 extern const unsigned int font_plexSansKR_compressed_size;
36 extern const unsigned char font_plexSansKR_compressed_data[];
37 extern const unsigned int font_plexMono_compressed_size;
38 extern const unsigned char font_plexMono_compressed_data[];
39 extern const unsigned int font_proggyClean_compressed_size;
40 extern const unsigned char font_proggyClean_compressed_data[];
41 extern const unsigned int font_ptMono_compressed_size;
42 extern const unsigned char font_ptMono_compressed_data[];
43 extern const unsigned int font_unifont_compressed_size;
44 extern const unsigned char font_unifont_compressed_data[];
45 extern const unsigned int iconFont_compressed_size;
46 extern const unsigned char iconFont_compressed_data[];
47 extern const unsigned int furIcons_compressed_size;
48 extern const unsigned char furIcons_compressed_data[];
49
50 extern const unsigned char* builtinFont[];
51 extern const unsigned int builtinFontLen[];
52 extern const unsigned char* builtinFontM[];
53 extern const unsigned int builtinFontMLen[];
54 #endif
55
56 // "(Glimmer of hope: the atlas system will be rewritten in the future to make scaling more flexible.)""
57 // not just that. somebody rewrite it already so I can load these glyphs at run-time and support
58 // all languages at once, instead of having to load Unifont's 65k+ characters and blow the GPU up in the
59 // process!