chiark / gitweb /
Rationalise widths of Bedstead variants.
authorBen Harris <bjh21@bjh21.me.uk>
Fri, 6 Apr 2018 22:51:56 +0000 (23:51 +0100)
committerBen Harris <bjh21@bjh21.me.uk>
Fri, 6 Apr 2018 22:51:56 +0000 (23:51 +0100)
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

index 4e7f6435cdc6124acfdf6dfeda4405c2afacf0e7..d884a1b7c6b8617fb07dd7af22ebb975f5c8999c 100644 (file)
@@ -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 */
        },
 };