Skip to content

typerig.proxy.application.app

typerig.proxy.application.app (version 0.76.0)

# MODULE: Typerig / Proxy / Application
# -----------------------------------------------------------
# (C) Vassil Kateliev, 2019-2020        (http://www.kateliev.com)
# (C) Karandash Type Foundry            (http://www.karandash.eu)
#------------------------------------------------------------
# www.typerig.com

Modules

  • fontgate
  • fontlab
  • PythonQt

Classes

class pItems(__builtin__.object)

Proxy to flItems object

Constructor:
        pItems()

Attributes:
        .fl (flItems): Current workspace

Methods

__init__(self)


outputGlyphNames(self, glyphNamesList, layerList=[], cursor_location=0)
Output text string using glyph names and layers specified
outputString(self, string, cursor_location=0)
Output text to the application

Descriptors

__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

class pTextBlock(__builtin__.object)

Proxy to flTextBlock object

Constructor:
        pTextBlock(flTextBlock)

Attributes:
        .fl (flTextBlock): flTextBlock Parent

Methods

__init__(self, textBlock)


__repr__(self)


clone(self)


getFontSize(self)


getFrameSize(self)


getGlyphBounds(self)


getString(self)


getTransform(self)


getWrapState(self)


height(self)


reloc(self, x, y)


resetTransform(self)


setFontSize(self, fontSize)


setFrameSize(self, width, height)


setFrameWidth(self, width)


setPageSize(self, sizeName, fixedHeight=(True, True))


setTextWrap(self, width)


setTransform(self, newTransform)


setWrapState(self, wrapText=True)


update(self)


width(self)


x(self)


y(self)


Descriptors

__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

class pWorkspace(__builtin__.object)

Proxy to flWorkspace object

Constructor:
        pWorkspace()

Attributes:
        .fl (flWorkspace): Current workspace
        .main (QWidget): Main QWidget's window

Methods

__init__(self)


createFrame(self, string, x, y)


getActiveGlyph(self, tbi=0)


getActiveGlyphInfo(self, tbi=0)


getActiveIndex(self, tbi=0)


getActiveKernPair(self, tbi=0)


getActiveLine(self, tbi=0)


getCanvas(self, atCursor=False)


getCanvasList(self)


getNextGlyphInfo(self, tbi=0)


getPrevGlyphInfo(self, tbi=0)


getSelectedNodes(self)


getTextBlockGlyphs(self, tbi=0)


getTextBlockList(self, atCursor=False)


Descriptors

__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Functions

openFont(file_path)
Loads Font file from path (str) and returns opened fgFont object

openFont

typerig.proxy.application.app.openFont = openFont(file_path)
Loads Font file from path (str) and returns opened fgFont object

pItems

typerig.proxy.application.app.pItems = class pItems(__builtin__.object)

Proxy to flItems object

Constructor:
        pItems()

Attributes:
        .fl (flItems): Current workspace

Methods

__init__(self)


outputGlyphNames(self, glyphNamesList, layerList=[], cursor_location=0)
Output text string using glyph names and layers specified
outputString(self, string, cursor_location=0)
Output text to the application

Descriptors

__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

outputString

typerig.proxy.application.app.pItems.outputString = outputString(self, string, cursor_location=0) unbound typerig.proxy.application.app.pItems method
Output text to the application

outputGlyphNames

typerig.proxy.application.app.pItems.outputGlyphNames = outputGlyphNames(self, glyphNamesList, layerList=[], cursor_location=0) unbound typerig.proxy.application.app.pItems method
Output text string using glyph names and layers specified

pWorkspace

typerig.proxy.application.app.pWorkspace = class pWorkspace(__builtin__.object)

Proxy to flWorkspace object

Constructor:
        pWorkspace()

Attributes:
        .fl (flWorkspace): Current workspace
        .main (QWidget): Main QWidget's window

Methods

__init__(self)


createFrame(self, string, x, y)


getActiveGlyph(self, tbi=0)


getActiveGlyphInfo(self, tbi=0)


getActiveIndex(self, tbi=0)


getActiveKernPair(self, tbi=0)


getActiveLine(self, tbi=0)


getCanvas(self, atCursor=False)


getCanvasList(self)


getNextGlyphInfo(self, tbi=0)


getPrevGlyphInfo(self, tbi=0)


getSelectedNodes(self)


getTextBlockGlyphs(self, tbi=0)


getTextBlockList(self, atCursor=False)


Descriptors

__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

pTextBlock

typerig.proxy.application.app.pTextBlock = class pTextBlock(__builtin__.object)

Proxy to flTextBlock object

Constructor:
        pTextBlock(flTextBlock)

Attributes:
        .fl (flTextBlock): flTextBlock Parent

Methods

__init__(self, textBlock)


__repr__(self)


clone(self)


getFontSize(self)


getFrameSize(self)


getGlyphBounds(self)


getString(self)


getTransform(self)


getWrapState(self)


height(self)


reloc(self, x, y)


resetTransform(self)


setFontSize(self, fontSize)


setFrameSize(self, width, height)


setFrameWidth(self, width)


setPageSize(self, sizeName, fixedHeight=(True, True))


setTextWrap(self, width)


setTransform(self, newTransform)


setWrapState(self, wrapText=True)


update(self)


width(self)


x(self)


y(self)


Descriptors

__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)