Make swash optional, add swash cache abstraction
This commit is contained in:
parent
efc5108a2d
commit
1c341f3126
7 changed files with 148 additions and 109 deletions
|
|
@ -32,8 +32,6 @@ impl CacheKey {
|
|||
}
|
||||
}
|
||||
|
||||
pub type CacheItem = Option<swash::scale::image::Image>;
|
||||
|
||||
#[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)]
|
||||
pub enum SubpixelBin {
|
||||
Zero,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue