I'm a bit stuck.
My latest findings, with a rectangle associated with a sRGB-IEC61966-2.1 profile. Everything (except the libcroco part) is In src/style.cpp:
1. The "p" value sent to sp_style_merge_from_style_string(SPStyle *const style, gchar const *const p) is correct:
** Message: sp_style_merge_from_style_string, fill:#3aa869 icc-color(sRGB-IEC61966-2.1, 0.22758831, 0.65891508, 0.41173419);
2. sp_style_merge_from_style_string then calls cr_declaration_parse_list_from_buf() (libcroco) and sends the declaration to sp_style_merge_from_decl_list().
3. sp_style_merge_from_decl_list() then calls sp_style_merge_style_from_decl(). The icc-color value is incorrect:
** Message: sp_style_merge_style_from_decl, #3aa869 icc-color(sRGB-IEC61966-2 0.10000000000000001, 0.22758830999999999, 0.65891507999999999, 0.41173419000000000).
I'm a bit stuck.
My latest findings, with a rectangle associated with a sRGB-IEC61966-2.1 profile. Everything (except the libcroco part) is In src/style.cpp:
1. The "p" value sent to sp_style_ merge_from_ style_string( SPStyle *const style, gchar const *const p) is correct: merge_from_ style_string, fill:#3aa869 icc-color( sRGB-IEC61966- 2.1, 0.22758831, 0.65891508, 0.41173419);
** Message: sp_style_
2. sp_style_ merge_from_ style_string then calls cr_declaration_ parse_list_ from_buf( ) (libcroco) and sends the declaration to sp_style_ merge_from_ decl_list( ).
3. sp_style_ merge_from_ decl_list( ) then calls sp_style_ merge_style_ from_decl( ). The icc-color value is incorrect: merge_style_ from_decl, #3aa869 icc-color( sRGB-IEC61966- 2 0.1000000000000 0001, 0.2275883099999 9999, 0.6589150799999 9999, 0.4117341900000 0000).
** Message: sp_style_