Features¶
Must Override¶
- BaseFeatures._get_text() str | None[source]¶
Get the features text.
This is the environment implementation of the
BaseFeatures.textproperty getter.- Returns:
_empty. The value will be normalized withnormalizers.normalizeFeatureText.- Raises:
NotImplementedError – If the method has not been overridden by a subclass.
Important
Subclasses must override this method.
- BaseFeatures._set_text(value: str | None) None[source]¶
Set the features text.
Description
This is the environment implementation of the
BaseFeatures.textproperty setter.- Parameters:
value – A `AFDKO FEA formatted
<https://adobe-type-tools.github.io/afdko/OpenTypeFeatureFileSpecification.html>`_
strorNone. The value will have beennormalized with
normalizers.normalizeFeatureText.- Raises:
NotImplementedError – If the method has not been overridden by a subclass.
Important
Subclasses must override this method.