and fix some other issues, to make the layouts more consistent.
The aspect-ratios of the layouts,
should now match the intended aspect-ratios (12:7 and 16:5),
with 3 decimal-digits of precision; either exactly,
or rounded to be a little more square,
so that the entire height of the panel will be used.
Adding 0.001 to `width` in the `default`-outlines of the layouts,
would make the layouts a little wider than the intended aspect-ratio.
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/691>
An input-device should generally not change shape/functionality during use,
unless there is a good reason for that and it is clearly indicated
when that happens, as otherwise it will be more complicated
and exhausting to use, and learn to use, the input-device.
To improve that, this commit will:
- Make it so that the space-bar, view-switching buttons, backspace-button,
and return-button will not move around when switching views.
- Add placeholder-buttons and/or stretch buttons to fill gaps.
- Remove buttons that are duplicated in the same view.
- Add buttons for entering commas, on the base-views of some layouts.
- Make the shape of layouts fit into a rectangular space; usually
without empty space.
- Align layouts more closely to the expected aspect-ratios, to reduce
changes when switching between languages, and use more of the available
space.
Other changes:
- `.`-buttons are generally not highlighted anymore.
- On the layouts `gr` and `gr+polytonic`, the highlighting for punctuation
has been switched to `subtle-highlight` from `special`, so those can be
visually distinguished from buttons with special functionality.
- The Spanish characters `ñ` and `Ñ` on the `French (Swiss)`-layout (ch+fr)
were making the layout wider than it should be.
As there was no other appropriate place for those buttons,
and the layout is meant for entering French, not Spanish,
those buttons have been removed from the layout.
Some layouts have been changed much:
- gr+polytonic (which requires more work, but it is much more usable now)
- ir
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/646>
Currently this differs for the same view-change-keys in different layouts.
When the text is "abc", the size of the key's text changes
when toggling between "123" and "abc"; with the text "ABC",
the size remains about the same.
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/611>
Two variants:
* Czech Standard (= qwertz)
* Czech qwerty
The accented letters layout corresponds to the UCW [1] layout shipped
with xkb, so we follow this precedent.
Like the DE layout, and unlike the US layout, the CZ layout has a
comma key and a narrower space bar. The added comma key also serves as
a visual balance to the added accents key, to keep the spacebar
centered.
The layouts have been tested manually on PinePhone.
[1] c60b77ea51/test/data/symbols/cz (L180)