We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent deb3d49 commit 6ffd9edCopy full SHA for 6ffd9ed
fontspector-checkapi/src/font.rs
@@ -6,10 +6,13 @@ use skrifa::{
6
string::{LocalizedStrings, StringId},
7
MetadataProvider, Tag,
8
};
9
-use std::{collections::HashSet, error::Error, io::ErrorKind, path::Path};
+use std::{collections::HashSet, error::Error, io::ErrorKind};
10
+
11
+#[cfg(not(target_family = "wasm"))]
12
+use std::path::Path;
13
14
pub struct TestFont {
- filename: String,
15
+ pub filename: String,
16
font_data: Vec<u8>,
17
_codepoints: HashSet<u32>,
18
_sibling_filenames: Vec<String>,
0 commit comments