Scribus Forums

Scribus => Scripts and Plugins => Topic started by: tanzeem on October 07, 2025, 12:25:31 PM

Title: Running script to insert html content having bold raises dialog prompt.
Post by: tanzeem on October 07, 2025, 12:25:31 PM
When running Scripter API and trying to insert an HTML content to a textframe and applying paragraph style using scribus.setParagraphStyle(style)
I get a dialog box confirmation that:
The Font Bold is not installed. Use Dejavu Sans, Book instead along with a select box to select the font.
If I give the selection, everytime i run the script, the dialog pops up.
and i get the portion that is bold get bold.
If i cancel it, the portion doesnt get bold and dialog never comes up.
Can I set a default font in such cases? How to do it.
Title: Re: Running script to insert html content having bold raises dialog prompt.
Post by: a.l.e on October 08, 2025, 06:47:11 AM
Can you please paste the relevant snippet from your code?