Running script to insert html content having bold raises dialog prompt.

Previous topic - Next topic

tanzeem

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.

a.l.e

Can you please paste the relevant snippet from your code?