question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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 image

This is the PDF saved using the Save response body option. image

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:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:18 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
gedsonmarcelinocommented, Sep 23, 2020

image I am getting this when loading a PDF.

I am with the same problem in version Insomnia Core 2020.4.0.

Guys, I updated to version 2020.4.1 and it is working perfectly.

=)

1reaction
develohpandacommented, Jan 17, 2021

Thanks @ranjan-purbey! 🙏🏽 Closed as resolved!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found