aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorEric Pruitt <eric.pruitt@gmail.com>2013-08-05 11:33:37 +0200
committerRoberto E. Vargas Caballero <k0ga@shike2.com>2013-08-05 11:44:18 +0200
commit7e3cff33ffbd69a112fa4071a9f0ed2dc93bfc57 (patch)
tree876e81589ea355f2822d87dc3277b1d664fe9631 /config.def.h
parentaaee0e8b28a353c215b6d1c8fc06d20038d7b426 (diff)
downloadst-7e3cff33ffbd69a112fa4071a9f0ed2dc93bfc57.tar.gz
st-7e3cff33ffbd69a112fa4071a9f0ed2dc93bfc57.tar.bz2
Use character size scaling factors
The bounding boxes for characters can be scaled using "cwscale" and "chscale" to scale the width and height respectively.
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index 9a3d2c8..8cb8804 100644
--- a/config.def.h
+++ b/config.def.h
@@ -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
*