xous-core/libs/blitstr2/src
bunnie 9434bb5383 style_macro is how fonts are added to bao1x
By adding a resolver to a given glyph set, the glyph set is
automatically pulled into the image.

Glyph set is now co-located in the bao-video process, instead
of the loader.

The orignial argument for putting the font data in the loader
is that it's a large, static blob; by putting it in the loader,
updates can be more compact, and fonts don't need to be schlepped
over every time you have an application update.

This came with consequences. It made verifying the loader more
complicated (because its memory space is split between the graphics
manager and root keys). It also means we have to fix the partition
size for the loader at "fairly large" for fonts, even if we don't
need all of them in all of the configs.

With baochip, we have swap memory! Off-chip memory is cheap and
only the fonts actually used by the host get mapped into main memory.
This means we don't have as much of a trade-off in terms of
cost for fonts if we put them in off-chip swap storage. Also,
the updates are split between swap and main memory, and the roadmap
includes an item for swap to be individually loadable programs
so that if the video server doesn't need an update, it won't be
pulled into the update set.
2025-09-25 16:08:36 +08:00
..
fonts genearted artifacts corresponding to template update 2025-09-25 16:08:06 +08:00
platform FLAG DAY: fix all names to harmonize around 'bao1x' 2025-09-18 21:25:51 +08:00
blit.rs only set dirty bits for precursor-like targets 2025-05-23 10:52:55 +08:00
cliprect.rs move blitstr2 to its own library 2025-02-17 18:24:39 +08:00
fontmap.rs cleand up fontmap 2025-09-25 16:08:27 +08:00
fonts.rs move blitstr2 to its own library 2025-02-17 18:24:39 +08:00
glyphstyle.rs move blitstr2 to its own library 2025-02-17 18:24:39 +08:00
lib.rs move blitstr2 to its own library 2025-02-17 18:24:39 +08:00
m3hash.rs move blitstr2 to its own library 2025-02-17 18:24:39 +08:00
pt.rs move blitstr2 to its own library 2025-02-17 18:24:39 +08:00
style_macros.rs style_macro is how fonts are added to bao1x 2025-09-25 16:08:36 +08:00