Skip to content

Commit

Permalink
Add redox os support for system fonts.
Browse files Browse the repository at this point in the history
  • Loading branch information
FloVanGH committed Apr 20, 2023
1 parent a9ecf20 commit c0cd51a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,12 @@ impl Database {
}
}

// Redox OS.
#[cfg(target_os = "redox")]
{
self.load_fonts_dir("/ui/fonts");
}

// Linux.
#[cfg(all(unix, not(any(target_os = "macos", target_os = "android"))))]
{
Expand Down

0 comments on commit c0cd51a

Please sign in to comment.