Robofab script to generate weights from MM vfb?

ttmt's picture

Hi all

Is it possible to use Robofab to generate weights from a MM vfb.

I'm generating 6 weights from the MM fonts - Thin, Light, Regular, Medium, Bold and Heavy.

While I'm developing the font I wanted a quick way to generate the weights with a script instead of
generating each vfb with Fontlab - Tools > Multiple Master > Generate Instance > Enter the weight > Name the vfb.

I just need a script that will generate 6 vfb from a MM vfb. The script doesn't need to be expandable
the weights can be hard coded into the script.

frankrolf's picture

Check out the scripts by Ben Kiel; they will be useful for what you are doing.

ttmt's picture

I found Ben's script and I thought the scripts for generating test fonts would be prefect but I get errors that I can't work out.

Traceback (most recent call last):
File "", line 183, in
File "/Users/ttmt/Code/RoboFab/Lib/robofab/interface/all/", line 628, in GetFolder
from robofab.interface.mac.getFileOrFolder import GetFileOrFolder
File "/Users/ttmt/Code/RoboFab/Lib/robofab/interface/mac/", line 13, in
from EasyDialogs import _process_Nav_args, _interact
File "/System/Library/Frameworks/Python.framework/Versions/Current/lib/python2.7/plat-mac/", line 25, in
from Carbon import Qd
File "/System/Library/Frameworks/Python.framework/Versions/Current/lib/python2.7/plat-mac/Carbon/", line 1, in
from _Qd import *
ImportError: No module named _Qd

Syndicate content Syndicate content