summaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorZacchary Dempsey-Plante <zacc@ztdp.ca>2022-03-11 01:33:05 -0500
committerMarcelo Lira <setanta@gmail.com>2025-03-03 16:12:29 -0300
commitbdc1ada2776216de5eb4a954a5898298fdd6d3a0 (patch)
treec886085339a603014559b9da2aeb2a25326c6e64 /config.def.h
parent050e0bef8e571a571684a12c4c86364c637c12d7 (diff)
Added character rendering offsets for correcting different font dimensions.
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index 92facb0..b721502 100644
--- a/config.def.h
+++ b/config.def.h
@@ -35,6 +35,9 @@ char *vtiden = "\033[?6c";
/* Kerning / character bounding-box multipliers */
static float cwscale = 1.0;
static float chscale = 1.0;
+/* Character rendering offsets in pixels */
+static short cxoffset = 0;
+static short cyoffset = 0;
/*
* word delimiter string