Commit: much improved color support (or colour, if you must ;-) HTML and SVG common names are now handled by UT_parseColor. Now you can use rrggbb, #rrggbb, or "blue" "green" "lightblue", etc...
Also, phony CMYK support. The incoming CMYK values are converted to RGB values. specify CMYK values as color:cmyk(cc,mm,yy,kk) There's no ability to input CMYK values from the GUI yet. No, CMYK values don't get just passed through to the printer. Much better colorspace handling will be in after version 1.0 A sample CMYK abiword file is attached. Dom
<?xml version="1.0"?> <!DOCTYPE abiword PUBLIC "-//ABISOURCE//DTD AWML 1.0 Strict//EN" "http://www.abisource.com/awml.dtd"> <abiword xmlns:awml="http://www.abisource.com/awml.dtd" version="0.99.1" fileformat="1.0" styles="unlocked"> <!-- ===================================================================== --> <!-- This file is an AbiWord document. --> <!-- AbiWord is a free, Open Source word processor. --> <!-- You may obtain more information about AbiWord at www.abisource.com --> <!-- You should not edit this file by hand. --> <!-- ===================================================================== --> <styles> <s type="P" name="Normal" basedon="" followedby="Current Settings" props="font-family:Times New Roman; margin-top:0pt; font-variant:normal; margin-left:0pt; text-indent:0in; widows:2; font-style:normal; font-weight:normal; text-decoration:none; color:000000; line-height:1.0; text-align:left; margin-bottom:0pt; text-position:normal; margin-right:0pt; bgcolor:transparent; font-size:12pt; field-font:NULL; font-stretch:normal"/> </styles> <pagesize pagetype="Letter" orientation="portrait" width="8.500000" height="11.000000" units="in" page-scale="1.000000"/> <section> <p style="Normal"><c props="lang:en-US; color:cmyk(0,100,100,0)">red</c></p> <p style="Normal"><c props="lang:en-US; color:cmyk(79,0,87,56)">green</c></p> <p style="Normal"><c props="lang:en-US; color:cmyk(100,79,0,0)">blue</c></p> <p style="Normal"><c props="lang:en-US; color:cmyk(255,0,0,0)">cyan</c></p> <p style="Normal"><c props="lang:en-US; color:cmyk(0,255,0,0)">magenta</c></p> <p style="Normal"><c props="lang:en-US; color:cmyk(0,0,255,0)">yellow</c></p> <p style="Normal"><c props="lang:en-US; color:cmyk(0,0,0,255)">black</c></p> </section> </abiword>
