robofab.tools.toolsFL
index
/code/projects/robofab/Lib/robofab/tools/toolsFL.py

T.O.O.L.S.: Things Other Objects Lack (Sometimes)
-assorted raw tools.
 
This is an assorted colection of raw tools that do
things inside of FontLab. Many of these functions
form the bedrock of objectsFL. In short, use these
tools only if you need the raw functions and they are
not supported by the objects.
 
Object model:
Most of these tools were written before
objectsFL. Some of these tools are used by
objectsFL. That means that if you want to
use functions from robofab.tools you can always
feed them FontLab objects (like Font, Glyps,
etc.). If the functions also accept Robjects from
robofab.objects it is usually mentioned in the
doc string.
 
This is a simple way to convert a robofab Font
object back to a FL Font object. Even if you don't
know which particular faith an object belongs to
you can use this:
 
font = unwrapFont(font)