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

The ability to "snap" kern values to an integer #4906

Open
3 tasks done
Bry10022 opened this issue Feb 3, 2022 · 2 comments
Open
3 tasks done

The ability to "snap" kern values to an integer #4906

Bry10022 opened this issue Feb 3, 2022 · 2 comments

Comments

@Bry10022
Copy link

Bry10022 commented Feb 3, 2022

  • Provide a general summary of the issue in the Title above.
  • Before you open an issue, please check if a similar issue already exists or has been closed before.

Important

Mark with [x] to select. Leave as [ ] to unselect.

When you open an issue for a change/improvement/feature request:

  • A description of the problem you're trying to solve, including why you think this is a problem
  • (?) If the feature changes current behavior, reasons why your solution is better
  • (optional) Possible solution/fix/workaround

Sorry if this might have been requested before, I did search through issues, but nothing was found…

I don't know how difficult such a feature would be to add…

1: I'm requesting a new number field in the kerning windows where you can specify the snap value of kern pairs when you drag the letters.
2: This could allow for better/more precise kerning when dragging. A value of zero can be entered to disable snapping. (For example, if a value of 111 is specified, and you try to kern it 50 units, it would round to 0; but if you try to kern it 80 units, it will round to 111)
3: You could just enter the values yourself, but some people prefer dragging the letters in the window

This is the first issue I made for this, my apologies if I formatted something wrong…

It could look something like this:
FontforgeSuggestion

@ctrlcctrlv
Copy link
Member

It is hard to understand what you mean. Dragging letters in what window? Is the value an offset (so if it's 2, snap to values divisible by 2)? Please explain in more detail.

@Bry10022
Copy link
Author

Bry10022 commented Feb 4, 2022

@ctrlcctrlv When you are dragging the letters in the window, it makes it so the values are a multiple of said value. If it is set to 2, every value is set to be even.

It divides the kern value by the snap value, rounds it to the nearest whole number (if it happens to be 0.5, round up), then multiplies it by the snap value.

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

No branches or pull requests

2 participants