Package: x11-xkb-utils
Version: 7.5+5
Severity: normal

When generating .xkb source-style output, xkbcomp incorrectly serialises
negative fractional dimensions in the keyboard geometry.  Negative
integer dimensions (as seen in the "kinesis" geometry file) are fine.
For example:

$ cat t0.xkb
xkb_keymap {
xkb_keycodes "evdev" { include "evdev" };
xkb_types "complete" { include "complete" };
xkb_compatibility "complete" { include "complete" };
xkb_symbols "us" { include "us" };
xkb_geometry "test" {
    width = 100;
    height = 100;
    shape "K" { { [  20,  20 ] } };
    section "a" {
        top = 50;
        left = 50;
        row {
            top = -3.6;
            left = -3;
            keys { { <ESC>, "K" } };
        };
    };
};
};
$ xkbcomp -w0 t0.xkb t0.xkm
$ xkbcomp t0.xkm t1.xkb
$ sed -n '1,/geometry/d;/= *-/p' t1.xkb
            top=  -3.-5;
            left= -3;

-zefram



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to