# The following has been generated automatically from src/core/textrenderer/qgstextformat.h
try:
    QgsTextFormat.fromQFont = staticmethod(QgsTextFormat.fromQFont)
    QgsTextFormat.fromMimeData = staticmethod(QgsTextFormat.fromMimeData)
    QgsTextFormat.textFormatPreviewPixmap = staticmethod(QgsTextFormat.textFormatPreviewPixmap)
    QgsTextFormat.__group__ = ['textrenderer']
except NameError:
    pass
