[scribus] Scripter setFontFeatures usage

Victor / tokiop tor at tokiop.com
Sun Feb 23 17:20:32 UTC 2020


Hi all,

thanks for this great software and continuous improvements.

I'm trying to set font feature on selected characters of a text frame from scripter, using Scribus 1.5.5 AppImage, SVN : 23095, on debian. The setFontFeatures function listed here[1] seems to allow this.

Using these steps as a minimal test :

1. select a text frame containing text
2. run this command from scripter console :

setFontFeatures("bold")
setTextShade(50)
setFontSize(30)

The shade and size are applied to the frame's text, but not the font feature.

Is this syntax supposed to work ?
Is it working for you ?

Thanks for any clues,
have a nice day!

Victor

[1] here https://wiki.scribus.net/canvas/Automatic_Scripter_Commands_list




More information about the scribus mailing list