summaryrefslogtreecommitdiff
path: root/src/log.c
diff options
context:
space:
mode:
authorPhil Jones <philj56@gmail.com>2021-11-03 01:22:20 +0000
committerPhil Jones <philj56@gmail.com>2021-11-03 01:22:20 +0000
commitfb0e358feccc45c7cd642e346d07f4f7f21b484b (patch)
treeecac26391504b5b9e1e24978877fc446cd6e7c27 /src/log.c
parentc7eaec357376533a77195d355cc4711d46177121 (diff)
Don't use Pango by default.
Initialising Pango makes up a large portion of the startup time, and we can achieve neater rendering with pure Cairo if we're just drawing circles anyway. Therefore, this commit avoids loading Pango if no options which require it are specified (such as --font-name or --password-character). This reduces startup time with no background image to ~40ms on my machine (2015 MacBook Pro).
Diffstat (limited to 'src/log.c')
0 files changed, 0 insertions, 0 deletions