Details
Description
QFont::setFeature() was introduced in Qt 6.7 and it takes a QFont::Tag.
PySide6 6.8.2 does not allow constructing a QFont.Tag with a four-character code, which prevents using QFont.setFeature():
tag = QFont.Tag("tnum") # <-- TypeError font = QFont() font.setFeature(tag, 1)
The following constructors (described in C++ docs) are also missing (AttributeError):
tag2 = QFont.Tag.fromString("tnum") tag3 = QFont.Tag.fromValue(0x746e756d)