Freetype backend doesn't work on macOS
Open
Beginner friendly
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 840
- Forks
- 137
- Avg merge
- 4h 56m
- Merged PRs (30d)
- 1
Description
I've enabled the freetype backend in font-kit like this:
font-kit = { version = "0.14.3", default-features = false, features = ["loader-freetype"] }
But it doesn't compile because the freetype-sys crate is missing at src/loaders/freetype.rs:17:5.
Enabling the loader-freetype feature should add the freetype-sys dependency regardless of platform.
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
Reproduce the macOS compilation failure with the shown font-kit feature configuration, then inspect src/loaders/freetype.rs:17:5 and the feature/dependency declarations. Done means enabling loader-freetype provides freetype-sys on macOS and the configuration compiles successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 68/100