Ben Harris 874a12b047 Put bitmap data and alias target into a union
A character can't both be an alias and have its own bitmap data, so we
may as well overlap them.  Wrapping them in a union doesn't require any
changes to the syntax of the glyphs array because C allows for
incomplete bracketing of initialisers.  Because the union doesn't have a
name, its members can be accessed as though they're members of the
containing struct, which means that accesses to them don't need to
change.

There is a new flag to mark a glyph as an alias since "alias_of == NULL"
no longer works, and a corresponding change to the ALIAS() macro.

This saves about 20K of bedstead's data segment on a 64-bit system,
which is kind of silly but it's satisfying nonetheless.
2024-08-18 14:25:10 +01:00
2024-06-12 22:54:26 +01:00
2022-02-26 23:40:37 +00:00
2022-09-14 09:21:12 +01:00
2024-08-17 00:11:11 +01:00
2024-08-17 00:11:11 +01:00
2024-08-17 00:11:11 +01:00
2024-06-20 00:29:58 +01:00
Description
No description provided
1.5 MiB
Languages
C 79.4%
HTML 6.6%
Python 6.2%
PostScript 4.4%
CSS 1.9%
Other 1.5%