Descenders in softkey menus were not really visible. This meant that a
unit like `kg` would be visually equivalent to `kq`.
This adjusts the size of menus by one pixel to make it visible, and
extends the clipping area by another pixel, which gives two extra
pixels when drawing in white on a black background.
This is not visually perfect, because as a result, menu entries
without a descender, e.g. 'mol' now appear to be a bit shifted up.
Fixes: #939
Signed-off-by: Christophe de Dinechin <christophe@dinechin.org>
Store files and objects as BMP files.
Recall BMP files as graphical objects.
Also adjust `Show` to not add a border to input graphical objects.
Fixes: #867
Signed-off-by: Christophe de Dinechin <christophe@dinechin.org>
We need to ignore a few additional rows of pixels at the top,
otherwise the test images depend on the month name, e.g. "April",
which has a descender for "p", modifies pixesl at the top.
Fixes: #873
Signed-off-by: Christophe de Dinechin <christophe@dinechin.org>
Make sure that `Undo` and `LastArg` work correctly for plotting
functions, integration and solver.
Signed-off-by: Christophe de Dinechin <christophe@dinechin.org>