Mantis Issue Tracking for Scribus
· Hosting provided by Anduin.net / Øverby Consulting ·

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007831ScribusColor Managementpublic09-Feb-25 19:2709-Mar-14 04:02
Reporterczd 
Assigned To 
PrioritynormalSeverityfeatureReproducibilityalways
StatusacknowledgedResolutionopen 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0007831: Support lowercase tags and color name in TXT color palettes
DescriptionCoding standards in the scribus color palettes (.txt):
- Support lowercase tags. Tags and attributes must be in all lowercase in XHTML elements [1]. Incorrect (tags mixed lowercase and uppercase).
- Use an indent of 2 spaces, with no tabs. No trailing whitespace.
- Read the name of the color palettes from the source file (example from the <swatch name="Palette name"> tag, not from the file name and support special characters.

[1] http://www.w3.org/TR/xhtml1/#h-4.2 [^]
Steps To ReproduceCreate a txt file with the content:
<?xml version="1 0" encoding="UTF-8"?>
<swatch colums="2" name="White and Black">
    <color cmyk="#00000000" name="White lowercase" />
    <COLOR CMYK="#00000000" NAME="White uppercase" />
</swatch>

Place it to "lib/scribus/swatches/"
Only the uppercase variation works: <COLOR CMYK="#00000000" NAME="White" />
Additional InformationFinal example result:
<?xml version="1 0" encoding="UTF-8"?>
<swatch colums="2" name="Color atlas 6°/10%">
  <color cmyk="#00000000" name="White" />
  <color cmyk="#ffffffff" name="Black" />
  <color cmyk="#00FFFF00" name="Red" />
  <color cmyk="#00000000" name="..and more.." />
</swatch>

The color palette name is "Color atlas 6°/10% " (the file name is example coloratlas_6.txt). The first color is "White" with two colums and the color in the next line is "Red".
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
09-Feb-25 19:27 czd New Issue
09-Feb-25 19:59 jghali Severity minor => feature
09-Mar-14 04:02 christoph_s Status new => acknowledged



Copyright © 2000 - 2013 MantisBT Team
Powered by Mantis Bugtracker