Closed paulator closed 9 months ago
I guess, this has to do something with the generated html. When I open a bash in the container and check /tmp directory, I can see some HTML files which have been left by the PDF generator. When I open the HTML, I can find e.g. the following snipped:
src: url('/assets/frappe/css/fonts/glyphicons/glyphicons-halflings-regular.eot');
I guess, wkhtmltopdf cant render it because there is no hostname written in front of the path to the glyphicons css file.
This works now
Description of the issue
I want to use a glyphicon in my invoice footer (e.g. map marker). Therefore I updated the default letter head and added some HTML to the footer field. When the PDF is generated, I get an error.
Context information (for bug reports)
Output of
bench version
Steps to reproduce the issue
<span class="glyphicon glyphicon-map-marker"></span>
Observed result
PDF generator will throw an error. No PDF is generated.
Expected result
PDF should be generated with the glyphicon.
Stacktrace / full error message
Additional information
I used the erpnext-docker images from https://github.com/frappe/frappe_docker