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.

Screenshot1 Screenshot2

static char *font2[] = { "Inconsolata for Powerline:pixelsize=12:antialias=true:autohint=true" }; Screenshot3 Screenshot4

Download

Changelog

Author