Skip to content

Wrong CMYK conversion when using text-anchor attribute in svg text/tspan tag #2631

@michele-tolin

Description

@michele-tolin

I am using the 67 Version

When the text-anchor attribute is used (directly on the text tag or via css)
the device-cmyk color is not propagated correctly in the final pdf

I'have recreated the case with and without the text-anchor

Original html
test_wrong_cmyk_conversion.html

Converted pdf
test_wrong_cmyk.pdf

Composite preview (made with ghostscript)
wrong_colors1.tif

All 4 channels preview (made with ghostscript)
wrong_colors1(Black).tif
wrong_colors1(Cyan).tif
wrong_colors1(Magenta).tif
wrong_colors1(Yellow).tif

All preview files converted via imagemagick
Composite:
Image
Black
Image
Cyan
Image
Magenta
Image
Yellow
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions