[PATCH resend] winspool: Add sRGB color profile

Alexandre Julliard julliard at winehq.org
Mon Nov 9 10:16:37 CST 2020


Alex Henrie <alexhenrie24 at gmail.com> writes:

> "This profile is made available by the International Color Consortium,
> and may be copied, distributed, embedded, made, used, and sold without
> restriction. Altered versions of this profile shall have the original
> identification and copyright information removed and shall not be
> misrepresented as the original profile."
>
> See http://www.color.org/srgbprofiles.xalter
>
> Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=37396
> Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
> ---
>  .../winspool.drv/sRGB_Color_Space_Profile.icm | Bin 0 -> 3024 bytes
>  dlls/winspool.drv/winspool.rc                 |   3 ++
>  dlls/winspool.drv/wspool.c                    |  38 ++++++++++++++++++
>  dlls/winspool.drv/wspool.h                    |   2 +
>  4 files changed, 43 insertions(+)
>  create mode 100644 dlls/winspool.drv/sRGB_Color_Space_Profile.icm

This breaks the tests:

tools/runtest -q -P wine -T . -M mscms.dll -p dlls/mscms/tests/mscms_test.exe profile && touch dlls/mscms/tests/profile.ok
profile.c:271: Test failed: GetColorProfileElement() failed 0
profile.c:273: Test failed: Unexpected tag data
profile.c:313: Test failed: GetColorProfileElementTag() failed (0)
profile.c:369: Test failed: Unexpected header data
profile.c:413: Test failed: Unexpected header data
profile.c:448: Test failed: GetCountColorProfileElements() failed (0)
profile.c:1062: Test failed: GetColorProfileElement() failed 0
profile.c:1065: Test failed: Unexpected tag data, expected (c) The Wine Project, got  (0)
make: *** [Makefile:72967: dlls/mscms/tests/profile.ok] Error 8

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list