Fonts - project-owner/Peppy.doc GitHub Wiki
The player provides three font types:
- Regular (default) - this font is appropriate for short filenames
- Condensed - this font works better than the regular font in case of long filenames
- Extra Condensed - this is the most condensed font which works the best with long filenames
The font type/name can be changed in the configuration file /home/pi/Peppy/config.txt:
[font]
font.name = FiraSans.ttf
That can be also done using the Configuration Web UI:
Users also can add their own TTF/OTF font by placing it in the folder /home/pi/Peppy/font. After restarting the player all new fonts will be available for selection from the combo-box.
It's also possible to upload font(s) using the Web Configuration UI:
The following table shows how the text labels look like using different font types.
Type | Font Name | Screenshot |
---|---|---|
Regular | FiraSans.ttf | ![]() |
Condensed | FiraSansCondensed-Regular.ttf | ![]() |
Extra Condensed | FiraSansExtraCondensed-Regular.ttf | ![]() |