robofab.objects.family
index
/code/projects/robofab/Lib/robofab/objects/family.py

This module has been deprecated.

 
Modules
       
os
weakref

 
Classes
       
robofab.objects.objectsBase.RBaseObject(__builtin__.object)
RFamily
__builtin__.object
FamilyReader
FamilyWriter

 
class FamilyReader(__builtin__.object)
    A reader that reads all info from a .uff
 
  Methods defined here:
__init__(self, path)
getSharedPath(self)
Return the path of all shared values in the family,
rather then create a new instance for it.
readFontsContents(self)
readLib(self)
readMetaInfo(self)

Data and other attributes defined here:
__dict__ = <dictproxy object at 0x13fbab0>
dictionary for instance variables (if defined)
__weakref__ = <attribute '__weakref__' of 'FamilyReader' objects>
list of weak references to the object (if defined)

 
class FamilyWriter(__builtin__.object)
    a writer that builds all the necessary family stuff.
 
  Methods defined here:
__init__(self, path)
getSharedGlyphSet(self)
makeFontsPath(self)
makeSharedPath(self)
writeFontsContents(self)
writeLib(self, libDict)

Data and other attributes defined here:
__dict__ = <dictproxy object at 0x13fba90>
dictionary for instance variables (if defined)
__weakref__ = <attribute '__weakref__' of 'FamilyWriter' objects>
list of weak references to the object (if defined)
fileCreator = 'org.robofab.uffLib'
formatVersion = 1

 
class RFamily(robofab.objects.objectsBase.RBaseObject)
    Sketch for Family, the font superstructure.
This should ultimately move to objectsRF
 
The shared fontinfo and glyphset is just another font, named 'shared',
this avoids duplication of a lot of  functionality in maintaining
the shared glyphset, reading, writing etc.
 
 
Method resolution order:
RFamily
robofab.objects.objectsBase.RBaseObject
__builtin__.object

Methods defined here:
__contains__ = has_key(self, key)
__getitem__(self, fontKey)
__init__(self, path=None)
__len__(self)
__repr__(self)
__setitem__(self, key, fontObject)
has_key(self, key)
keys(self)
save(self, destDir=None, doProgress=False)

Methods inherited from robofab.objects.objectsBase.RBaseObject:
copy(self, aParent=None)
Duplicate this object. Pass an object for parenting if you want.
dump(self, private=False)
Print a dump of this object to the std out.
getParent(self)
this method will be overwritten with a weakref if there is a parent.
isRobofab(self)
Presence of this method indicates a Robofab object
naked(self)
Return the wrapped object itself, in case it is needed for direct access.
round(self)
setChanged(self, state=True)
setParent(self, parent)

Data and other attributes inherited from robofab.objects.objectsBase.RBaseObject:
__dict__ = <dictproxy object at 0x13fbab0>
dictionary for instance variables (if defined)
__weakref__ = <attribute '__weakref__' of 'RBaseObject' objects>
list of weak references to the object (if defined)
attrMap = {}

 
Functions
       
makeUFFName(familyName)

 
Data
        FAMILY_EXTENSION = '.uff'
FONTSCONTENTS_FILENAME = 'contents.plist'
FONTS_DIRNAME = 'fonts'
FONT_EXTENSION = '.ufo'
LIB_FILENAME = 'lib.plist'
METAINFO_FILENAME = 'metainfo.plist'
SHARED_DIRNAME = 'shared'
__warningregistry__ = {('family.py is deprecated.', <class exceptions.DeprecationWarning at 0x370c0>, 4): 1}
fontInfoAttrs = ['familyName', 'styleName', 'fullName', 'fontName', 'menuName', 'fontStyle', 'note', 'versionMajor', 'versionMinor', 'year', 'copyright', 'notice', 'trademark', 'license', 'licenseURL', 'createdBy', 'designer', 'designerURL', 'vendorURL', 'unitsPerEm', ...]