You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TinyFont is a font/text package for [TinyGo](https://tinygo.org/) displays. It is heavily based on[Adafruit's GFX library](https://github.com/adafruit/Adafruit-GFX-Library).
6
+
TinyFont is a font/text package for [TinyGo](https://tinygo.org/) displays. It is heavily influenced by[Adafruit's GFX library](https://github.com/adafruit/Adafruit-GFX-Library).
7
7
8
8

9
9

10
10
11
11
12
-
This package is experimental and may change in the future. It has not been optimized for speed or memory..
12
+
This package is experimental and may change in the future. It has not been optimized for speed or memory.
13
13
14
-
## Faster compilation
15
-
During compilation, tinygo will go through all the font files in a package and them discard them if not used. To improve compilation time considerably, move the files you are going to use to a new package.
14
+
## Current Fonts
15
+
16
+
### freemono
17
+
18
+

19
+
20
+
A monospaced serif font from the GNU FreeFont project. Available in regular, bold, oblique, and bold oblique styles at 9, 12, 18, and 24pt. Licensed under GPL v3.
21
+
22
+
### freesans
23
+
24
+

25
+
26
+
A sans-serif font from the GNU FreeFont project. Available in regular, bold, oblique, and bold oblique styles at 9, 12, 18, and 24pt. Licensed under GPL v3.
27
+
28
+
### freeserif
29
+
30
+

31
+
32
+
A proportional serif font from the GNU FreeFont project. Available in regular, bold, italic, and bold italic styles at 9, 12, 18, and 24pt. Licensed under GPL v3.
33
+
34
+
### gophers
35
+
36
+

37
+
38
+
A decorative font featuring Go gopher-themed glyphs, created by @rakyll. Available at 14, 18, 22, 32, 58, and 121pt. Licensed under CC BY-NC 4.0.
39
+
40
+
### notoemoji
41
+
42
+

43
+
44
+
Google's Noto Emoji font, providing a wide range of emoji glyphs. Available at 12, 16, and 20pt. Licensed under SIL Open Font License.
45
+
46
+
### notosans
47
+
48
+

49
+
50
+
Google's Noto Sans font, designed to support text in all languages with a clean sans-serif appearance. Available at 12pt. Licensed under SIL Open Font License.
51
+
52
+
### proggy
53
+
54
+

55
+
56
+
The classic Proggy programming font, a pixel-perfect monospaced bitmap font well suited for small displays. Available at 8pt.
57
+
58
+
### shnm
59
+
60
+

61
+
62
+
The Shinonome (東雲) bitmap font family, a Japanese BDF bitmap font supporting Latin and JIS character sets. Available at 12pt. Licensed under a permissive open license from The Electronic Font Open Laboratory.
63
+
64
+
### org_01
65
+
66
+

67
+
68
+
Org_v01 by Orgdot. A tiny, stylized font with all characters fitting within a 6-pixel height.
69
+
70
+
### picopixel
71
+
72
+

73
+
74
+
Picopixel by Sébastien Matos. A tiny pixel font with all characters fitting within a 6-pixel height.
"Tiny3x3a" from FontStruct by Michaelangel007. An extremely compact 3×3 pixel font. Licensed under CC BY-NC-SA 3.0.
81
+
82
+
### tomthumb
83
+
84
+

85
+
86
+
Tom Thumb, a 3×5 pixel monospaced bitmap font originally by Brian J. Swetland. One of the smallest legible fonts available. Licensed under the BSD 3-Clause License.
16
87
17
88
## About the fonts
89
+
18
90
The fonts compiled here were just converted or made compatible, and the original authors should be given proper credit. Each font is under its own license, and while most of them are under an _open license_, there might be differences in its usage and conditions.
19
91
20
92
## Generate your own font
@@ -24,6 +96,10 @@ You can use tinyfontgen to generate a tinyfont from a bdf/ttf font.
During compilation, tinygo will go through all the font files in a package and them discard them if not used. To improve compilation time considerably, move the files you are going to use to a new package.
102
+
27
103
## Incompatibility warning
28
104
29
105
This package contains incompatible changes from [previous versions](https://github.com/tinygo-org/tinyfont/commit/a02e4495f8d64b671d923ec009e17c9da9e3e7f5).
0 commit comments