Page 1 of 1

[Resolved] Kerning Pairs Cannot be Deleted

Posted: Tue Feb 18, 2014 7:29 am
by Bhikkhu Pesala
I deleted all of the kerning pairs with digits in the attached project file, and save the project, but every time I reopen it the kerning pairs are back again.
Digit Kerning Pairs.png
Digit Kerning Pairs.png (34.62 KiB) Viewed 5526 times

Re: Kerning Pairs Cannot be Deleted

Posted: Tue Feb 18, 2014 10:12 am
by Bhikkhu Pesala
This project file also seems to be corrupted in the same way. The other projects in the font family are all OK.

I was able to reopen the exported *.otf files, which did not have the extra kerning pairs, and save the projects again to fix them.

Re: Kerning Pairs Cannot be Deleted

Posted: Tue Feb 18, 2014 11:28 am
by Erwin Denissen
This is really strange, as I don't know why they keep coming back. I have to do some testing here to see if this affects other project files as well.

Re: Kerning Pairs Cannot be Deleted

Posted: Sat Mar 01, 2014 12:33 pm
by Bhikkhu Pesala
I really need a solution to this. I removed my Pali font from my web site because the kerning is really badly messed up.

I attach the latest project file for Pali, and the kerning text file.

Re: Kerning Pairs Cannot be Deleted

Posted: Sun Mar 02, 2014 7:25 am
by Bhikkhu Pesala
I found a solution to the problem, good enough to make my fonts fit to use anyway. Further refinements of the kerning can wait until next time now.
  1. I opened the Pali Regular.fcp project file, edited the export settings to remove kerning tables, and exported the font as Pali Regular.otf
  2. I opened the Pali Regular.otf file, imported the kerning table from a text file, cleaned up the kerning pairs, adding some more using Autokern, and exported the kerning text file as Pali Regular.txt
  3. I changed the Export setting back to including Kern tables, and saved it — overwriting the previous project file — then exported the Pali Regular.otf again — now with kerning.
  4. I repeated for Pali Italic, but importing the Pali Regular.txt kerning values, tidying those up before exporting to Pali Italic.txt
  5. I repeated the procedure for Bold using the Pali Regular kerning values, and Bold Italic using the Italic kerning values.

Re: Kerning Pairs Cannot be Deleted

Posted: Mon Mar 03, 2014 8:14 am
by Bhikkhu Pesala
Here is another font with similar problems. Even trying the above method, I cannot rid of the unwanted kerning pairs on the numerals.

It has me baffled. I sort my fonts by Unicode code-points, then manually rearrange those at the end, which are not mapped to get them in a sensible order. That might be how the Kern Tables get corrupted.

I also edit UnicodeData.txt, Blocks.txt, and GlyphNames.dat, which might upset FontCreator.

There are so many variables, it's hard to track down the possible cause. Hopefully, not many users will be affected by this bug, if it is a bug, and not something unexpected that I am doing.

Re: Kerning Pairs Cannot be Deleted

Posted: Mon Mar 03, 2014 7:08 pm
by Bhikkhu Pesala
I got it fixed now, but still not too sure about what caused it. Could be something to do with Export Settings.