diff options
author | Eric Pruitt <eric.pruitt@gmail.com> | 2013-08-05 11:33:37 +0200 |
---|---|---|
committer | Roberto E. Vargas Caballero <k0ga@shike2.com> | 2013-08-05 11:44:18 +0200 |
commit | 7e3cff33ffbd69a112fa4071a9f0ed2dc93bfc57 (patch) | |
tree | 876e81589ea355f2822d87dc3277b1d664fe9631 /config.def.h | |
parent | aaee0e8b28a353c215b6d1c8fc06d20038d7b426 (diff) | |
download | st-7e3cff33ffbd69a112fa4071a9f0ed2dc93bfc57.tar.gz st-7e3cff33ffbd69a112fa4071a9f0ed2dc93bfc57.zip |
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.h | 4 |
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 | |||
9 | static int borderpx = 2; | 9 | static int borderpx = 2; |
10 | static char shell[] = "/bin/sh"; | 10 | static char shell[] = "/bin/sh"; |
11 | 11 | ||
12 | /* Kerning / character bounding-box mutlipliers */ | ||
13 | float cwscale = 1.0; | ||
14 | float chscale = 1.0; | ||
15 | |||
12 | /* | 16 | /* |
13 | * word delimiter string | 17 | * word delimiter string |
14 | * | 18 | * |