PDF preview does not render text
See original GitHub issue- Insomnia Version: 6.5.3
- Operating System: Ubuntu 18.10
Details
When an endpoint returns a PDF the preview does not render any text.
This is from Insomnia
This is the PDF saved using the Save response body option.
This PDF was generated from PHP using FPDF and this code
$pdf->SetDrawColor(0, 0, 112);
$pdf->SetFillColor(0, 0, 112);
$pdf->RoundedRect(5, 5, 200, 5, 2, "DF", "12");
$pdf->SetFont("arial", "b", 9);
$pdf->SetTextColor(255);
$pdf->Text(6.5, 8.5, "Such text, very missing, wow");
RoundedRect
here is a function we added but the same thing happens when using Rect
.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:18 (4 by maintainers)
Top Results From Across the Web
If you can't select or copy text in a PDF in Preview on Mac
In the Preview app on your Mac, go to the PDF page you want to change. Check the following: The Text Selection tool...
Read more >PdfViewer does not render text that uses non-embedded font
I am running into an issue with PdfViewer control when a PDF with "Arial Unicode MS" font is loaded, but the font is...
Read more >Why are some PDFs scrambled when opened with Preview on ...
The text in this file appears scrambled when opened with Safari or Preview. However, the PDF is formatted fine when opened with Adobe...
Read more >Missing or garbled text when converting or combining PDF ...
Solution: Embed fonts to avoid font substitution · Launch Acrobat. · Choose Advanced > Print Production > Acrobat Distiller. · In the Default ......
Read more >Poor text rendering in PDFs - Microsoft Community Hub
Zooming in/out or selecting the text with cursor may fix the issue. Sometimes when it does, it also shifts the issue to someplace...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Guys, I updated to version 2020.4.1 and it is working perfectly.
=)
Thanks @ranjan-purbey! 🙏🏽 Closed as resolved!