Page 1 of 1

Highlight Positive Kerning Values in Blue

Posted: Sat Nov 05, 2016 7:22 pm
by Bhikkhu Pesala
It would be much easier to check kerning pair adjustment lookups if the positive or zero values were highlighted in Blue. Currently, I copy the kerning pair lookup from the code editor and paste it into notepad, where I do a find and replace to make the positive values obvious. Typically, that might be a dozen or so among about 600.
Positive Kerning.png
Positive Kerning.png (2.68 KiB) Viewed 8272 times

Re: Highlight Positive Kerning Values in Blue

Posted: Sat Nov 05, 2016 10:13 pm
by MikeW
Green, blue, just about any different color. Gets my vote.

Re: Highlight Positive Kerning Values in Blue

Posted: Sat Nov 05, 2016 11:16 pm
by Bhikkhu Pesala
I suppose, if it were possible:
  • Green would be suitable for OK (negative)
  • Blue would be for dubious (positive)
  • Red would be for an error (zero)

Re: Highlight Positive Kerning Values in Blue

Posted: Thu Nov 10, 2016 11:49 am
by Erwin Denissen
What about using the filter edit box:
+ to show all positive values
- to show all negative values
0 to show all 0

Re: Highlight Positive Kerning Values in Blue

Posted: Thu Nov 10, 2016 2:30 pm
by MikeW
Hmm. I think color-coding would be best. It's visual, it doesn't limit one ot just positive, negative or zero.

And it is called the visual opentype designer ;^)

Not to sully this request thread, but this is semi-related. I would also like that column to remember the width I drag it to.

Re: Highlight Positive Kerning Values in Blue

Posted: Thu Nov 10, 2016 3:20 pm
by Bhikkhu Pesala
Erwin Denissen wrote:What about using the filter edit box:
How long as that been there? :lol: That's very helpful for locating pairs that are known to be problematic, e.g. hyphen or "c". However, it doesn't find c.pcap or c.smcp :(
  1. + to show all positive values
  2. - to show all negative values (- already used to find pairs with hyphen!)
  3. 0 to show all zero values
This would work well. I see that colour coding is already used to distinguish classes from glyphs, so maybe colour-coding is not the ideal solution. It would still take a lot of scrolling for fonts without class-based kerning. Is this practical?
  1. +nn to show all positive values < nn (one could use a large value like 999 to find all)
  2. -nn to show all negative values > nn (I am only interested in values less than about 20 funits).
  3. 0 to show all zero values

Re: Highlight Positive Kerning Values in Blue

Posted: Thu Nov 10, 2016 3:35 pm
by Erwin Denissen
MikeW wrote:Hmm. I think color-coding would be best. It's visual, it doesn't limit one ot just positive, negative or zero.

And it is called the visual opentype designer ;^)
True, and it is easy to implement.
MikeW wrote:Not to sully this request thread, but this is semi-related. I would also like that column to remember the width I drag it to.
Consider it done.
Bhikkhu Pesala wrote:
Erwin Denissen wrote:What about using the filter edit box:
How long as that been there? :lol: That's very helpful for locating pairs that are known to be problematic, e.g. hyphen or "c".
Probably quite some time; I can't remember.
Bhikkhu Pesala wrote:
  1. + to show all positive values
  2. - to show all negative values (- already used to find pairs with hyphen!)
  3. 0 to show all zero values
Actually if the edit box contains an existing glyph name, the listbox is filtered to show all pairs which include that glyph, otherwise it will just show all. We could change it to show none, so you can immediately see the glyph name wasn't found in the kern pair list.
Bhikkhu Pesala wrote:This would work well. I see that colour coding is already used to distinguish classes from glyphs, so maybe colour-coding is not the ideal solution. It would still take a lot of scrolling for fonts without class-based kerning. Is this practical?
Even though I'm not colorblind, I never like using color that much. That said I think it was my idea to show classes in red...

I've implemented the color request, and will now show the class names in red.
Bhikkhu Pesala wrote:
  1. +nn to show all positive values < nn (one could use a large value like 999 to find all)
  2. -nn to show all negative values > nn (I am only interested in values less than about 20 funits).
  3. 0 to show all zero values
Implementing the color request is easier, so lets first try that!

Re: Highlight Positive Kerning Values in Blue

Posted: Thu Nov 10, 2016 4:07 pm
by MikeW
Excellent on both accounts (color and the width issue), Erwin!

Mike

Re: Highlight Positive Kerning Values in Blue

Posted: Thu Dec 01, 2016 10:10 pm
by Bhikkhu Pesala
This is a great time-saver. I now run Autokern after importing a script from another font, and quickly fix the pairs that need attention. Finding them is now much easier.