on linux and windows you can patch firefox's icc parsing here gfx/qcms/src/iccread.rs around line 400
if !cfg!(target_os = "macos") {
negative = (rX < 0.)
|| (rY < 0.)
|| (rZ < 0.)
|| (gX < 0.)
|| (gY < 0.)
|| (gZ < 0.)
|| (bX < 0.)
|| (bY < 0.)
|| (bZ < 0.);
} else {
// Chromatic adaption to D50 can result in negative XYZ, but the white
// point D50 tolerance test has passed. Accept negative values herein.
// See https://bugzilla.mozilla.org/show_bug.cgi?id=498245#c18 onwards
// for discussion about whether profile XYZ can or cannot be negative,
// per the spec. Also the https://bugzil.la/450923 user report.
// FIXME: allow this relaxation on all ports?
negative = false; // bogus
}
if negative {
return true;
}
I already requested this on bugzilla but for reasons i cant comprehend firefox devs dont want to enable this on windows and linux builds. maybe you can include this in the readme.
on linux and windows you can patch firefox's icc parsing here gfx/qcms/src/iccread.rs around line 400
I already requested this on bugzilla but for reasons i cant comprehend firefox devs dont want to enable this on windows and linux builds. maybe you can include this in the readme.