-
-
Notifications
You must be signed in to change notification settings - Fork 712
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
Internal links are broken (Cairo bug) #678
Comments
AH! Got it: Internal links dont work if the target is on a page coming after the That means: Maybe adding the links with BTW: Wondering why not issuing |
... but it seems there isnt a function to reactivate an already emitted surface ... |
It's a bug in Cairo, I've submitted a patch: https://lists.cairographics.org/archives/cairo/2018-August/028716.html
We should call |
Oh dear! Waiting for Cairo... (since Bryce Harrington took notice, the prospects are not too bad) Until then I'll patch my personal WeasyPrint to stay with |
Yes, after the review I have to fix my fix now 😄.
Good luck! |
Out of interest: Why do you communicate this issue via mailing list and not via GitLab? |
Cairo's GitLab has only been created yesterday 😉. There was a Bugzilla instance, but I wasn't sure that it was a bug at the beginning, so … the ML was a good option for me to get extra information before creating an issue. |
Will it speed up the fixing when I create an account on GitLab and 👍 the issue? Until now we could tell people in need of new features like flex, targets etc. to download master branch, but as long as that bug persists I cant recommend that anymore. |
Only Cairo devs know that…
Yes, that's really annoying. I've merged the PR soon to avoid conflicts, but the master branch is really experimental now… |
Allows falling back on pdfrw to outlast until Cairo has fixed the hyperlink bug, see Kozea#678 pdfrw is off by default. To turn it on define environmen variable WEASYPRINT_USE_PDFRW Fallback is disabled when pytesting
Will keep that branch in sync with master until the bug is fixed. |
1.15.14 has been released as a beta for 1.16.0. I've added a comment on GitLab, but I'm a bit afraid I don't get a review before the stable release. I don't understand how to talk with Cairo devs. I'm getting really frustrated 😢. |
I'm watching activities on GitLab since and don't understand the rules for communication, too. Maybe the real communication happens offline? |
Indeed, Adrian commented
How to make Bryce happy? More patches? I suggest to implement what Adrian intended when he added pdf links: A dysfunctional master branch is ugly. @liZe - shall I / will you rewrite |
Probably with a test, I've begun to work on it this week-end.
Of course.
I'll do it 💣 RIGHT NOW 💣. |
👍 👍 👍 |
In commit "Don't use pdfrw anymore" 0834615 @liZe commented
May I ask which internal links still do work?
Because it looks to me like all internal links are broken. Nothing special about my
id
s, but only externalhrefs
are clickable.Edit: Cairo v 1.15.12
The text was updated successfully, but these errors were encountered: