View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007831 | Scribus | Color Management | public | 2009-02-25 18:27 | 2009-03-14 03:02 |
Reporter | czd | Assigned To | |||
Priority | normal | Severity | feature | Reproducibility | always |
Status | acknowledged | Resolution | open | ||
Summary | 0007831: Support lowercase tags and color name in TXT color palettes | ||||
Description | Coding 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 Reproduce | Create 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 Information | Final 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". | ||||
Tags | No tags attached. | ||||
Patch | |||||
Date Modified | Username | Field | Change |
---|---|---|---|
2009-02-25 18:27 | czd | New Issue | |
2009-02-25 18:59 | jghali | Severity | minor => feature |
2009-03-14 03:02 | christoph_s | Status | new => acknowledged |