googlefonts / googlefonts/fontations
[skrifa] Feature Request: Add `font.is_variable()`
Open
- Dominant language
- Rust
- Stars
- 827
- Forks
- 76
- Avg merge
- 22h 33m
- Merged PRs (30d)
- 75
Description
Something like:
```rs
fn is_variable(&self) -> bool {
self.fvar().is_ok()
}
```
or
```rs
fn is_variable(&self) -> bool {
self.axes().len() > 0
}
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the skrifa Font API and its existing fvar() and axes() entry points. Determine which behavior should define is_variable(), then add the method and verify it against variable and non-variable fonts using the repository's relevant tests, if available.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- api
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100