diff --git a/resources/symbology-style.xml b/resources/symbology-style.xml
index 36833aab209..8e5cb0dd21f 100644
--- a/resources/symbology-style.xml
+++ b/resources/symbology-style.xml
@@ -5854,6 +5854,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tests/src/python/test_qgspallabeling_base.py b/tests/src/python/test_qgspallabeling_base.py
index 69a0cda6fd2..48b56f8e071 100644
--- a/tests/src/python/test_qgspallabeling_base.py
+++ b/tests/src/python/test_qgspallabeling_base.py
@@ -47,7 +47,8 @@ from qgis.core import (
QgsVectorTileLayer,
QgsVectorTileBasicLabelingStyle,
QgsWkbTypes,
- QgsVectorTileBasicLabeling
+ QgsVectorTileBasicLabeling,
+ QgsTextFormat
)
from qgis.testing import start_app, unittest
@@ -243,8 +244,9 @@ class TestQgsPalLabeling(unittest.TestCase):
lyr.fieldName = 'text' # default in test data sources
font = self.getTestFont()
font.setPointSize(32)
- format = lyr.format()
+ format = QgsTextFormat()
format.setFont(font)
+ format.setColor(QColor(0,0,0))
format.setNamedStyle('Roman')
format.setSize(32)
format.setSizeUnit(QgsUnitTypes.RenderPoints)