Skip to content

DesignCraft: An open-source page and layout design editor written by scratch in pure Rust

Merge mac-font-activation: macOS fonts that font services and managers activate are listed (#261, #327)

aiongg5e51392ac440
diff --cc ROADMAP.md
index 42d50ffeb,20f027307..3da74a5a6
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@@ -129,10 -129,8 +129,12 @@@ list) · [roadmap.md](docs/roadmap.md)
Newest first.
+- **2026-10-11** · New Document laid out like InDesign's (#325): Recent, Saved, Print, Web and
+ Mobile preset tabs beside the preset's details; saved document presets live in the engine
+ (`file.savePreset`, `file.deletePreset`, `file.new {preset}`); `file.new` takes intent, units,
+ start page and per-edge bleed and slug.
+ - **2026-10-11** · macOS: fonts that font services and managers activate (Adobe Fonts,
+ RightFont) are listed, read from the files CoreText has available (#261, #327).
- **2026-10-10** · Version 0.6.0; releases add a Linux riscv64 tar.gz (cross-compiled, CLI
smoke-tested under QEMU).
- **2026-10-10** · Readiness per audience: full ~47% (method aligned with the standard, was
diff --cc crates/fonts/src/fontdb.rs
index 27ea888cb,20108e30f..a0ff064be
--- a/crates/fonts/src/fontdb.rs
+++ b/crates/fonts/src/fontdb.rs
@@@ -1070,15 -956,9 +1102,16 @@@ impl FontDb
if !matches!(ext.as_deref(), Some("ttf" | "otf" | "ttc" | "otc")) {
continue;
}
+ scanned.insert(std::fs::canonicalize(&p).unwrap_or_else(|_| p.clone()));
for f in file_face_names(&p) {
- found.push(CatalogEntry { family: f.family, style: f.style, path: p.clone(), group: f.group, native: f.native });
+ found.push(CatalogEntry {
+ family: f.family,
+ style: f.style,
+ path: p.clone(),
+ group: f.group,
+ native: f.native,
+ aliases: f.aliases,
+ });
}
}
}