Recent list of FontLab Options() class?

Primary tabs

3 posts / 0 new
Last post
Paul van der Laan's picture
Joined: 4 Mar 2007 - 8:56am
Recent list of FontLab Options() class?
0

Is there a recent version of all the attributes of the FontLab Options() class somewhere? The [[http://dev.fontlab.net/flpydoc/view_html.html|Unofficial FontLab/Python API Reference]] is still based on FL 4.x, and the attributes are not listed in the docstring too unfortunately.

I'm especially interested in controlling the 'Export old-style non-OpenType "kern" table' option.

Thanks,

-Paul

Karsten Luecke's picture
Offline
Joined: 6 Aug 2005 - 8:41am
0

It's "TTEWriteKernTable".

As regards a list of available options: Just go to the Options/Preferences Panel and save the options. The .reg text file covers all available options -- they are the same for scripting.

To find out which is which (sometimes, names are a bit cryptic) do this:
(1)
-- in the Options/Preferences Panel, save the current set of options
-- switch on/off the option that you are looking for
-- save this new set of options by different name
-- open both text files e.g. in BBEdit and use "compare front documents"
This will show you which entry was altered.
(2)
In a next step, set the desired option to the desired state, again save options, and check the .ref file for the value of this option. Or "print" the value of this option by script.

Paul van der Laan's picture
Joined: 4 Mar 2007 - 8:56am
0

Karsten,

That's exactly what I was looking for. Thank you very much.

-Paul