Use SystemSource instead of FontconfigSource
This commit is contained in:
parent
494b0681f8
commit
81cfb863ab
1 changed files with 2 additions and 2 deletions
|
|
@ -1,13 +1,13 @@
|
|||
pub use font_kit::family_name::FamilyName as Family;
|
||||
|
||||
pub struct Source {
|
||||
raw: font_kit::sources::fontconfig::FontconfigSource,
|
||||
raw: font_kit::source::SystemSource,
|
||||
}
|
||||
|
||||
impl Source {
|
||||
pub fn new() -> Self {
|
||||
Source {
|
||||
raw: font_kit::sources::fontconfig::FontconfigSource::new(),
|
||||
raw: font_kit::source::SystemSource::new(),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue