My script changes text in a text layer, but doing that changes the text from italic to normal text. Is there a way to not make it change; or to change it back afterwards?
I looked in the command browser in gimp but only found commands to change the font itself. I couldn't find a way to pass any additional formatting, but maybe I missed something.. Any ideas?
Gimp has no notion of "Italic" or "Bold" font attributes. Fonts usually have several variants that appear "italic" (such as
Latin Modern Sans ObliqueorLatin Modern Roman Slanted) or "bold" with various degrees (Noto Sansgoes formNoto Sans ThintoNoto Sans Heavy, with intermediateSemi-bold,Bold, andUltra-boldvariants. But it's all in the name.