Open files via hashmap
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 61
- Forks
- 16
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the linked master...hasmap-loading branch comparison and the existing norad loading entry points. Trace how .ufo and .designspace files are opened, then determine the hashmap-backed API and validation needed for babelfont-rs and wasm callers. Done means the approach is accepted, covered by tests, and usable by the dependent project.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust, wasm
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100