Add default Redox font directory (/ui/fonts)
This commit is contained in:
parent
e43cc03354
commit
c4a8d521f6
2 changed files with 4 additions and 1 deletions
|
|
@ -46,6 +46,9 @@ impl FontSystem {
|
|||
#[cfg(not(target_arch = "wasm32"))]
|
||||
let now = std::time::Instant::now();
|
||||
|
||||
#[cfg(target_os = "redox")]
|
||||
db.load_fonts_dir("/ui/fonts");
|
||||
|
||||
db.load_system_fonts();
|
||||
|
||||
for source in fonts {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue