Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -23,6 +23,7 @@ def download_image(image_url):
|
|
23 |
class PDF(FPDF):
|
24 |
def __init__(self, *args, **kwargs):
|
25 |
super().__init__(*args, **kwargs)
|
|
|
26 |
self.set_font('/home/user/app/malgun.ttf', '', 12)
|
27 |
|
28 |
def chapter_title(self, num, label):
|
|
|
23 |
class PDF(FPDF):
|
24 |
def __init__(self, *args, **kwargs):
|
25 |
super().__init__(*args, **kwargs)
|
26 |
+
self.add_font('malgun', '', '/home/user/app/malgun.ttf', uni=True)
|
27 |
self.set_font('/home/user/app/malgun.ttf', '', 12)
|
28 |
|
29 |
def chapter_title(self, num, label):
|