Feb-21-2024, 04:30 AM
(This post was last modified: Feb-22-2024, 07:34 AM by wilkinsonwilfrid.)
(Feb-12-2023, 06:39 PM)DrakeSoft Wrote: I have worked around the issue for now with an ugly hack
def removeMultipleFonts(self): html = self.editor.document().toHtml() htmlTransformed = re.sub(r"(font-family:)('.+'),('.+')", r'\1\3', html) self.editor.document().setHtml(htmlTransformed)geometry dash
Is seems to resolve the issue. I invoke this on changing font and saving the file.
That is the problem that I am having as well. I do not know how to find a solution to this problem. It was you who provided the solution. The problem has been repaired by me. I am grateful to you.