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

Link cannot jump after merging #329

Open
LiangFuzhi opened this issue Sep 25, 2023 · 4 comments
Open

Link cannot jump after merging #329

LiangFuzhi opened this issue Sep 25, 2023 · 4 comments

Comments

@LiangFuzhi
Copy link

    const path = require('path');
    const Recipe = require('muhammara').Recipe;
    const pdfDoc = new Recipe(path.join(__dirname, './1.pdf'), path.join(__dirname, './output.pdf'));
    console.log(pdfDoc.pageInfo(1));
    pdfDoc
      .appendPage(path.join(__dirname, './2.pdf'))
      .endPDF();

2.pdf file contains a directory, which causes the directory link to become invalid after merging

@LiangFuzhi
Copy link
Author

galkahana/HummusJS#437
See the same problem

@julianhille
Copy link
Owner

thanks for reporting the solution is pretty ugly :P but feels like the only solution. will have a look

@julianhille
Copy link
Owner

would you mind retesting pdf writer has been updated to the most recent version

@julianhille
Copy link
Owner

retested, still valid issue.

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

No branches or pull requests

2 participants