chiark / gitweb /
Correct cap height in font headers
authorBen Harris <bjh21@bjh21.me.uk>
Sat, 16 Nov 2024 02:00:44 +0000 (02:00 +0000)
committerBen Harris <bjh21@bjh21.me.uk>
Sat, 16 Nov 2024 11:53:04 +0000 (11:53 +0000)
bedstead.c

index 3d3cc9ccf8554a489262473d5c456279cb5e1941..e7f0aaab40c5dc4f998407076955aeb2f8393c96 100644 (file)
 #define ASCENT 8
 #define DESCENT 2
 #define XHEIGHT 5
-#define CAPHEIGHT ASCENT
+#define CAPHEIGHT (ASCENT-1)
 
 /*
  * Design parameters.  These can vary between fonts in the Bedstead family.