better font configuration
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 44.7k
- Forks
- 3.6k
- Avg merge
- 21m
- Merged PRs (30d)
- 1
Description
Is your feature request related to a problem? Please describe.
Font detection and configuration is troublesome with symbols defined across multiple fonts with different weights and relative scales. Example setting up with my powerlevel10k theme didn't even work right out of the box. Hyper didn't pick up all the fonts on my system that provide the ones that provide the symbols, so I used fontfor to figure it out from my gnome terminal.
Describe the solution you'd like
Well... I see this as sadly in need of a 3 part solution.
- find fonts not configured in hyper should still be detected as they would for any system fonts
- Allow character/range overrides for glyphs, like kitty
- font configuration should be more of an array of objects, maybe something like this, because for example the Retina weight isn't provided by most fonts.
[
{
family: "Fira Code",
weight: "Retina",
size: 12,
features: "+onum" // maybe another bug, but features should be supported
}
]
Describe alternatives you've considered
kinda works
fontFamily: '"Fira Code", "MesloLGS NF", FontAwesome, Symbola',
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
No files or tests are named. Start by locating Hyper's font configuration and detection entry points, then assess the three requested changes: system-font discovery, glyph range overrides, and array-based font objects with features. Done would require an agreed scope and corresponding tests or documented behavior for the selected configuration changes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- desktop
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100