From 480682f5f8f1849f5770033c39e78676289bf105 Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Fri, 6 Apr 2018 23:51:56 +0100 Subject: [PATCH] Rationalise widths of Bedstead variants. They are all now sensible fractions of the standard width. Extra Condensed has changed from 62/100 to 5/8. Condensed has changed from 76/100 to 3/4. Semi Condensed has changed from 88/100 to 7/8. Extended has changed from 124/100 to 5/4. This makes rather a lot of dimensions non-integer, but the only significant ones are the "palt" width adjustments, and I think that's an acceptable tradeoff for making the standard widths more sensible. --- bedstead.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bedstead.c b/bedstead.c index 4e7f643..d884a1b 100644 --- a/bedstead.c +++ b/bedstead.c @@ -148,25 +148,25 @@ static struct width { { "--extra-condensed", " Extra Condensed", - 62, /* xpix */ + 62.5, /* xpix */ 2, /* ttfwidth */ }, { "--condensed", " Condensed", - 76, /* xpix */ + 75, /* xpix */ 3, /* ttfwidth */ }, { "--semi-condensed", " Semi Condensed", - 88, /* xpix */ + 87.5, /* xpix */ 4, /* ttfwidth */ }, { "--extended", " Extended", - 124, /* xpix */ + 125, /* xpix */ 7, /* ttfwidth */ }, }; -- 2.30.2