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

Adjustible letter spacing? #164

Open
darthdeus opened this issue Jan 20, 2024 · 1 comment
Open

Adjustible letter spacing? #164

darthdeus opened this issue Jan 20, 2024 · 1 comment

Comments

@darthdeus
Copy link

This might be a bit of an odd request, but in short some IDEs (e.g. Jetbrains https://youtrack.jetbrains.com/issue/JBR-5247/Allow-to-change-the-letterspacing-of-a-font) don't allow letter spacing. It seems a possible solution would be to simply modify the font itself to the desired dimensions.

I'm not sure how difficult this would be or how one should approach it? Looking at the glyph files it seems the only option would be to just change the Width, e.g. here https://github.com/belluzj/fantasque-sans/blob/master/Sources/FantasqueSans.sfdir/_A.glyph#L3?

Or is there a better way to approach this? I understand the goal of this font isn't necessarily to be the most configurable thing there is, but I've used it for as long as it existed and deeply enjoy it. I'm not asking the author to do it, I'm happy to dive into this myself if it's possible, but maybe consider this issue more of a question asking for guidance on how to approach this.

@darthdeus
Copy link
Author

I ended up with a hacky solution that works surprisingly well https://github.com/darthdeus/fonts/blob/master/change_spacing.py - I understand this isn't super important for this repo, but leaving this here in case someone else runs into the same problem :)

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

No branches or pull requests

1 participant