diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-09-30 22:46:03 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-09-30 22:50:14 +0200 |
| commit | 2818ceee44a523308d83643b8d2f921b4a5e5d2e (patch) | |
| tree | 7578dd2e354e64c0265cc6e736828e5803d38762 /src/eval | |
| parent | 30f302f7ffc464b41f1ac3b6d8fc6b4214835549 (diff) | |
New default fonts
Diffstat (limited to 'src/eval')
| -rw-r--r-- | src/eval/state.rs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/eval/state.rs b/src/eval/state.rs index b6c0c9af..a71ae39a 100644 --- a/src/eval/state.rs +++ b/src/eval/state.rs @@ -110,8 +110,8 @@ pub struct ParState { impl Default for ParState { fn default() -> Self { Self { - par_spacing: Relative::new(1.0).into(), - line_spacing: Relative::new(0.5).into(), + par_spacing: Relative::new(1.2).into(), + line_spacing: Relative::new(0.65).into(), } } } @@ -235,12 +235,12 @@ pub struct FamilyState { impl Default for FamilyState { fn default() -> Self { Self { - list: Rc::new(vec![FontFamily::Serif]), - serif: Rc::new(vec!["eb garamond".into()]), - sans_serif: Rc::new(vec!["pt sans".into()]), - monospace: Rc::new(vec!["inconsolata".into()]), + list: Rc::new(vec![FontFamily::SansSerif]), + serif: Rc::new(vec!["ibm plex serif".into()]), + sans_serif: Rc::new(vec!["ibm plex sans".into()]), + monospace: Rc::new(vec!["ibm plex mono".into()]), base: Rc::new(vec![ - "eb garamond".into(), + "ibm plex sans".into(), "latin modern math".into(), "twitter color emoji".into(), ]), |
