summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-09-19 17:44:40 +0200
committerLaurenz <laurmaedje@gmail.com>2022-09-19 17:44:40 +0200
commite29f55bb294cc298daad97accf6d8a76976b409c (patch)
treecc4db3b61fa23e13f781e992c63427d36e77ef8c /src/lib.rs
parent59f67b79c7ff50f0bc9a27373d0fa36d1523e08a (diff)
Remove font store
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 9da37df7..c26ef809 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -55,7 +55,6 @@ use std::sync::Arc;
use crate::diag::TypResult;
use crate::eval::Scope;
-use crate::font::FontStore;
use crate::frame::Frame;
use crate::loading::Loader;
use crate::model::StyleMap;
@@ -77,8 +76,6 @@ pub struct Context {
pub loader: Arc<dyn Loader>,
/// Stores loaded source files.
pub sources: SourceStore,
- /// Stores parsed fonts.
- pub fonts: FontStore,
/// The context's configuration.
config: Config,
}
@@ -89,7 +86,6 @@ impl Context {
Self {
loader: Arc::clone(&loader),
sources: SourceStore::new(Arc::clone(&loader)),
- fonts: FontStore::new(Arc::clone(&loader)),
config,
}
}