Comments (11)
Yep, this is currently the normal behavior.
Anyhow, we plan to add support for external links in the first quater of 2023.
The implementation of mPDF is a good start but it's not feature complete and we know situations where it will fail.
from fpdi.
Hi Jan,
hope you had a good week so far!
Can you give an update regarding this issue?
Best Regards,
Yasin
from fpdi.
Thanks for the reminder and sorry for the delay. Can you please provide test files, which we can add to the test-suite?
from fpdi.
Hi Jan,
thanks for your quick response. Since the documents are part of an intranet they are confidential.
However we created test PDF files and were able to reproduce the error with them.
first_file.pdf
second_file.pdf
merged_file.pdf
The first and second file have the same content. The Links in question are "typo3.org" wich links to "https://typo3.org/typo3-cms/" and "TYPO3-Lizenz (GNU/GPL)" which links to "https://typo3.org/typo3-cms/overview/licenses/".
In the merged file the link stylings are still present, but the links are gone. The text "typo3.org" is a domain and the PDF still recognize it as a link, but instead of directing to "https://typo3.org/typo3-cms/" it links to "http://typo3.org".
Also as a side note our customer noticed a black line at the end of the merged file.
Thanks,
Yasin
from fpdi.
We're already working on it and will push a branch in the next week. We're currently writing tests and we're still open for foreign test documents.
Yours is working without a problem. This is an example of several (more special) documents merged + yours: concatenate.pdf
I cannot see any black line in your merged_file.pdf? I can only guess that you are using TCPDF which adds empty headers and footers. To disable them, just call:
$pdf->SetPrintHeader(false);
$pdf->setPrintFooter(false);
from fpdi.
Thanks!
$pdf->SetPrintHeader(false);
$pdf->setPrintFooter(false);
Setting the values worked!
from fpdi.
We just prepared PR #174 which will allow you to import external links with FPDI but I would like to get some tests and feedback before merging this.
Thanks! @ww-ysg @wq9578 @JesusLopezMadrid @pionl
from fpdi.
Thanks Jan!
I've tested the fix in our development environment and my tests were successfull.
We now added the fix to the testing system of the customer and await their feedback.
from fpdi.
Hi Jan,
we got Feedback from our customer. So far everything worked great.
Best Regards,
Yasin
from fpdi.
PR is merged and a new release will follow in the next days.
from fpdi.
FPDI 2.4.0 with support for import of external links is released ;-)
from fpdi.
Related Issues (20)
- Class "FPDF" not found HOT 2
- Custom Font HOT 3
- Added Text missing except on first page when viewing with some PDF software (incl. Acrobat) HOT 1
- setasign\\FpdiPdfParser\\PdfParser\\PdfPars Class not founded HOT 3
- PDF/A-3 with TCPDF (parameter not transmit)
- How wrap long title HOT 3
- FPDI - Getting "CrossReferenceException::OBJECT_NOT_FOUND" while trying to ImportPage from existing PDF file
- Indirect references in link annotation dictionaries creates corrupted PDFs (when FPDI is used with FPDF)
- Unable to find PDF file header. HOT 2
- while I setSourceFile ,then importPage, the seal missed HOT 1
- Problem with Y Coordinate on different page size HOT 2
- Undefined property: setasign\Fpdi\Tcpdf\Fpdi::$PDFVersion HOT 8
- Set Meta Data HOT 3
- Getting error while adding custom font. HOT 1
- (Question) Replace an Image inside a PDF HOT 1
- Snyk ReDoS vulnerability HOT 1
- WriteHTML() not possible anymore HOT 2
- Don't work without composer autoload HOT 5
- doesn't support cryllic alphabet HOT 3
- Parser have issue here HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fpdi.