FabGL
ESP32 Display Controller and Graphics Library
fabfonts.h
1/*
2 Created by Fabrizio Di Vittorio (fdivitto2013@gmail.com) - <http://www.fabgl.com>
3 Copyright (c) 2019-2022 Fabrizio Di Vittorio.
4 All rights reserved.
5
6
7* Please contact fdivitto2013@gmail.com if you need a commercial license.
8
9
10* This library and related software is available under GPL v3.
11
12 FabGL is free software: you can redistribute it and/or modify
13 it under the terms of the GNU General Public License as published by
14 the Free Software Foundation, either version 3 of the License, or
15 (at your option) any later version.
16
17 FabGL is distributed in the hope that it will be useful,
18 but WITHOUT ANY WARRANTY; without even the implied warranty of
19 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 GNU General Public License for more details.
21
22 You should have received a copy of the GNU General Public License
23 along with FabGL. If not, see <http://www.gnu.org/licenses/>.
24 */
25
26
27
28#pragma once
29
30
31#include "fabutils.h"
32#include "fabglconf.h"
33
34
35// Embedded fonts
36
37// fixed width
38#include "fonts/font_4x6.h"
39#include "fonts/font_5x7.h"
40#include "fonts/font_5x8.h"
41#include "fonts/font_6x8.h"
42#include "fonts/font_6x9.h"
43#include "fonts/font_6x10.h"
44#include "fonts/font_6x12.h"
45#include "fonts/font_6x13.h"
46#include "fonts/font_7x13.h"
47#include "fonts/font_7x14.h"
48#include "fonts/font_8x13.h"
49#include "fonts/font_8x8.h"
50#include "fonts/font_8x9.h"
51#include "fonts/font_8x14.h"
52#include "fonts/font_8x16.h"
53#include "fonts/font_8x19.h"
54#include "fonts/font_9x15.h"
55#include "fonts/font_9x18.h"
56#include "fonts/font_10x20.h"
57
58#include "fonts/font_slant_8x14.h"
59#include "fonts/font_sanserif_8x16.h"
60#include "fonts/font_sanserif_8x14.h"
61#include "fonts/font_lcd_8x14.h"
62#include "fonts/font_courier_8x14.h"
63#include "fonts/font_computer_8x14.h"
64#include "fonts/font_bigserif_8x14.h"
65#include "fonts/font_bigserif_8x16.h"
66#include "fonts/font_block_8x14.h"
67#include "fonts/font_broadway_8x14.h"
68#include "fonts/font_oldengl_8x16.h"
69#include "fonts/font_wiggly_8x16.h"
70
71
72
73// variable width
74#include "fonts/font_std_12.h"
75#include "fonts/font_std_14.h"
76#include "fonts/font_std_15.h"
77#include "fonts/font_std_16.h"
78#include "fonts/font_std_17.h"
79#include "fonts/font_std_18.h"
80#include "fonts/font_std_22.h"
81#include "fonts/font_std_24.h"
82
83
84namespace fabgl {
85
86
87
100FontInfo const * getPresetFontInfo(int viewPortWidth, int viewPortHeight, int columns, int rows);
101
102
111FontInfo const * getPresetFontInfoFromHeight(int height, bool fixedWidth);
112
113
122FontInfo const * getPresetFixedFont(int width, int height);
123
124
125};
uint8_t width
uint8_t height
This file contains FabGL library configuration settings, like number of supported colors,...
This file contains some utility classes and functions.