typerig.core.fileio.flc
typerig.core.fileio.flc (version 0.2.4)
# MODULE: Typerig / IO / Fontlab class parser (.flc) # ------------------------------------------------------ # (C) Vassil Kateliev, 2017 (http://www.kateliev.com) # (C) Karandash Type Foundry (http://www.karandash.eu) #-------------------------------------------------------- # www.typerig.com
Classes
class fontClassesFromFile(builtin.object)
Loads a Fontlab class file (.flc) and parses it. Args: fileName (str) : a path to Fontlab class file Returns: Object with methods: .fontClasses (dict -> class_name:class_contents) .metricClasses (dict -> class_name:class_contents) .kernClasses (dict -> class_name:class_contents) .otClasses (dict -> class_name:class_contents) .classPosition (Left and/or Right pair(s)); Metric (Left, Width, Right) .classLeader (dict -> class_name:class_leader)
Methods
- init(self, fileName)
Descriptors
- dict
-
dictionary for instance variables (if defined)
- weakref
-
list of weak references to the object (if defined)
fontClassesFromFile
typerig.core.fileio.flc.fontClassesFromFile = class fontClassesFromFile(__builtin__.object)
Loads a Fontlab class file (.flc) and parses it. Args: fileName (str) : a path to Fontlab class file Returns: Object with methods: .fontClasses (dict -> class_name:class_contents) .metricClasses (dict -> class_name:class_contents) .kernClasses (dict -> class_name:class_contents) .otClasses (dict -> class_name:class_contents) .classPosition (Left and/or Right pair(s)); Metric (Left, Width, Right) .classLeader (dict -> class_name:class_leader)
Methods
- __init__(self, fileName)
Descriptors
- __dict__
-
dictionary for instance variables (if defined)
- __weakref__
-
list of weak references to the object (if defined)