Weasyprint: Links are not clickable anymore

Created on 24 Apr 2019  路  4Comments  路  Source: Kozea/WeasyPrint

With current version of Weasyprint, links in generated PDF cannot be clicked and it shows the "select" cursor instead of "pointer".

Example:

invoice.html

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
</head>

<body>
    <a href="https://goout.net/">
        01. 03. 2019 - 30. 03. 2019
    </a>
</body>
</html>

invoice.pdf

Most helpful comment

Okay, debian version of cairo is outdated. Thanks.

All 4 comments

I suppose your Cairo version isnt up-to-date. Any warnings in the console?

Okay, debian version of cairo is outdated. Thanks.

I have the same problem in Ubuntu 18.04, my cairo version is 1.15.10
But if I check the version within Python:
python3 -c "import cairocffi; print(cairocffi.cairo_version_string())"
I get 1.14.12
Am I doing something wrong?

Am I doing something wrong?

Then your version of cairo is 1.14.12.

You may have the two versions installed, and cairocffi finds the 1.14.12 version. Is that possible?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

schettino72 picture schettino72  路  5Comments

Daniyal-Javani picture Daniyal-Javani  路  3Comments

ajakubo1 picture ajakubo1  路  5Comments

elcolie picture elcolie  路  4Comments

Tontyna picture Tontyna  路  4Comments