Cuperino / QPrompt-Teleprompter

Teleprompter software for all video creators. Built with ease of use, productivity, control accuracy, and smooth performance in mind.
https://qprompt.app
GNU General Public License v3.0
357 stars 23 forks source link

Font size, word spacing and letter spacing sliders have no effect after a previously saved document is loaded #107

Closed Cuperino closed 1 year ago

Cuperino commented 1 year ago

Refer to conversation with David Stevens on Telegram chat, dating August 5, 2022.

Cuperino commented 1 year ago

I hadn't realized this, but Qt is saving letter-spacing, word-spacing, and font-size settings into the exported HTML file. By doing so, it prevents those sliders from working because they operate under the presumption that those values aren't specified in the document. The values from the document then override those from the sliders, preventing them from working.

To work around the issue, open any file you saved from QPrompt using Notepad or any other basic text editor. Go to line 4, where you will find something like this:

And remove the style properties from the body tag. The body tag should look like: QPrompt v1.1 automatically reloads open documents if they're modified from another software. Meaning you can clean the body tag from another program without having to re-open the file in QPrompt and the sliders will instantly work again.