artificialguybr commited on
Commit
ed9d55f
1 Parent(s): abf1208

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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: