font2
Description
This patch allows to add spare font besides default. Some glyphs can be
not present in default font. For this glyphs st uses font-config and try
to find them in font cache first. This patch append fonts defined in
font2 variable to the beginning of font cache. So they will be used
first for glyphs that absent in default font.
Example
static char *font = "Bitstream Vera Sans Mono:pixelsize=11:antialias=true:autohint=true";
without patch.
static char *font2[] = {
"Inconsolata for Powerline:pixelsize=12:antialias=true:autohint=true"
};

Download
The patches above do not support using bitmap spare fonts. If you want to use bitmap fonts for spare fonts, use the following patch instead which solves the issue:
Changelog
- multiple fonts support
- size of spare fonts changes according to size of default font
- fonts loading procedure fixed
- added support for bitmap fonts
Author
- Kirill Bugaev kirill.bugaev87@gmail.com
- Rizqi Nur Assyaufi bandithijo@gmail.com (0.8.5 port)

