Missing linked images and text

Open
#418 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
python

Research direction

Download the linked SVG and referenced PNG, then reproduce the PDF conversion described in the issue and compare it with the expected image. Trace the SVG handling for external images and text, using the supplied output and expected output as the acceptance check.

Written by the indexing model from the issue text.

Description

Is it possible to convert the following files into a pdf? They were created with https://blenderbim.org/
I couldn't get linked pngs to work, and text doesn't show up.

svg: https://github.com/Kozea/CairoSVG/assets/507113/a9d54c99-9ae3-4c2a-8f50-63faae67f8dc
png referenced into svg: https://github.com/Kozea/CairoSVG/assets/507113/2b7a7c31-8b43-4431-8c1d-bfaf18439d90)

Here's the output....
image

What it should look like:
image

Dominant language
Python
Stars
959
Forks
172
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Kozea/CairoSVG

All issues in Kozea/CairoSVG

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.