Skip to content

Commit

Permalink
Fix azulc on wasm32
Browse files Browse the repository at this point in the history
  • Loading branch information
fschutt committed Oct 31, 2024
1 parent f10c7e7 commit e306619
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions azulc/src/font.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,12 @@ const KNOWN_SYSTEM_SANS_SERIF_FONTS: &[&str] = &[
"Lucida Grande", // other
];

#[cfg(target_family = "wasm")]
const KNOWN_SYSTEM_MONOSPACE_FONTS: &[&str] = &[];
#[cfg(target_family = "wasm")]
const KNOWN_SYSTEM_SANS_SERIF_FONTS: &[&str] = &[];
#[cfg(target_family = "wasm")]
const KNOWN_SYSTEM_SERIF_FONTS: &[&str] = &[];

// italic / oblique / fantasy: same as sans-serif for now, but set the oblique flag

Expand Down

0 comments on commit e306619

Please sign in to comment.