Open
Description
fontc uses fontbe
which uses fea-rs
which has a structure Source
which stores feature file paths as OsString
s. fea-rs
uses the serde
feature to serialize these paths for fontbe
to do persistable job orchestration.
However, serde
does not implement Serialize
and Deserialise
for OsString
s on the WASM platform, only Unix and Windows, so the whole thing falls down. We could replace it all with String
s to work everywhere.
Additionally, fontbe/src/feature.rs
has the concept of an InMemoryResolver
which sounds perfect for things which don't have filesystems! Except that it also stores content_path: OsString
, which makes it dependent on filesystems again.