Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

With the XGC 1.4 release, the ColorExt class has been moved back to FOP pending the color redesign discussed on this page.

Current state (2010-10-28)

The new code has been integrated in color branches for Batik and FOP and running in production since August 2010 and is working fine. A vote has been called to merge the color branch into Trunk.

Development branches

Ideas

It makes sense to create multiple subclasses of the Color class for the various color specifications, but:

...

Most color conversions involve a white point (and sometimes a black point). Currently, it is not clear from the SVG and XSL-FO WDs which white points shall be used (especially with CIE Lab colors). We currently assume D50 D65 as white point on the input side where no color profile tells us otherwise. The current opinion of the SVG WG is to use D65 in SVG Color 1.2.

Color.equals() method

The problem of the Color.equals() method outlined above cannot be solved by simply providing a better equals() on a Color subclass because that violates the contract established in the runtime Javadocs. We have several possibilities:

...