Commit graph

9 commits

Author SHA1 Message Date
Christophe de Dinechin
60236d8fc5 font: Fix v glyph vertical placement, add dot and cross glyphs
Fix the vertical bearing of the `v` glyph so that it does not appear
to be one pixel above the others.

Also add glyphs for

* dot-product (`⋅`, U8901)
* cross-product (`⨯`, 10799)

These can be used to refer to the `CROSS` and `DOT` commands.

Fixes: #1117

Signed-off-by: Christophe de Dinechin <christophe@dinechin.org>
2024-08-31 17:19:56 +02:00
Christophe de Dinechin
7234b918c5 help: Adjust help area to new height for menus
The menus are now 3 pixels higher than before.
Adjust the help display area to match.

Fixes: #1026

Signed-off-by: Christophe de Dinechin <christophe@dinechin.org>
2024-07-20 00:55:27 +02:00
Christophe de Dinechin
378aa9111a wasm: Add link to deployed WASM simulator in the README
Add link to [pre-built WASM simulator](https://c3d.github.io/db48x)
to make it easy for someone to actually try the simulator.

Fixes: #994

Signed-off-by: Christophe de Dinechin <christophe@dinechin.org>
2024-06-28 01:33:03 +02:00
Christophe de Dinechin
e57c310ccd menus: Adjust size of menus to make descenders visible
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>
2024-05-15 18:57:28 +02:00
Christophe de Dinechin
6218993e11 variables: Store and recall BMP files
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>
2024-04-08 21:28:15 +02:00
Christophe de Dinechin
e33a9accff tests: Change the height of ignored header
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>
2024-04-08 21:28:15 +02:00
Christophe de Dinechin
7bcf3de37c stack: Do not save stack in plot, integration or solver
Make sure that `Undo` and `LastArg` work correctly for plotting
functions, integration and solver.

Signed-off-by: Christophe de Dinechin <christophe@dinechin.org>
2024-03-08 16:24:53 +01:00
Christophe de Dinechin
2782e32e42 expressions: Graphics rendering
Graphics rendering of expressions

Fixes: #47

Signed-off-by: Christophe de Dinechin <christophe@dinechin.org>
2024-03-02 01:11:00 +01:00
Christophe de Dinechin
969c5325a3 tests: Add tests for on-line help
Add tests for the various on-line help features.

Fixes: #791

Signed-off-by: Christophe de Dinechin <christophe@dinechin.org>
2024-01-21 23:28:30 +01:00