RFeatures

class RFeatures()

addObserver(observer, methodName, notification)

Add an observer object. that will receive notification for the given methodName.

asDefcon()

Return the defcon object.

asFontParts()

Return a fontParts object

getRepresentation(name, **kwargs)

Get a representation by name.

Optionally arguments could be provided if the representation factory requires arguments.

holdChanges()

Capture changes and bundle them in a single change in a with statement.

performUndo()

Create a undo item and add it the the undo manager.

prepareUndo(undoTitle='')

Save the current state of the object.

releaseHeldChanges()

removeObserver(observer, notification)

Remove an observer object for a notification.

undo(undoTitle='')

Capture the current state of the object and create a undo item in a with statement.

Optionally an undoTitle can be provided.

changed()

Tell the environment that something has changed in the object. The behavior of this method will vary from environment to environment.

obj.changed()
Inherits from subclass: fontParts.fontshell.features.RFeatures

copyAttributes

font

The features’ parent BaseFont.

text

The .fea formated text representing the features. It must be a string.

naked()

copyData(source)

Subclasses may override this method. If so, they should call the super.

getParent()

setChanged()

update()

round()

setParent(parent)

Last edited on 24/01/2023