From: Ben Harris Date: Fri, 6 Apr 2018 22:51:56 +0000 (+0100) Subject: Rationalise widths of Bedstead variants. X-Git-Tag: bedstead-002.000~14 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~bjharris/git?a=commitdiff_plain;h=480682f5f8f1849f5770033c39e78676289bf105;p=bedstead-debian.git 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. --- 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 */ }, };