Make fontdb database public
This commit is contained in:
parent
dcb8add5f4
commit
d04337075a
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ use crate::{Attrs, Font, FontMatches};
|
|||
/// Access system fonts
|
||||
pub struct FontSystem<'a> {
|
||||
pub locale: String,
|
||||
db: fontdb::Database,
|
||||
pub db: fontdb::Database,
|
||||
pub font_cache: Mutex<HashMap<fontdb::ID, Option<Arc<Font<'a>>>>>,
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue