options: fonts and plot styles can live in a chosen folder

Options > Files lets the fonts and plot style folders move elsewhere,
such as a share a whole team uses (Change... / Default). Fonts are then
looked up and downloaded there, and plot style tables listed and saved
there; the choice is kept in the profile.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Hakan SevenandClaude Opus 5.5 committed 2026-10-15 01:48:05 +03:00
1 parent e9a2b9d196
commit 686fb71780
8 files changed
+147 -15

No files matched your search

+5
View File
@@ -443,6 +443,9 @@ pub struct UserSettings {
pub file_dia: bool,
/// TRIMEXTENDMODE: TRIM and EXTEND start in Quick mode (else Standard).
pub trim_extend_quick: bool,
/// Fonts and plot styles kept in a chosen folder (`None`: the default).
pub fonts_folder: Option<String>,
pub plot_styles_folder: Option<String>,
/// The file type ATTACH's picker was last left on (1-based).
pub attach_filter: u32,
/// SURFACEASSOCIATIVITY: new surfaces stay associative to their sources.
@@ -918,6 +921,8 @@ impl Default for UserSettings {
xref_fade: 50,
file_dia: true,
trim_extend_quick: true,
fonts_folder: None,
plot_styles_folder: None,
attach_filter: 7,
surface_associativity: true,
ucs_ortho: true,