Kozea / Kozea/CairoSVG

cairosvg-2.1.3 produces empty pdf

Open
#185 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
951
Forks
166
PR merge metrics
No merged PRs in 30d

Description

I create an svg with bitmaps in background:
[plan1.zip](https://github.com/Kozea/CairoSVG/files/1800890/plan1.zip)
trying to convert with current cairosvg produces an empty pdf.
no errors, no warning, validated svg.
Runing a Gentoo Linux System with a cairo 1.15.10 (snapshot), cairocffi-0.8.0, cssselect2-0.2, pillow 3.4.2, defusedxml-0.5, tinycss2-0.5
cairosvg-1.0.22 on another machine produces the expected pdf.

Any hints, what is wrong?

Ervin

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the attached plan1.zip and reproduce the empty PDF using the current CairoSVG version and the listed Gentoo environment. Compare the result with CairoSVG 1.0.22 on the other machine, then trace the conversion path for SVGs containing bitmap backgrounds. Done means the example produces a non-empty PDF without errors or warnings.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.