Add rendered examples

This commit is contained in:
Chris van Marle 2022-01-21 16:53:01 +01:00
parent 1e7b5eee67
commit 00142072f4
55 changed files with 174 additions and 8 deletions

BIN
render/DefaultFont.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 411 B

BIN
render/FreeMono12pt7b.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 990 B

BIN
render/FreeMono18pt7b.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
render/FreeMono24pt7b.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

BIN
render/FreeMono9pt7b.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 712 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1020 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 731 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 809 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 775 B

BIN
render/FreeSans12pt7b.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

BIN
render/FreeSans18pt7b.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
render/FreeSans24pt7b.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

BIN
render/FreeSans9pt7b.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 716 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 734 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 832 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 804 B

BIN
render/FreeSerif12pt7b.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 950 B

BIN
render/FreeSerif18pt7b.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
render/FreeSerif24pt7b.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

BIN
render/FreeSerif9pt7b.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 734 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 732 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 815 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 778 B

BIN
render/Org_01.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 327 B

BIN
render/Picopixel.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 296 B

View File

@ -2,14 +2,175 @@
A little tool to render examples of all the fonts included in the Adafruit GFX library.
## Compile
**Compile**:
```
$ make
```
`$ make`
## Run
**Run**:
`$ ./render`
**Update Readme**:
`$ ./update_readme.sh`
## Fonts
### DefaultFont
![DefaultFont](DefaultFont.png)
### FreeMono12pt7b
![FreeMono12pt7b](FreeMono12pt7b.png)
### FreeMono18pt7b
![FreeMono18pt7b](FreeMono18pt7b.png)
### FreeMono24pt7b
![FreeMono24pt7b](FreeMono24pt7b.png)
### FreeMono9pt7b
![FreeMono9pt7b](FreeMono9pt7b.png)
### FreeMonoBold12pt7b
![FreeMonoBold12pt7b](FreeMonoBold12pt7b.png)
### FreeMonoBold18pt7b
![FreeMonoBold18pt7b](FreeMonoBold18pt7b.png)
### FreeMonoBold24pt7b
![FreeMonoBold24pt7b](FreeMonoBold24pt7b.png)
### FreeMonoBold9pt7b
![FreeMonoBold9pt7b](FreeMonoBold9pt7b.png)
### FreeMonoBoldOblique12pt7b
![FreeMonoBoldOblique12pt7b](FreeMonoBoldOblique12pt7b.png)
### FreeMonoBoldOblique18pt7b
![FreeMonoBoldOblique18pt7b](FreeMonoBoldOblique18pt7b.png)
### FreeMonoBoldOblique24pt7b
![FreeMonoBoldOblique24pt7b](FreeMonoBoldOblique24pt7b.png)
### FreeMonoBoldOblique9pt7b
![FreeMonoBoldOblique9pt7b](FreeMonoBoldOblique9pt7b.png)
### FreeMonoOblique12pt7b
![FreeMonoOblique12pt7b](FreeMonoOblique12pt7b.png)
### FreeMonoOblique18pt7b
![FreeMonoOblique18pt7b](FreeMonoOblique18pt7b.png)
### FreeMonoOblique24pt7b
![FreeMonoOblique24pt7b](FreeMonoOblique24pt7b.png)
### FreeMonoOblique9pt7b
![FreeMonoOblique9pt7b](FreeMonoOblique9pt7b.png)
### FreeSans12pt7b
![FreeSans12pt7b](FreeSans12pt7b.png)
### FreeSans18pt7b
![FreeSans18pt7b](FreeSans18pt7b.png)
### FreeSans24pt7b
![FreeSans24pt7b](FreeSans24pt7b.png)
### FreeSans9pt7b
![FreeSans9pt7b](FreeSans9pt7b.png)
### FreeSansBold12pt7b
![FreeSansBold12pt7b](FreeSansBold12pt7b.png)
### FreeSansBold18pt7b
![FreeSansBold18pt7b](FreeSansBold18pt7b.png)
### FreeSansBold24pt7b
![FreeSansBold24pt7b](FreeSansBold24pt7b.png)
### FreeSansBold9pt7b
![FreeSansBold9pt7b](FreeSansBold9pt7b.png)
### FreeSansBoldOblique12pt7b
![FreeSansBoldOblique12pt7b](FreeSansBoldOblique12pt7b.png)
### FreeSansBoldOblique18pt7b
![FreeSansBoldOblique18pt7b](FreeSansBoldOblique18pt7b.png)
### FreeSansBoldOblique24pt7b
![FreeSansBoldOblique24pt7b](FreeSansBoldOblique24pt7b.png)
### FreeSansBoldOblique9pt7b
![FreeSansBoldOblique9pt7b](FreeSansBoldOblique9pt7b.png)
### FreeSansOblique12pt7b
![FreeSansOblique12pt7b](FreeSansOblique12pt7b.png)
### FreeSansOblique18pt7b
![FreeSansOblique18pt7b](FreeSansOblique18pt7b.png)
### FreeSansOblique24pt7b
![FreeSansOblique24pt7b](FreeSansOblique24pt7b.png)
### FreeSansOblique9pt7b
![FreeSansOblique9pt7b](FreeSansOblique9pt7b.png)
### FreeSerif12pt7b
![FreeSerif12pt7b](FreeSerif12pt7b.png)
### FreeSerif18pt7b
![FreeSerif18pt7b](FreeSerif18pt7b.png)
### FreeSerif24pt7b
![FreeSerif24pt7b](FreeSerif24pt7b.png)
### FreeSerif9pt7b
![FreeSerif9pt7b](FreeSerif9pt7b.png)
### FreeSerifBold12pt7b
![FreeSerifBold12pt7b](FreeSerifBold12pt7b.png)
### FreeSerifBold18pt7b
![FreeSerifBold18pt7b](FreeSerifBold18pt7b.png)
### FreeSerifBold24pt7b
![FreeSerifBold24pt7b](FreeSerifBold24pt7b.png)
### FreeSerifBold9pt7b
![FreeSerifBold9pt7b](FreeSerifBold9pt7b.png)
### FreeSerifBoldItalic12pt7b
![FreeSerifBoldItalic12pt7b](FreeSerifBoldItalic12pt7b.png)
### FreeSerifBoldItalic18pt7b
![FreeSerifBoldItalic18pt7b](FreeSerifBoldItalic18pt7b.png)
### FreeSerifBoldItalic24pt7b
![FreeSerifBoldItalic24pt7b](FreeSerifBoldItalic24pt7b.png)
### FreeSerifBoldItalic9pt7b
![FreeSerifBoldItalic9pt7b](FreeSerifBoldItalic9pt7b.png)
### FreeSerifItalic12pt7b
![FreeSerifItalic12pt7b](FreeSerifItalic12pt7b.png)
### FreeSerifItalic18pt7b
![FreeSerifItalic18pt7b](FreeSerifItalic18pt7b.png)
### FreeSerifItalic24pt7b
![FreeSerifItalic24pt7b](FreeSerifItalic24pt7b.png)
### FreeSerifItalic9pt7b
![FreeSerifItalic9pt7b](FreeSerifItalic9pt7b.png)
### Org_01
![Org_01](Org_01.png)
### Picopixel
![Picopixel](Picopixel.png)
### Tiny3x3a2pt7b
![Tiny3x3a2pt7b](Tiny3x3a2pt7b.png)
### TomThumb
![TomThumb](TomThumb.png)
```
$ ./render
```

BIN
render/Tiny3x3a2pt7b.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 242 B

BIN
render/TomThumb.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 294 B

5
render/update_readme.sh Executable file
View File

@ -0,0 +1,5 @@
sed -i -n '0,/## Fonts/p' README.md
for FILE in *.png; do
NAME=${FILE%.*};
echo -e "### $NAME\n![$NAME]($FILE)\n";
done >> README.md