Spaces:
Runtime error
Runtime error
artificialguybr
commited on
Commit
•
ed9d55f
1
Parent(s):
abf1208
Update app.py
Browse files
app.py
CHANGED
@@ -35,6 +35,7 @@ def word_to_pdf(docx_file):
|
|
35 |
pdf = FPDF(format='A4')
|
36 |
pdf.set_auto_page_break(auto=True, margin=15)
|
37 |
pdf.add_page()
|
|
|
38 |
pdf.set_font('Arial', size=12)
|
39 |
|
40 |
for para in doc.paragraphs:
|
|
|
35 |
pdf = FPDF(format='A4')
|
36 |
pdf.set_auto_page_break(auto=True, margin=15)
|
37 |
pdf.add_page()
|
38 |
+
pdf.add_font('Arial', '', 'arial.ttf', uni=True)
|
39 |
pdf.set_font('Arial', size=12)
|
40 |
|
41 |
for para in doc.paragraphs:
|