Skip to content

fontlab_echopy.api91 · declarations 001

Back to fontlab_echopy.api91

CAP_PARAMS_DEFAULTS module-attribute

CAP_PARAMS_DEFAULTS

CAP_TYPES module-attribute

CAP_TYPES

FGBRUSH_DEFAULTS module-attribute

FGBRUSH_DEFAULTS

FONTLAB_BUILD module-attribute

FONTLAB_BUILD

FONTLAB_VERSION module-attribute

FONTLAB_VERSION

JOIN_TYPES module-attribute

JOIN_TYPES

NEW_IN_9_1 module-attribute

NEW_IN_9_1: dict[str, Change]

REMOVED_IN_9_1 module-attribute

REMOVED_IN_9_1: dict[str, Change]

WARNINGS module-attribute

WARNINGS

detect

detect(font: Any = None) -> dict[str, bool | None]

Report which 9.1 members the running host exposes; False outside FontLab; Font Info entries are None unless a font is passed.

flPackage.info members need a font: pass font (an flPackage) to check font.info; without it those entries are None ("not checked").

has_member

has_member(owner: Any, member: str) -> bool

Detect a feature by attribute presence; never compare build numbers.

objects_from_json

objects_from_json(data: Any, producer: Any = None, qbytearray: Any = None) -> list | None

Call getObjectsFromJsonData safely: bytes and str are wrapped before the native call.

qbytearray_bytes

qbytearray_bytes(data: Any) -> bytes

Read a QByteArray as bytes with data(); bytes(qbytearray) fails in PythonQt.

to_qbytearray

to_qbytearray(data: Any, qbytearray: Any = None) -> Any

Wrap bytes, bytearray or str in a QByteArray; pass a QByteArray through.