Skip to content

fontlab.flTextBlock · declarations 002

Back to fontlab.flTextBlock

initiallySelected instance-attribute

initiallySelected: Any

bool

Whether glyphs start in a selected state when the text block is first shown.

Source: FontLab Proteus API documentation

isAltPressed

isAltPressed() -> bool

bool isAltPressed()

isFramed

isFramed() -> bool

bool isFramed()

isMetaPressed

isMetaPressed() -> bool

bool isMetaPressed()

kerningProcessing instance-attribute

kerningProcessing: Any

bool

Whether kerning is applied.

Source: FontLab Proteus API documentation

keyPressEvent

keyPressEvent(*args: Any, **kwargs: Any) -> Any

bool keyPressEvent(QKeyEvent*)

lastCharIndex

lastCharIndex() -> int

int lastCharIndex()

lastIndex

lastIndex() -> int

int lastIndex()

layoutProcessing instance-attribute

layoutProcessing: Any

bool

Whether OpenType glyph substitution (GSUB) is applied.

Source: FontLab Proteus API documentation

locked instance-attribute

locked: Any

bool

If True, the text block is non-interactive — mouse and keyboard events pass through without effect.

Source: FontLab Proteus API documentation

marksProcessing instance-attribute

marksProcessing: Any

bool

Whether mark attachment is applied.

Source: FontLab Proteus API documentation

mouseDoubleClickEvent

mouseDoubleClickEvent(*args: Any, **kwargs: Any) -> Any

bool mouseDoubleClickEvent(QMouseEvent*)

mouseMoveEvent

mouseMoveEvent(*args: Any, **kwargs: Any) -> Any

bool mouseMoveEvent(QMouseEvent*)

mousePressEvent

mousePressEvent(*args: Any, **kwargs: Any) -> Any

bool mousePressEvent(QMouseEvent*)

mouseReleaseEvent

mouseReleaseEvent(*args: Any, **kwargs: Any) -> Any

bool mouseReleaseEvent(QMouseEvent*)

package instance-attribute

package: Any

flPackage

The font file (package) used for rendering the glyphs. Set this to switch which font the metrics view displays.

Source: FontLab Proteus API documentation

paintedNodesScreenRect

paintedNodesScreenRect() -> QRectF

QRectF paintedNodesScreenRect()

paragraphBlock

paragraphBlock() -> fgParagraphBlock

fgParagraphBlock paragraphBlock()

parentTextBlock

parentTextBlock() -> flTextBlock

flTextBlock parentTextBlock()

reformat

reformat() -> Any

reformat()

removeFeature

removeFeature(feature: str) -> Any

removeFeature(QString feature)

removeFeatures

removeFeatures() -> Any

removeFeatures()

script instance-attribute

script: Any

uint

The OpenType script identifier for layout processing. Used when applying script-specific features.

Source: FontLab Proteus API documentation

setActiveGlyph

setActiveGlyph(arg0: flGlyphInfo) -> Any

setActiveGlyph(flGlyphInfo)

setAltPressed

setAltPressed(redraw: Any = ...) -> Any

setAltPressed(bool b[, bool redraw = true])

setCheckMouseHoverNode

setCheckMouseHoverNode(bool: Any) -> Any

setCheckMouseHoverNode(bool)

setExclusiveEditing

setExclusiveEditing(bool: Any) -> Any

setExclusiveEditing(bool)

setFeatures

setFeatures(*args: Any, **kwargs: Any) -> Any

setFeatures(list(QString), bool reformat)

setFixedHeight

setFixedHeight(*args: Any, **kwargs: Any) -> Any

setFixedHeight(bool, bool)

setFrameSize

setFrameSize(canvas_size: QSizeF) -> Any

setFrameSize(QSizeF canvas_size)

setFrameWidth

setFrameWidth(double: Any) -> Any

setFrameWidth(double)

setLeftMetric

setLeftMetric(glyph_info: flGlyphInfo, measurement: bool) -> Any

setLeftMetric(flGlyphInfo glyph_info, bool measurement)

setMetaPressed

setMetaPressed(redraw: Any = ...) -> Any

setMetaPressed(bool b[, bool redraw = true])

setParentTextBlock

setParentTextBlock(arg0: flTextBlock) -> Any

setParentTextBlock(flTextBlock)

setRightMetric

setRightMetric(arg0: QPointF, glyph_info: flGlyphInfo, measurement: bool) -> Any

setRightMetric(QPointF, flGlyphInfo glyph_info, bool measurement)

setShowCursor

setShowCursor(bool: Any) -> Any

setShowCursor(bool)

setShowNodes

setShowNodes(bool: Any) -> Any

setShowNodes(bool)

setTextBlockMode

setTextBlockMode(viewport_pos: Any = ...) -> Any

setTextBlockMode(EditMode text_block_mode[, QPoint viewport_pos=QPoint()])

symbolList

symbolList() -> fgSymbolList

fgSymbolList symbolList()

textFits

textFits() -> bool

bool textFits()