Skip to content

Open files via hashmap #386

@yanone

Description

@yanone

I'm building a font editor and want to be able to open .ufo/.designspace files through babelfont-rs. Since wasm doesn't support native file system access and it can't be spoofed to it either, the simple solution is to build a hashmap and have norad open the files through it.

Please see this branch comparison for the changes: https://github.com/linebender/norad/compare/master...yanone:norad:hasmap-loading?expand=1

I would create a PR if you are interested and then babelfont-rs would need its own PR to call the new methods.

Please note that I'm not very familiar with Rust, so feel free to request any changes. It works over here.

cc @simoncozens

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions