PyQt5.QtGui.
QFontMetrics
C++ documentation
QFontInfo
QFontMetricsF
Enter search terms or a module, class or function name.