Archive for the ‘Research’ Category


Celebrating one year and tentative roadmap for the future of the API2PDF product

June 24th, 2019 / by api2pdf /

The Past Year Hello everyone, Zack here! One year ago we hit the metaphorical GO button. It was anti-climactic of course because we had no launch strategy and Google had yet to even index our website. It was about 10 days later where I remember waking up one morning and found that a developer from […]

Read More

Post Mortem – Ensuring High Availability on Azure Functions

June 13th, 2019 / by api2pdf /

Intro On May 15th, 2019 at 5:01 PM UTC, API2PDF services stopped generating PDF files, returning high error rates. This is what is depicted in the image above. 3 minutes later, at 5:04 PM, services resumed. While only down for 3 minutes and 99% of our customers did not even notice, at least one customer […]

Read More

Tackling API2PDF’s technical and business challenges with Azure Table Storage and Data Lake Analytics

May 11th, 2019 / by api2pdf /

Intro Every now and then I like to post about API2PDF’s infrastructure and business side. It can be slightly more interesting than talking about PDF files. In today’s post we will combine the two by discussing our long term logging components and how we use that to track growth metrics and accounting for finance purposes. […]

Read More

[Solved] Bootstrap striped table not printing to PDF

April 13th, 2019 / by api2pdf /

We received a support request from a developer who was using Bootstrap’s CSS and his HTML table was set to “striped” via: <table class=”table table-striped”> …</table> Now the HTML was correct, and when loading it up in a browser, the striped rows, which alternate a background color to make it easier for reading was appearing […]

Read More

[Solved] Troubleshooting rendering issues with HTML to PDF

April 10th, 2019 / by api2pdf /

In this article we will walk you through the best way to figure out why your HTML is not properly rendering as PDF using our API service. Step 1 Open up your favorite text editor like notepad++ or VS Code and save your raw HTML that you’ve been sending to API2PDF and save it as […]

Read More

[Resolved] Bad kerning with wkhtmltopdf rendering of html

April 4th, 2019 / by api2pdf /

Today we received an inquiry about wkhtmltopdf’s poor rendering of HTML to PDF with Google’s Roboto font. Roboto is one of the most popular fonts and so it’s important for this to be resolved. The issue with this rendering problem is known as “kerning” which means that the spacing between the fonts is incorrect. Our […]

Read More

Multi-lingual support for HTML to PDF (wkhtmltopdf / Headless Chrome)

March 25th, 2019 / by api2pdf /

Intro – HTML to PDF with Multiple Languages A frequent question we receive at API2PDF is if it is possible to generate PDFs with foreign languages, or languages that contain special characters in their text. The answer is yes, and it is possible to support these languages in both wkhtmltopdf and Headless Chrome rendering engines. […]

Read More

Web service to convert HTML + CSS to PDF

March 23rd, 2019 / by api2pdf /

Intro API2PDF is a web service for generating PDFs at massive scale. Our mission is to make the experience of generating PDFs for application developers not completely miserable. Our system is designed with extreme scalability in mind and is ready for enterprise use. We are built on a serverless architecture, AWS Lambda, which means we […]

Read More

domPDF Alternative for PHP

March 23rd, 2019 / by api2pdf /

Intro domPDF is an HTML to PDF Converter. At its heart, dompdf is (mostly) a CSS 2.1 compliant HTML layout and rendering engine written in PHP. It is a style-driven renderer: it will download and read external stylesheets, inline style tags, and the style attributes of individual HTML elements. It also supports most presentational HTML attributes. […]

Read More

jsPDF Alternative for PDF Generation

March 14th, 2019 / by api2pdf /

jsPDF is a client side library for javascript that allows you generate PDFs. It is open source and convenient for quick and dirty PDF generation, but unfortunately it lacks some key functionality. Since it is not browser-based, building a PDF with jsPDF can be cumbersome. In most cases, all you are looking to do is […]

Read More