Page 1 of 1

OpenType Designer Code Editor: Replace/Sort

Posted: Tue Jul 09, 2019 1:49 pm
by outofstepfontco
Hi everyone
I am trying to publish a font and finding much of the work involved in the kerning process is being done in Excel using the OpenType code.

Here are some of the basic processes that I am doing in Excel, which would help in the OpenType Designer Code Editor:

1. Replace / Replace All
I use this for merging PairClasses together. For example:
  • replacing all instances of "_A3" with "_A1"
  • replacing all instances of " w " with "PairClass_w"
2. Sorting the OpenType code
I use this for grouping all letters together, such as "a" with "agrave". This allows me to replace the first instance with the PairClass_a group, and delete the remaining instances.

Thanks again,

Re: OpenType Designer Code Editor: Replace/Sort

Posted: Tue Jul 09, 2019 1:58 pm
by Bhikkhu Pesala
Find and replace is already available. Use shortcut Ctrl+H in the Code Editor with the kerning pair lookup table.
Replace All.png
Replace All.png (3.23 KiB) Viewed 5688 times

Re: OpenType Designer Code Editor: Replace/Sort

Posted: Tue Jul 09, 2019 2:01 pm
by outofstepfontco
Whoops, just found it!

Haha I'm so blind

Thank you for humoring me.

Re: OpenType Designer Code Editor: Replace/Sort

Posted: Tue Jul 09, 2019 2:57 pm
by Bhikkhu Pesala
As for suggestion number 2, this won't be necessary if you using classes from the beginning. It is strongly recommended to create kerning classes. The autokern wizard adds classes for left and right kerning pairs. I prefer to add my own classes manually, then reuse them in other fonts. It is tedious work, but once done it can be reused forever and gradually refined to suit other fonts.

OpenType Designer Code Editor Replace/Sort

Posted: Tue Aug 13, 2019 2:10 pm
by Mariamit
Just wondering if there will ever be the ability to perform a find and replace within a highlighted section of code in the program editor similar to certain text editors like np. Currently I can only perform find/replace on an entire program file. I currently use EV 10.

Re: OpenType Designer Code Editor Replace/Sort

Posted: Tue Aug 13, 2019 5:40 pm
by Bhikkhu Pesala
Mariamit wrote: Tue Aug 13, 2019 2:10 pm Just wondering if there will ever be the ability to perform a find and replace within a highlighted section of code in the program editor similar to certain text editors like np.
The feature is already there in FontCreator 12. What do you mean by EV10?
Replace within Selected Text.png
Replace within Selected Text.png (3.37 KiB) Viewed 5587 times