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

Adjust kerning in selected Glyphs only #188

Open
eweracs opened this issue Mar 5, 2020 · 1 comment
Open

Adjust kerning in selected Glyphs only #188

eweracs opened this issue Mar 5, 2020 · 1 comment

Comments

@eweracs
Copy link
Contributor

eweracs commented Mar 5, 2020

Hello, forgive me if this is the wrong place to discuss a script, first time using github.
I have an issue with this script, as I am using it in combination with copy kerning from caps to sc. I would like to scale the kerning in the sc glyphs only. If I run this script, the kerning is adjusted for all glyphs. Example: I have AVA and AVA as smcp. For my scmp, I would like to scale kerning by 0.85 and then add ten units (identical to my RMX values). If I scale by 0.85 while just selecting my smcp, all the other kerning, for instance for AVA as caps, is scaled. Is there a way of circumventing this and adjusting only in selected glyphs? Thank you!

@mekkablue
Copy link
Owner

mekkablue commented Apr 10, 2020

Sorry for my delay in answering. The logical problem is that kerning is not tied to a glyph, but pairs of glyphs and kerning groups.

So… what you want is to:

  • duplicate kern pairs cap-cap to sc-sc with a scale factor
  • duplicate kern groups of caps to smallcaps
  • duplicate kern pairs cap-capgroup to sc-scgroup with a scale factor
  • duplicate kern pairs capgroup-cap to scgroup-sc with a scale factor
  • duplicate kern pairs capgroup-capgroup to scgroup-scgroup with a scale factor

Correct?

I already have a script that should be doing this, but it needs some brushing up.

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

2 participants