AruniAnkur commited on
Commit
59eae08
·
verified ·
1 Parent(s): 5aca58a

Upload 3 files

Browse files
ArialUnicodeMS.cw127.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d6080a027a6040e707cd1ed9a172a270a374bb918c9591676e67943737685fd5
3
+ size 596
ArialUnicodeMS.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1f9fa0738958eb91ceb2e36493c48c4d5289a2b5e74f2aa8bee37da34e1859ff
3
+ size 170279
functionbloom.py CHANGED
@@ -203,7 +203,8 @@ def generate_pdf(questions, filename="questions.pdf"):
203
  pdf.add_page()
204
 
205
  # Set font
206
- pdf.set_font("Arial", size=12)
 
207
 
208
  # Add a title or heading
209
  pdf.cell(200, 10, txt="Generated Questions", ln=True, align="C")
 
203
  pdf.add_page()
204
 
205
  # Set font
206
+ pdf.add_font("ArialUnicode", "", "ArialUnicodeMS.ttf", uni=True)
207
+ pdf.set_font("ArialUnicode", size=12)
208
 
209
  # Add a title or heading
210
  pdf.cell(200, 10, txt="Generated Questions", ln=True, align="C")