python-pdfkit
python-pdfkit copied to clipboard
Text not rendering in PDF
Hello,
I am trying to convert a specific web page to a PDF, but the text is not rendering over the background graphics.
Here is the webpage as seen in Chrome:

Here is the resulting PDF:

Here is the code that I ran:
import pdfkit
url = https://nvd.nist.gov/vuln/search/results?query=cpe%3A2.3%3Aa%3Alibarchive%3Alibarchive%3A*%3A*%3A*%3A*%3A*%3A*%3A*%3A*&results_type=overview&form_type=Advanced&startIndex=0
pdfkit.from_url(url, 'out.pdf')
I have also tried saving the page HTML to a local file and using from_file, and using wkhtmltopdf directly in the command line using wkhtmltopdf https://nvd.nist.gov/vuln/search/results?query=cpe%3A2.3%3Aa%3Alibarchive%3Alibarchive%3A*%3A*%3A*%3A*%3A*%3A*%3A*%3A*&results_type=overview&form_type=Advanced&startIndex=0 out.pdf
I have also tried experimenting with some of the pdfkit configurable options, but with no success.
Thanks in advance for your help.
same problem here
problem still persists