def test_word_spacing(self): # Modified word spacing font = QFont(self._TestFont) font.setPointSizeF(30) font.setWordSpacing(20.5) self.lyr.textFont = font self.checkTest()
def test_word_spacing(self): # Modified word spacing format = self.lyr.format() font = QFont(self._TestFont) font.setWordSpacing(20.5) format.setFont(font) format.setSize(30) self.lyr.setFormat(format) self.checkTest()