Re: Combine FOP PDFBox efforts?
Ben Litchfield wrote: snip/ I propose that classes in FOP's package be 'merged' into the PDFBox library and FOP utilize PDFBox for PDF functionality. I think we should do this for a variety of reasons; -PDFBox FOP benefit by gaining functionality -PDFBox FOP benefit by having a larger user base, which means code is used more, tested more, contributed to more -The entire community benefits by having higher quality PDF components available -There are several projects that currently take FOP output and perform post processing with PDFBox, this could be optimized if FOP used PDFBox as its core -Future core PDF development efforts will no longer be duplicated between these two projects Thanks for coming forward with this proposal. It certainly looks like both projects have a lot to gain from such a merge. The one who really needs to comment on this proposal is Jeremias as he had plans to take the PDF library out of FOP's code base and make it a separate library in XML Graphics Commons project. It could be that when we do this, we also merge with PDF Box Libraries. I believe Jeremias is unwell at the moment, so he might not be able to comment for a few days. Jeremias is also well versed in the ASF position on licensing. I wanted to gauge interest from FOP developers and start to think about how we can make this work. What do you guys think? In short its a good idea :) Chris
[EMAIL PROTECTED]: Project xml-fop (in module xml-fop) failed
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [EMAIL PROTECTED] Project xml-fop has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 29 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - xml-fop : XSL-FO (Formatting Objects) processor Full details are available at: http://vmgump.apache.org/gump/public/xml-fop/xml-fop/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Sole output [fop.jar] identifier set to project name -INFO- Made directory [/usr/local/gump/public/workspace/xml-fop/build/classes] -INFO- Failed with reason build failed -INFO- Failed to extract fallback artifacts from Gump Repository The following work was performed: http://vmgump.apache.org/gump/public/xml-fop/xml-fop/gump_work/build_xml-fop_xml-fop.html Work Name: build_xml-fop_xml-fop (Type: Build) Work ended in a state of : Failed Elapsed: 33 secs Command Line: java -Djava.awt.headless=true -Xbootclasspath/p:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/usr/local/gump/public/workspace/xml-xerces2/build/xercesImpl.jar:/usr/local/gump/public/workspace/xml-xalan/build/serializer.jar:/usr/local/gump/public/workspace/xml-xalan/build/xalan-unbundled.jar org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only package [Working Directory: /usr/local/gump/public/workspace/xml-fop] CLASSPATH: /opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/xml-fop/build/classes:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/packages/junit3.8.1/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/xml-batik/batik-10032006/lib/batik-util.jar:/usr/local/gump/public/workspace/xml-batik/batik-10032006/lib/batik-swing.jar:/usr/local/gump/public/workspace/xml-batik/batik-10032006/lib/batik-css.jar:/usr/local/gump/public/workspace/xml-batik/batik-10032006/lib/batik-bridge.jar:/usr/local/gump/public/workspace/xml-batik/batik-10032006/lib/batik-xml.jar:/usr/local/gump/public/workspace/xml-batik/batik-10032006/lib/batik-svg-dom.jar:/usr/local/gump/public/workspace/xml-batik/batik-10032006/lib/batik-awt-util.jar:/usr/local/gump/public/workspace/xml-batik/batik-10032006/lib/batik-transcoder.jar:/usr/local/gump/public/workspace/xml-batik/batik-10032006/lib/batik-gui-util.jar:/usr/local/gump/public/workspace/xml-batik/batik-10032006/lib/batik-dom.jar:/usr/local/gump/public/workspace/xml-batik/batik-10032006/lib/batik-ext.jar:/usr/local/gump/public/workspace/xml-batik/batik-10032006/lib/batik-script.jar:/usr/local/gump/public/workspace/xml-batik/batik-10032006/lib/batik-svggen.jar:/usr/local/gump/public/workspace/xml-batik/batik-10032006/lib/batik-parser.jar:/usr/local/gump/public/workspace/xml-batik/batik-10032006/lib/batik-extension.jar:/usr/local/gump/public/workspace/xml-batik/batik-10032006/lib/batik-gvt.jar:/usr/local/gump/public/workspace/excalibur/framework/api/target/excalibur-framework-api-10032006.jar:/usr/local/gump/public/workspace/excalibur/framework/impl/target/excalibur-framework-impl-10032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-10032006.jar:/usr/local/gump/public/workspace/jakarta-commons/io/build/jakarta-commons-io-10032006.jar:/usr/local/gump/public/workspace/jakarta-servletapi/dist/lib/servlet.jar - [javac] /x1/gump/public/workspace/xml-fop/src/java/org/apache/fop/image/PNGImage.java:57: cannot find symbol [javac] symbol : class PNGRed [javac] location: class org.apache.fop.image.PNGImage [javac] PNGRed red = new PNGRed(stream, param); [javac] ^ [javac] /x1/gump/public/workspace/xml-fop/src/java/org/apache/fop/image/PNGImage.java:57: cannot find symbol [javac] symbol : class PNGRed [javac] location: class org.apache.fop.image.PNGImage [javac] PNGRed red = new PNGRed(stream, param); [javac] ^ [javac] /x1/gump/public/workspace/xml-fop/src/java/org/apache/fop/layoutmgr/table/TableCellLayoutManager.java:340: warning: [deprecation]
[EMAIL PROTECTED]: Project xml-fop (in module xml-fop) failed
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [EMAIL PROTECTED] Project xml-fop has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 29 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - xml-fop : XSL-FO (Formatting Objects) processor Full details are available at: http://vmgump.apache.org/gump/public/xml-fop/xml-fop/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Sole output [fop.jar] identifier set to project name -INFO- Made directory [/usr/local/gump/public/workspace/xml-fop/build/classes] -INFO- Failed with reason build failed -INFO- Failed to extract fallback artifacts from Gump Repository The following work was performed: http://vmgump.apache.org/gump/public/xml-fop/xml-fop/gump_work/build_xml-fop_xml-fop.html Work Name: build_xml-fop_xml-fop (Type: Build) Work ended in a state of : Failed Elapsed: 33 secs Command Line: java -Djava.awt.headless=true -Xbootclasspath/p:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/usr/local/gump/public/workspace/xml-xerces2/build/xercesImpl.jar:/usr/local/gump/public/workspace/xml-xalan/build/serializer.jar:/usr/local/gump/public/workspace/xml-xalan/build/xalan-unbundled.jar org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only package [Working Directory: /usr/local/gump/public/workspace/xml-fop] CLASSPATH: /opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/xml-fop/build/classes:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/packages/junit3.8.1/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/xml-batik/batik-10032006/lib/batik-util.jar:/usr/local/gump/public/workspace/xml-batik/batik-10032006/lib/batik-swing.jar:/usr/local/gump/public/workspace/xml-batik/batik-10032006/lib/batik-css.jar:/usr/local/gump/public/workspace/xml-batik/batik-10032006/lib/batik-bridge.jar:/usr/local/gump/public/workspace/xml-batik/batik-10032006/lib/batik-xml.jar:/usr/local/gump/public/workspace/xml-batik/batik-10032006/lib/batik-svg-dom.jar:/usr/local/gump/public/workspace/xml-batik/batik-10032006/lib/batik-awt-util.jar:/usr/local/gump/public/workspace/xml-batik/batik-10032006/lib/batik-transcoder.jar:/usr/local/gump/public/workspace/xml-batik/batik-10032006/lib/batik-gui-util.jar:/usr/local/gump/public/workspace/xml-batik/batik-10032006/lib/batik-dom.jar:/usr/local/gump/public/workspace/xml-batik/batik-10032006/lib/batik-ext.jar:/usr/local/gump/public/workspace/xml-batik/batik-10032006/lib/batik-script.jar:/usr/local/gump/public/workspace/xml-batik/batik-10032006/lib/batik-svggen.jar:/usr/local/gump/public/workspace/xml-batik/batik-10032006/lib/batik-parser.jar:/usr/local/gump/public/workspace/xml-batik/batik-10032006/lib/batik-extension.jar:/usr/local/gump/public/workspace/xml-batik/batik-10032006/lib/batik-gvt.jar:/usr/local/gump/public/workspace/excalibur/framework/api/target/excalibur-framework-api-10032006.jar:/usr/local/gump/public/workspace/excalibur/framework/impl/target/excalibur-framework-impl-10032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-10032006.jar:/usr/local/gump/public/workspace/jakarta-commons/io/build/jakarta-commons-io-10032006.jar:/usr/local/gump/public/workspace/jakarta-servletapi/dist/lib/servlet.jar - [javac] /x1/gump/public/workspace/xml-fop/src/java/org/apache/fop/image/PNGImage.java:57: cannot find symbol [javac] symbol : class PNGRed [javac] location: class org.apache.fop.image.PNGImage [javac] PNGRed red = new PNGRed(stream, param); [javac] ^ [javac] /x1/gump/public/workspace/xml-fop/src/java/org/apache/fop/image/PNGImage.java:57: cannot find symbol [javac] symbol : class PNGRed [javac] location: class org.apache.fop.image.PNGImage [javac] PNGRed red = new PNGRed(stream, param); [javac] ^ [javac] /x1/gump/public/workspace/xml-fop/src/java/org/apache/fop/layoutmgr/table/TableCellLayoutManager.java:340: warning: [deprecation]
Re: Combine FOP PDFBox efforts?
Ben Litchfield schrieb: Hello all, Hi Ben, I am the main developer of PDFBox, an open source(BSD) PDF library. How many other developers are working on PDFBox? [..] I propose that classes in FOP's package be 'merged' into the PDFBox library and FOP utilize PDFBox for PDF functionality. Are you proposing to do this on SourceForge or here at the ASF? -- Christian
Re: Combine FOP PDFBox efforts?
Hi Christian, Currently I am the only developer that works consistently on PDFBox, other developers contribute occasionally. I just meant to introduce myself as I assume you would not know who I am. I was proposing that PDFBox would remain on SourceForge, but I am open to other possibilities. As far as I can tell that would not need to change, is there a reason it should? Ben Ben Litchfield schrieb: Hello all, Hi Ben, I am the main developer of PDFBox, an open source(BSD) PDF library. How many other developers are working on PDFBox? [..] I propose that classes in FOP's package be 'merged' into the PDFBox library and FOP utilize PDFBox for PDF functionality. Are you proposing to do this on SourceForge or here at the ASF? -- Christian
[EMAIL PROTECTED]: Project xml-fop (in module xml-fop) failed
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [EMAIL PROTECTED] Project xml-fop has an issue affecting its community integration. This issue affects 1 projects. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - xml-fop : XSL-FO (Formatting Objects) processor Full details are available at: http://vmgump.apache.org/gump/public/xml-fop/xml-fop/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Sole output [fop.jar] identifier set to project name -INFO- Made directory [/usr/local/gump/public/workspace/xml-fop/build/classes] -INFO- Failed with reason build failed -INFO- Failed to extract fallback artifacts from Gump Repository The following work was performed: http://vmgump.apache.org/gump/public/xml-fop/xml-fop/gump_work/build_xml-fop_xml-fop.html Work Name: build_xml-fop_xml-fop (Type: Build) Work ended in a state of : Failed Elapsed: 33 secs Command Line: java -Djava.awt.headless=true -Xbootclasspath/p:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/usr/local/gump/public/workspace/xml-xerces2/build/xercesImpl.jar:/usr/local/gump/public/workspace/xml-xalan/build/serializer.jar:/usr/local/gump/public/workspace/xml-xalan/build/xalan-unbundled.jar org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only package [Working Directory: /usr/local/gump/public/workspace/xml-fop] CLASSPATH: /opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/xml-fop/build/classes:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/packages/junit3.8.1/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/xml-batik/batik-10032006/lib/batik-util.jar:/usr/local/gump/public/workspace/xml-batik/batik-10032006/lib/batik-swing.jar:/usr/local/gump/public/workspace/xml-batik/batik-10032006/lib/batik-css.jar:/usr/local/gump/public/workspace/xml-batik/batik-10032006/lib/batik-bridge.jar:/usr/local/gump/public/workspace/xml-batik/batik-10032006/lib/batik-xml.jar:/usr/local/gump/public/workspace/xml-batik/batik-10032006/lib/batik-svg-dom.jar:/usr/local/gump/public/workspace/xml-batik/batik-10032006/lib/batik-awt-util.jar:/usr/local/gump/public/workspace/xml-batik/batik-10032006/lib/batik-transcoder.jar:/usr/local/gump/public/workspace/xml-batik/batik-10032006/lib/batik-gui-util.jar:/usr/local/gump/public/workspace/xml-batik/batik-10032006/lib/batik-dom.jar:/usr/local/gump/public/workspace/xml-batik/batik-10032006/lib/batik-ext.jar:/usr/local/gump/public/workspace/xml-batik/batik-10032006/lib/batik-script.jar:/usr/local/gump/public/workspace/xml-batik/batik-10032006/lib/batik-svggen.jar:/usr/local/gump/public/workspace/xml-batik/batik-10032006/lib/batik-parser.jar:/usr/local/gump/public/workspace/xml-batik/batik-10032006/lib/batik-extension.jar:/usr/local/gump/public/workspace/xml-batik/batik-10032006/lib/batik-gvt.jar:/usr/local/gump/public/workspace/excalibur/framework/api/target/excalibur-framework-api-10032006.jar:/usr/local/gump/public/workspace/excalibur/framework/impl/target/excalibur-framework-impl-10032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-10032006.jar:/usr/local/gump/public/workspace/jakarta-commons/io/build/jakarta-commons-io-10032006.jar:/usr/local/gump/public/workspace/jakarta-servletapi/dist/lib/servlet.jar - [javac] /x1/gump/public/workspace/xml-fop/src/java/org/apache/fop/image/PNGImage.java:57: cannot find symbol [javac] symbol : class PNGRed [javac] location: class org.apache.fop.image.PNGImage [javac] PNGRed red = new PNGRed(stream, param); [javac] ^ [javac] /x1/gump/public/workspace/xml-fop/src/java/org/apache/fop/image/PNGImage.java:57: cannot find symbol [javac] symbol : class PNGRed [javac] location: class org.apache.fop.image.PNGImage [javac] PNGRed red = new PNGRed(stream, param); [javac] ^ [javac] /x1/gump/public/workspace/xml-fop/src/java/org/apache/fop/layoutmgr/table/TableCellLayoutManager.java:340: warning: [deprecation]
[EMAIL PROTECTED]: Project xml-fop (in module xml-fop) failed
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [EMAIL PROTECTED] Project xml-fop has an issue affecting its community integration. This issue affects 1 projects. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - xml-fop : XSL-FO (Formatting Objects) processor Full details are available at: http://vmgump.apache.org/gump/public/xml-fop/xml-fop/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Sole output [fop.jar] identifier set to project name -INFO- Made directory [/usr/local/gump/public/workspace/xml-fop/build/classes] -INFO- Failed with reason build failed -INFO- Failed to extract fallback artifacts from Gump Repository The following work was performed: http://vmgump.apache.org/gump/public/xml-fop/xml-fop/gump_work/build_xml-fop_xml-fop.html Work Name: build_xml-fop_xml-fop (Type: Build) Work ended in a state of : Failed Elapsed: 33 secs Command Line: java -Djava.awt.headless=true -Xbootclasspath/p:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/usr/local/gump/public/workspace/xml-xerces2/build/xercesImpl.jar:/usr/local/gump/public/workspace/xml-xalan/build/serializer.jar:/usr/local/gump/public/workspace/xml-xalan/build/xalan-unbundled.jar org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only package [Working Directory: /usr/local/gump/public/workspace/xml-fop] CLASSPATH: /opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/xml-fop/build/classes:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/packages/junit3.8.1/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/xml-batik/batik-10032006/lib/batik-util.jar:/usr/local/gump/public/workspace/xml-batik/batik-10032006/lib/batik-swing.jar:/usr/local/gump/public/workspace/xml-batik/batik-10032006/lib/batik-css.jar:/usr/local/gump/public/workspace/xml-batik/batik-10032006/lib/batik-bridge.jar:/usr/local/gump/public/workspace/xml-batik/batik-10032006/lib/batik-xml.jar:/usr/local/gump/public/workspace/xml-batik/batik-10032006/lib/batik-svg-dom.jar:/usr/local/gump/public/workspace/xml-batik/batik-10032006/lib/batik-awt-util.jar:/usr/local/gump/public/workspace/xml-batik/batik-10032006/lib/batik-transcoder.jar:/usr/local/gump/public/workspace/xml-batik/batik-10032006/lib/batik-gui-util.jar:/usr/local/gump/public/workspace/xml-batik/batik-10032006/lib/batik-dom.jar:/usr/local/gump/public/workspace/xml-batik/batik-10032006/lib/batik-ext.jar:/usr/local/gump/public/workspace/xml-batik/batik-10032006/lib/batik-script.jar:/usr/local/gump/public/workspace/xml-batik/batik-10032006/lib/batik-svggen.jar:/usr/local/gump/public/workspace/xml-batik/batik-10032006/lib/batik-parser.jar:/usr/local/gump/public/workspace/xml-batik/batik-10032006/lib/batik-extension.jar:/usr/local/gump/public/workspace/xml-batik/batik-10032006/lib/batik-gvt.jar:/usr/local/gump/public/workspace/excalibur/framework/api/target/excalibur-framework-api-10032006.jar:/usr/local/gump/public/workspace/excalibur/framework/impl/target/excalibur-framework-impl-10032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-10032006.jar:/usr/local/gump/public/workspace/jakarta-commons/io/build/jakarta-commons-io-10032006.jar:/usr/local/gump/public/workspace/jakarta-servletapi/dist/lib/servlet.jar - [javac] /x1/gump/public/workspace/xml-fop/src/java/org/apache/fop/image/PNGImage.java:57: cannot find symbol [javac] symbol : class PNGRed [javac] location: class org.apache.fop.image.PNGImage [javac] PNGRed red = new PNGRed(stream, param); [javac] ^ [javac] /x1/gump/public/workspace/xml-fop/src/java/org/apache/fop/image/PNGImage.java:57: cannot find symbol [javac] symbol : class PNGRed [javac] location: class org.apache.fop.image.PNGImage [javac] PNGRed red = new PNGRed(stream, param); [javac] ^ [javac] /x1/gump/public/workspace/xml-fop/src/java/org/apache/fop/layoutmgr/table/TableCellLayoutManager.java:340: warning: [deprecation]
Use of colors in fop
Dear fop developers, One of the things I would like to see in fop is proper color management. Of course, just wanting it is not enough, so I would even create a patch for that :). I do have some extra time this weekend and next week. To coordinate and get my idea reviewed here's my plan: Color is currently handled very inconsistently in many places. In some cases it is handled as r/g/b values in an int[], in others a class, sometimes with or without colorspace information. There is duplicated code in many places. What I would like to do: - Replace ALL occurences of color values with a common color class. I would suggest java.awt.Color and java.awt.color.Colorspace. They have proper support. - Convert that color to the target space no earlier than the output renderer The default target color space is probably sRBG for most screen display devices. For PDF it is a little more complicated. Ideally there would be some kind of PDF-mode option, with possible values of PDF/A-1a, Pdf (print), PDF (screen), PDF (print B/W), PDF (print Grayscale), ... .For now, using CMYK for PDF should be sufficient. Once color is properly used it should be no problem to implement the rgb-cc() and colorspace() functions. Quenstions? Comments? Max Berger -- PGP/GnuPG ID: E81592BC Print: F489F8759D4132923EC4 BC7E072AB73AE81592BC For information about me or my projects please see http://max.berger.name signature.asc Description: OpenPGP digital signature