besser fonts

This commit is contained in:
Torsten Ueberschar
2024-02-18 16:25:42 +01:00
parent 8371715072
commit 36ffa54d81
3 changed files with 12 additions and 10 deletions

View File

@@ -62,7 +62,9 @@ class HtmlTemplate:
# convert HTML to PDF
pisa_status = pisa.CreatePDF(
source_html, # the HTML to convert
dest=result_file) # file handle to recieve result
path='test_data/templates/fonts',
dest=result_file
) # file handle to recieve result
# close output file
result_file.close() # close output file