[scribus] Scripter setFontFeatures usage

JLuc jluc at no-log.org
Sun Feb 23 20:13:24 UTC 2020


Le 23/02/2020 à 20:57, Victor / tokiop a écrit :
> As a side note : "bold" doesn't seem to be a valid fontFeature entry. A bold selection is encoded by scribus by switching the font for it's bold variant with FONT="fontName Bold". Adding it manually in the .sla as FEATURES="inherit bold" has no effect.

This is the way scribus manages bold, italic and other font features :
it's not managed and coded as attribute for the base font
and these variants are only available when the exact altered font exists.
It's said to be the only way to provide a pro DTP quality font management.

OTOH when i need a bold variant of a font that doesnt have one,
i use a finetuned "outline" attribute.

JL

> 
> ___
> Scribus Mailing List: scribus at lists.scribus.net
> Edit your options or unsubscribe:
> http://lists.scribus.net/mailman/listinfo/scribus
> See also:
> http://wiki.scribus.net
> http://forums.scribus.net
> 





More information about the scribus mailing list