Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Add support for choosing font width #507

Open
MrPandir opened this issue May 20, 2024 · 1 comment
Open

[Feature] Add support for choosing font width #507

MrPandir opened this issue May 20, 2024 · 1 comment

Comments

@MrPandir
Copy link

For example, a font like Iosevka provides 2 widths: Normal and Extended. And if you use customization, then it is available 7 widths: 416, 456, 500, 548, 600, 658, 720

Demonstration of what it affects:

And here is more information: MDN font-stretch

You will need to add the width parameter to the configuration file:

[fonts]
family = "Iosevka Custom"
width = 600

You may also need to provide a text version:

[fonts]
family = "Iosevka Custom"
width = "Extended"
@raphamorim
Copy link
Owner

Hey there @MrPandir thanks for the issue,

0.1.0 version will add support to it, the functionality already exist in the main branch but isn't released (neither accept configuration inputs yet). Will mark it to 0.1.0 tag.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

No branches or pull requests

2 participants