Closed
Bug 560652
Opened 15 years ago
Closed 14 years ago
ICC display profile is not used under Windows if its filename contains Unicode characters
Categories
(Core :: Graphics: Color Management, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 613440
People
(Reporter: florian.hoech, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 (.NET CLR 3.5.30729)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 (.NET CLR 3.5.30729)
If the currently active ICC monitor profile has a filename with unicode characters in it, Firefox, Thunderbird (and probably other Mozilla applications) will not see/use it.
Reproducible: Always
Steps to Reproduce:
1. Have a ICC profile that clearly shows if it is being used (e.g. swapped red and blue colorants - http://hoech.net/files/BGR2.zip)
2. Make sure the name of the profile contains at least one unicode character (already the case after unpacking above file)
3. Set the profile as active monitor profile and restart Firefox/Thinderbird. It should use the active monitor profile, and show swapped colors if the above profile is used, but it doesn't.
Actual Results:
The active monitor profile is ignored.
Expected Results:
The active monitor profile is used.
Tested under Windows 7 and XP.
Comment 1•15 years ago
|
||
We should be doing:
FILE *f = _wfopen(str, "rb");
qcms_profile* profile = qcms_profile_from_file(f);
fclose(f);
instead of:
qcms_profile* profile =
qcms_profile_from_path(NS_ConvertUTF16toUTF8(str).get());
Status: UNCONFIRMED → NEW
Ever confirmed: true
Updated•14 years ago
|
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•