Use character size scaling factors

The bounding boxes for characters can be scaled using "cwscale" and "chscale"
to scale the width and height respectively.
This commit is contained in:
Eric Pruitt
2013-08-05 11:33:37 +02:00
committed by Roberto E. Vargas Caballero
parent aaee0e8b28
commit 7e3cff33ff
3 changed files with 17 additions and 8 deletions

View File

@ -9,6 +9,10 @@ static char font[] = "Liberation Mono:pixelsize=12:antialias=false:autohint=fals
static int borderpx = 2;
static char shell[] = "/bin/sh";
/* Kerning / character bounding-box mutlipliers */
float cwscale = 1.0;
float chscale = 1.0;
/*
* word delimiter string
*