7f3c430e4bcc2e127db33155ab8deceb5fe9c8ae
Mirror of C5: a wildcard XLFD pattern can match a two-byte font first (e.g. a JIS fixed font at size 16, which has no misc twin) and XDrawString with 1-byte Latin text draws nothing with such a font. The designer now lists every match per candidate pattern (new X11::list_fonts) and takes the first single-byte font (new X11::font_is_single_byte, min_byte1 == max_byte1 == 0); the emitted lightgui_pick_font helper gets the identical fix. Fixture 03_all_props regenerated from the C generator.
lightgui_rust — LightGUI ported to Rust
Rust port of LightGUI
(HEAD eb0b5fc): an XFrame-native form designer with 547 XFrame widgets.
See PORTING_PLAN.md for the survey and module map.
Workspace
| Crate | C++ source | Status |
|---|---|---|
crates/lightgui-core |
src/model.h, src/props.h, src/events.h, src/project_io.cpp, canonicalize() in src/main.cpp |
done |
crates/lightgui-gen |
src/generator.cpp / src/generator.h (emits C++/XFrame, byte-identical) |
done |
crates/lightgui-debug |
src/debugger.cpp / src/debugger.h (GDB/MI) |
in progress |
crates/lightgui-support |
data extraction (registry, palette, indicators) | in progress |
probe/ is the step-0 crates.io probe (standalone, excluded from the
workspace). data/ / tools/ are generated data + extraction tooling.
Build / test
cargo test # workspace; rustc/cargo are login-shell-only: use `bash -lc`
cargo build # must be warning-free (the C++ build was zero-warning)
Rust 1.100.1 stable, GTK 3.24 (gtk-rs 0.18), serde/serde_json 1.0.
Languages
Rust
92.6%
Python
6.6%
Shell
0.5%
C++
0.2%
Makefile
0.1%