Scripter setFontFeatures usage

Victor / tokiop <[email protected]>
Newsgroups gmane.comp.graphics.scribus
Message-ID <[email protected]>
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


___
Scribus Mailing List: [email protected]
Edit your options or unsubscribe:
http://lists.scribus.net/mailman/listinfo/scribus
See also:
http://wiki.scribus.net
http://forums.scribus.net
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.