Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specific xlink href baseUrl #163

Open
filippo-mazza opened this issue Oct 31, 2017 · 1 comment
Open

Specific xlink href baseUrl #163

filippo-mazza opened this issue Oct 31, 2017 · 1 comment
Labels

Comments

@filippo-mazza
Copy link

If I well understood, when converting a svg to png, the attribute <image ... xlink:href> is parsed for the contained url.
However in some cases this url is relative; if I try to convert such kind of images on my machine when the svg image was downloaded from the internet, the python library looks for the link and then looks for the resource in the current folder, not in the remote baseUrl. Is it possible to specify this last somehow ?

Thanks in advance for the information

@liZe liZe added the feature label Jan 3, 2018
@liZe
Copy link
Member

liZe commented Jan 3, 2018

We should add something like what's been added to WeasyPrint in Kozea/WeasyPrint#532 and Kozea/WeasyPrint#437.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants