Including an sRGB color profile?

2006-03-31 Thread Jeremias Maerki
I'm near the end of my work for basic PDF/A-1b support. PDF/A-1b
mandates the use of an OutputIntent if uncalibrated color spaces (like
DeviceRGB) are used. That means that in each PDF which has PDF/A-1b
enabled an ICC color profile will be embedded and used in the
OutputIntent object. Since we don't support ICC-based colors, yet, I've
hard-coded sRGB into PDF/A-1b support (XSL-FO supports sRGB and
ICC colors, XSL 1.0, 5.9.9). But that means I need to embed the sRGB
IEC61966-2.1 color profile. The JRE provides such a color profile but
does this is a weird way: the profile alone is about 140KB. That's why
I'd like to use the standard sRGB profile from HP. Info on that file:

Obtained from: http://www.srgb.com/usingsrgb.html

The file sRGB Color Space Profile.icm is:
Copyright (c) 1998 Hewlett-Packard Company

To anyone who acknowledges that the file sRGB Color Space Profile.icm 
is provided AS IS WITH NO EXPRESS OR IMPLIED WARRANTY:
permission to use, copy and distribute this file for any purpose is hereby 
granted without fee, provided that the file is not changed including the HP 
copyright notice tag, and that the name of Hewlett-Packard Company not be 
used in advertising or publicity pertaining to distribution of the software 
without specific, written prior permission.  Hewlett-Packard Company makes 
no representations about the suitability of this software for any purpose.

I need to get the license approved by the VP legal affairs but I don't
expect any problems.

Anyone against me including this color profile (3144 bytes, uncompressed)
in the org.apache.fop.pdf package?

Jeremias Maerki



[EMAIL PROTECTED]: Project xml-fop (in module xml-fop) failed

2006-03-31 Thread Sam Ruby
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 18 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: 32 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-31032006/lib/batik-util.jar:/usr/local/gump/public/workspace/xml-batik/batik-31032006/lib/batik-swing.jar:/usr/local/gump/public/workspace/xml-batik/batik-31032006/lib/batik-css.jar:/usr/local/gump/public/workspace/xml-batik/batik-31032006/lib/batik-bridge.jar:/usr/local/gump/public/workspace/xml-batik/batik-31032006/lib/batik-xml.jar:/usr/local/gump/public/workspace/xml-batik/batik-31032006/lib/batik-svg-dom.jar:/usr/local/gump/public/workspace/xml-batik/batik-31032006/lib/batik-awt-util.jar:/usr/local/gump/public/workspace/xml-batik/batik-31032006/lib/batik-transcoder.jar:/usr/local/gump/public/workspace/xml-batik/batik-31032006/lib/batik-gui-util.jar:/usr/local/gump/public/workspace/xml-batik/batik-31032006/lib/batik-dom.jar:/usr/local/gump/public/workspace/xml-batik/batik-31032006/lib/batik-ext.jar:/usr/local/gump/public/workspace/xml-batik/batik-31032006/lib/batik-script.jar:/usr/local/gump/public/workspace/xml-batik/batik-31032006/lib/batik-svggen.jar:/usr/local/gump/public/workspace/xml-batik/batik-31032006/lib/batik-parser.jar:/usr/local/gump/public/workspace/xml-batik/batik-31032006/lib/batik-extension.jar:/usr/local/gump/public/workspace/xml-batik/batik-31032006/lib/batik-gvt.jar:/usr/local/gump/public/workspace/excalibur/framework/api/target/excalibur-framework-api-31032006.jar:/usr/local/gump/public/workspace/excalibur/framework/impl/target/excalibur-framework-impl-31032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-31032006.jar:/usr/local/gump/public/workspace/jakarta-commons/io/build/jakarta-commons-io-31032006.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: Including an sRGB color profile?

2006-03-31 Thread Clay Leeds

On Mar 31, 2006, at 1:09 AM, Jeremias Maerki wrote:
Anyone against me including this color profile (3144 bytes,  
uncompressed)

in the org.apache.fop.pdf package?


+1

Clay Leeds
[EMAIL PROTECTED]

My religion is simple. My religion is kindness.
-- HH Dalai Lama of Tibet





Re: Including an sRGB color profile?

2006-03-31 Thread Max Berger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jeremias,
Fop-dev,

I know I have no vote in this, but I do disagree.

1) I still believe that PDF is a print medium and should therefore
default to CMYK colorspace. If supported correctly by software, the
colors should show up right on the screen.

2) If you want to embedd the sRGB profile, I would recommend using the
profiles found at the International Color Consortium:
http://www.color.org

especially

http://www.color.org/srgbprofiles.html

unfortunately I was unable to find the exact licensing terms.

just my 2 cts.

Max


Jeremias Maerki wrote:
 I'm near the end of my work for basic PDF/A-1b support. PDF/A-1b
 mandates the use of an OutputIntent if uncalibrated color spaces (like
 DeviceRGB) are used. That means that in each PDF which has PDF/A-1b
 enabled an ICC color profile will be embedded and used in the
 OutputIntent object. Since we don't support ICC-based colors, yet, I've
 hard-coded sRGB into PDF/A-1b support (XSL-FO supports sRGB and
 ICC colors, XSL 1.0, 5.9.9). But that means I need to embed the sRGB
 IEC61966-2.1 color profile. The JRE provides such a color profile but
 does this is a weird way: the profile alone is about 140KB. That's why
 I'd like to use the standard sRGB profile from HP. Info on that file:
 
 Obtained from: http://www.srgb.com/usingsrgb.html
 
 The file sRGB Color Space Profile.icm is:
 Copyright (c) 1998 Hewlett-Packard Company
 
 To anyone who acknowledges that the file sRGB Color Space Profile.icm 
 is provided AS IS WITH NO EXPRESS OR IMPLIED WARRANTY:
 permission to use, copy and distribute this file for any purpose is hereby 
 granted without fee, provided that the file is not changed including the HP 
 copyright notice tag, and that the name of Hewlett-Packard Company not be 
 used in advertising or publicity pertaining to distribution of the software 
 without specific, written prior permission.  Hewlett-Packard Company makes 
 no representations about the suitability of this software for any purpose.
 
 I need to get the license approved by the VP legal affairs but I don't
 expect any problems.
 
 Anyone against me including this color profile (3144 bytes, uncompressed)
 in the org.apache.fop.pdf package?
 
 Jeremias Maerki
 

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD4DBQFELYebxVFyWbWycjQRApxpAJj4kFIHwFpEnbsoKcGeCOMjsfT7AJ99OHsD
0iDcqGbsIpj5oNN/GAUsXg==
=pX/E
-END PGP SIGNATURE-