feat: add web CJK font loading and robust cross-platform font detection

This commit is contained in:
Mithril-3d authored and bherbruck committed 2026-10-12 10:06:50 -04:00
1 parent ab72c5ad56
commit 1fee62dd54
8 files changed
+220 -51

No files matched your search

+2 -7
View File
@@ -217,13 +217,8 @@ fn draw(app: &SolveApp, ui: &mut egui::Ui, painter: &egui::Painter, proj: &Proj,
None
};
let sign = match (to_span, &d.kind) {
(Some(span), _) => {
if span < 0.0 {
-1.0
} else {
1.0
}
}
(Some(span), _) if span < 0.0 => -1.0,
(Some(_), _) => 1.0,
(_, Kind::Extrude { direction: 1, .. }) => -1.0,
_ => 1.0,
};