terminal tab path autocomplete, docs, different int size fix?

This commit is contained in:
stjet
2025-03-13 08:04:03 +00:00
parent 8c0b85ae9f
commit 1d4a284ae9
4 changed files with 49 additions and 7 deletions

View File

@@ -92,7 +92,7 @@ As windows are mostly just like other window-likes, they can be compiled in as p
As apps are just any old binary that support the IPC that `proxy_window_like.rs` does, they can be written in any language, and be completely separate from this project. Of course, if they are not written in Rust, extra code is needed to do that IPC.
//but what apps can be opened are currently hardcoded in start menu and the window manager
Binaries in the same directory as the window manager binary and following a specific name format are automatically added to the start menu. See `docs/system/writing_windows.md` for more information.
Some of the apps included are Malvim, the subset of vim (a text editor) I use, Minesweeper, and an Audio Player.

9
docs/system/fonts.md Normal file
View File

@@ -0,0 +1,9 @@
The build script (`build.rs`) takes the font char BMP (must have an alpha channel and transparent background) files in `bmps` and processes them into `.alpha` files which are read by the window manager to draw characters from a specific font. The `.alpha` files are very simple. They include the vertical offset of the character (the second character in the BMP file name), as well as several lines of CSV, where each value is either blank (0) or a value from 0-255 representing the alpha value of that pixel in the original BMP file.
The default included fonts are `nimbus-roman`, `nimbus-romono` (a version of `nimbus-roman` slightly modified to be better for monospace environments), and `shippori-mincho` for Japanese (and technically Chinese).
License information for those fonts can be font in the `README.md` at the project root.
Custom fonts can be added, though to get the window manager and window binaries to use the font, the source needs to be modified and recompiled.
Fonts must have a `?` char, which will be used when characters that are not defined in the font are encountered.