linebender / linebender/parley
fontique: Loading fonts from fs
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 736
- Forks
- 120
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 53
Description
We should be able to load a font from the file system or scan a directory for fonts, rather than only having FS access via system. (We should be able to let the text stack memory map arbitrary font files without having to load them into a blob.)
In fontdb, this is easy to do by using Database::load_font_file or Database::load_font_dir.
In font-kit, this can be done with the sources::fs::FsSource.
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 locating fontique's font-loading abstraction and how it currently accesses fonts through system. Compare the desired filesystem behavior with fontdb::Database::load_font_file, load_font_dir, and font-kit's sources::fs::FsSource; done means arbitrary font files or directories can be used without first loading them into a blob.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- computer-graphics
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100