WeasyPrint: Internal links are broken (Cairo bug)

In commit “Don’t use pdfrw anymore” 0834615b78070259c15b341c2661ddae46fe7b53 @liZe commented

some internal links are broken

May I ask which internal links still do work?

Because it looks to me like all internal links are broken. Nothing special about my ids, but only external hrefsare clickable.

Edit: Cairo v 1.15.12

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 15 (15 by maintainers)

Commits related to this issue

Most upvoted comments

How to make Bryce happy? More patches?

Probably with a test, I’ve begun to work on it this week-end.

I suggest to implement what Adrian intended when he added pdf links: Apply CAIRO_TAG_DEST to the intenal links and their destinations (and hope it works as expected). If your patch eventually enters Cairo we can always switch back to CAIRO_TAG_LINK.

Of course.

@liZe - shall I / will you rewrite document.write_pdf()? Or shall we wait another fortnight for happiness to arise?

I’ll do it 💣 RIGHT NOW 💣.