Debian Codegraph @

src/gui/fonts.cpp

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 #include "fonts.h"
24
25 const unsigned char* builtinFont[]={
26 font_plexSans_compressed_data,
27 font_liberationSans_compressed_data,
28 font_exo_compressed_data,
29 font_proggyClean_compressed_data,
30 font_unifont_compressed_data
31 };
32
33 const unsigned int builtinFontLen[]={
34 font_plexSans_compressed_size,
35 font_liberationSans_compressed_size,
36 font_exo_compressed_size,
37 font_proggyClean_compressed_size,
38 font_unifont_compressed_size
39 };
40
41 const unsigned char* builtinFontM[]={
42 font_plexMono_compressed_data,
43 font_mononoki_compressed_data,
44 font_ptMono_compressed_data,
45 font_proggyClean_compressed_data,
46 font_unifont_compressed_data
47 };
48
49 const unsigned int builtinFontMLen[]={
50 font_plexMono_compressed_size,
51 font_mononoki_compressed_size,
52 font_ptMono_compressed_size,
53 font_proggyClean_compressed_size,
54 font_unifont_compressed_size
55 };