FontLab Forum
2012-05-23, 23:52:18 *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome to the FontLab forum, read how to use it! Update: Archives from old MSN forums are now available on our forum.
 
   Home   Help Search Calendar Downloads Tags Login Register  
Del.icio.us Digg FURL FaceBook Stumble Upon Reddit SlashDot

Pages: [1]
  Print  
Author Topic: New script: "Upgrade FEA" for FLS 5.1 for Mac OS X  (Read 2246 times)
Adam Twardoch (FontLab)
Product and marketing manager, Fontlab Ltd.
Administrator
Hero Member
*****

Karma: +12/-4
Germany Germany

Posts: 329


FontLab Studio 5.0.4, Mac OS X 10.4.11


WWW
« on: 2011-09-29, 05:39:22 »

[Updated to version 1.1]
This macro makes a simple update of the FEA (AFDKO-syntax) feature definitions from version 1.6 syntax used in FontLab Studio 5.0.x to version 2.5 syntax used in FontLab Studio 5.1.  You can use this macro in FontLab Studio 5.1 beta or public preview to "fix" the FEA definitions in your OpenType panel in an older VFB file created using FLS 5.0.x.

Note: FLS 5.1 build 4311 and newer automatically decompiles feature definitions into FEA 2.5 syntax when opening an .otf or .ttf file. Running this macro is only recommended if you have older VFB files that still use the FEA 1.6 syntax.

After installation, the macro is accessible from the OpenType panel macro flyout menu.

INSTALLATION

1. Download "Upgrade_FEA.zip" below
2. Unzip
3. On Mac OS X, double-click the file "INSTALL.command"
4. On Windows, copy the script from the "data" subfolder into the analogical location within your FontLab Studio user data folder.

(Please test the installation procedure and report any problems.)

Regards,
Adam
« Last Edit: 2012-04-19, 14:58:41 by Adam Twardoch (FontLab) » Logged
beachmat
Full Member
***

Karma: +0/-0
United Kingdom United Kingdom

Posts: 4


« Reply #1 on: 2011-10-19, 09:59:09 »

Thanks for this. I don't see any fly-out with the macro on the opentype panel though.
Logged
beachmat
Full Member
***

Karma: +0/-0
United Kingdom United Kingdom

Posts: 4


« Reply #2 on: 2011-10-19, 10:34:33 »

This message appears in the Fontlab output when I try to install it:


Traceback (most recent call last):
  File "<string>", line 69, in <module>
AttributeError: 'module' object has no attribute 'relpath'
Logged
Alex Petrov (FontLab)
Tech Support, Fontlab Ltd.
Global Moderator
Hero Member
*****

Karma: +6/-1
Russian Federation Russian Federation

Posts: 470



WWW
« Reply #3 on: 2011-10-19, 11:17:04 »

System version ?
Logged
beachmat
Full Member
***

Karma: +0/-0
United Kingdom United Kingdom

Posts: 4


« Reply #4 on: 2011-10-19, 12:09:52 »

OSX.5.8 on PPC
Logged
Evertype
Beta: Fontographer
Hero Member
***

Karma: +0/-2
Ireland, Republic of Ireland, Republic of

Posts: 215


evertype evertype
WWW
« Reply #5 on: 2011-11-14, 11:05:39 »

I installed it. How do I "use" the macro?
Logged
Alex Petrov (FontLab)
Tech Support, Fontlab Ltd.
Global Moderator
Hero Member
*****

Karma: +6/-1
Russian Federation Russian Federation

Posts: 470



WWW
« Reply #6 on: 2011-11-14, 11:53:14 »

Note: FLS 5.1 build 4311 and newer automatically decompiles feature definitions into FEA 2.5 syntax when opening an .otf or .ttf file. Running this macro is only recommended if you have older VFB files that still use the FEA 1.6 syntax.

Open your old vfb with OT features, open the OpenType panel and choose Upgrade FEA in the OT Macro menu (see the screen shot).
Logged
manfred.nehls
Jr. Member
**

Karma: +0/-0
Germany Germany

Posts: 1


« Reply #7 on: 2012-04-02, 06:04:53 »

I installed the script (double-clicked the file "Install_onMac.command") but I don't see the macro in the fly-out menu.

Mac OS X 10.5.8
FontLab Studio 5.1.1 Build 4353
« Last Edit: 2012-04-02, 06:24:11 by manfred.nehls » Logged
Adam Twardoch (FontLab)
Product and marketing manager, Fontlab Ltd.
Administrator
Hero Member
*****

Karma: +12/-4
Germany Germany

Posts: 329


FontLab Studio 5.0.4, Mac OS X 10.4.11


WWW
« Reply #8 on: 2012-04-02, 11:40:15 »

Manfred,

could you try to install it manually? Inside of the "data" folder there is Studio5/Macros/System/OpenType/Upgrade_FEA.py

There should be a [your user home folder]/Library/Application Support/FontLab/Studio5 folder. Inside of that folder, there should be the subfolders Macros > System > OpenType. If those subfolders aren't there, please create them (to replicate the subfolder structure of the "data" folder that comes with the script).

Then, put the "Upgrade_FEA.py" file into the [your user home folder]/Library/Application Support/FontLab/Studio5Macros/System/OpenType/ and restart FontLab Studio.

Does that work?
Logged
Tags:
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!