You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my template I'm using a black icon and changing the colour to cyan using Image Effects > Colorize.
In the template, the XML line is:
<ImageEffect Code="2" Param="Cyan 100"/>
When the document is generated, it changes it to, even dropping part of the code to a new line:
<ImageEffect Code="2" Param="Cyan 100"/>
In Scribus, it creates a new colour called Cyan 100, which is brown in the Colors and Fills window...
And sets the Shade to 0% in Image Effects > Colorize, so it looks white.
When I open the .SLA file in a text editor and Find and Replace the generated code with the template code, everything works. Otherwise, I have to go into each individual icon in Scribus and change them all back to the correct colour.
The text was updated successfully, but these errors were encountered:
This is indeed a nasty bug, since means exactly that: it's the numeric character entity of a linefeed character in XML... and my SG script stupidely replaces this with its "real" meaning (a linefeed) that breaks the really stupid separator chosen by Scribus to distinguish multiple parameters of an effect.
I'll have to dig deep in the code and Python encoding/decoding mechanisms to find out where that replacement happens and how to prevent it... might take quite some time. I'm sorry.
If you find the time to look into it, I'd be happy to merge any fix, even ugly looking.
In my template I'm using a black icon and changing the colour to cyan using Image Effects > Colorize.
In the template, the XML line is:
When the document is generated, it changes it to, even dropping part of the code to a new line:
In Scribus, it creates a new colour called Cyan 100, which is brown in the Colors and Fills window...
And sets the Shade to 0% in Image Effects > Colorize, so it looks white.
When I open the .SLA file in a text editor and Find and Replace the generated code with the template code, everything works. Otherwise, I have to go into each individual icon in Scribus and change them all back to the correct colour.
The text was updated successfully, but these errors were encountered: