In Electron you can accomplish PDF rendering a couple of different ways: To that end, people created projects like electron-pdf-window to try to work around this limitation. You had to embed a third-party PDF renderer. I hope you’ll agree that the raw PDF output is not very useful, to say the least.Īt that point, if you wanted to render a PDF document inside of an Electron app, you didn’t have much of an option. We want to add context that’s useful for users. We aim to make Insomnia as simple and intuitive to use as possible. Originally a proprietary format, PDF was standardized as ISO 32000 in 2008, and since then, an abundance of software that reads and writes PDF documents almost as well as Adobe’s own have come to market.įast-forwarding to the summer of 2017, back when Electron was still version 1 (today we’re on v19), a feature request was filed to add the ability for Insomnia to view a PDF file directly in the preview.īefore this change, if you made a request in Insomnia that responded with an application/pdf Content-Type, you’d get nonsense:īy the way, if you haven’t checked out mockbin: you’re missing out! Since the early ’90s, computer users and businesses have used Adobe’s venerable PDF format as the de facto choice for digital documents where portability and advanced features such as form-filling, digital signatures, and accurate rendering is important.įirst announced on January 1993 in San Jose, California, during the Windows and OS/2 Conference, PDF’s original killer feature was its ability to accurately represent graphical documents at a fraction of the size of the native file formats of contemporary desktop publishing software like QuarkXPress (though it would still take some time to send over your 9600-baud modem).
0 Comments
Leave a Reply. |