|
Bas
Guest
|
 |
« on: 2009-05-20, 16:34:27 » |
|
The "Kern Feature Generator" macro behaves buggy. Often it outputs a "feature.kern" file which contains correct classes, but the kerning is not converted to class kerning. This happens daily.
Instead of: pos @A_UC_LEFT @T_LC_RIGHT -10; it makes: pos A t -10;
Solution: in "Application_Support/FontLab/Studio_5/Macros/System/Modules" delete the file "WriteFeaturesKernFDK.pyc", restart FontLab, and all works fine.
I'm not sure if this is a local problem on my computer, or something which can be fixed in the next update of FDK.
groet, Bas
|
|
|
|
|
Logged
|
|
|
|
Miguel Sousa (Adobe)
Team: Adobe
Jr. Member
  
Karma: +2/-0
 United States
Posts: 5
|
 |
« Reply #1 on: 2009-06-16, 03:10:57 » |
|
It happens to me too. This issue is in my to do list.
|
|
|
|
|
Logged
|
|
|
|
|
Bas
Guest
|
 |
« Reply #2 on: 2009-06-16, 03:41:19 » |
|
I noticed that this doesn't happen once I've got the "feature.kern" file opened in BBEdit. Overwriting apparently goes fine then, without any errors.
groet, Bas
|
|
|
|
|
Logged
|
|
|
|
Miguel Sousa (Adobe)
Team: Adobe
Jr. Member
  
Karma: +2/-0
 United States
Posts: 5
|
 |
« Reply #3 on: 2010-02-16, 01:48:24 » |
|
I finally got around to look into this issue, and I found and fixed the bug in our source. If you can't wait until the next release of the FDK, you can fix the files on your side, since it's very simple. Just follow the instructions below.
Instructions to fix WriteFeaturesKernFDK.py: 1. Open the file 'WriteFeaturesKernFDK.py' in a simple text editor (BBEdit, TextMate, Notepad). You'll find this file in the folder 'Modules' under the path '(/Users/<username>/Library/Application Support)/FontLab/Studio 5/Macros/System/' 2. Search for 'if g[-1] is' (I believe it will be in line #172) 3. Replace 'is' by '==' 4. Delete 'WriteFeaturesKernFDK.pyc' (Notice the final 'c'; this is the compiled version of the module) 5. Restart FontLab or press the 'Reset macro' button
|
|
|
|
|
Logged
|
|
|
|
|
alexovechkin00
Guest
|
 |
« Reply #4 on: 2010-03-12, 05:16:59 » |
|
great ive been looking for this solution for 2 hours! finally my frustrations are over! thanks so much!
|
|
|
|
« Last Edit: 2010-03-12, 05:50:03 by Alex Petrov (FontLab) »
|
Logged
|
|
|
|
|