I am trying to convert an html page that displays images from facebook cdn to pdf using pdfkit. I am using rails 4.2, pdfkit 0.6.2 and wkhtmltopdf-binary 0.9.9.3.
A PDF is created and facebook cdn images are displayed, but the stylesheets arent attribute is applied. What am I missing?
I created a test repository for the above problem: https://github.com/prasadsurase/topdf
FYI, bootstrap.css and custom.css are hosted in providers / assets, and extensions are renamed to scss. In sass, assets (fonts and images) were transferred using the "font-path" and "image-url" rails helper. The assets were precompiled and the application -.... css was copied to pdf.css and the assets transferred from the root path (/)
source share