Cache font matches, use usize for line index, use font system for swash
This commit is contained in:
parent
94576fb682
commit
119a570ee9
8 changed files with 105 additions and 120 deletions
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
pub use fontdb::{Family, Stretch, Style, Weight};
|
||||
|
||||
#[derive(Clone, Debug, Eq, PartialEq)]
|
||||
#[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)]
|
||||
pub struct Attrs<'a> {
|
||||
pub family: Family<'a>,
|
||||
pub monospaced: bool,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue