Spaces:
Sleeping
Sleeping
Update text_integration.py
Browse files- text_integration.py +4 -3
text_integration.py
CHANGED
|
@@ -7,9 +7,10 @@ import tempfile
|
|
| 7 |
|
| 8 |
# URLs zu freien Schriftarten auf GitHub
|
| 9 |
FONT_URLS = {
|
| 10 |
-
|
| 11 |
-
"
|
| 12 |
-
"
|
|
|
|
| 13 |
}
|
| 14 |
|
| 15 |
def download_font(font_name):
|
|
|
|
| 7 |
|
| 8 |
# URLs zu freien Schriftarten auf GitHub
|
| 9 |
FONT_URLS = {
|
| 10 |
+
|
| 11 |
+
"Roboto": "https://raw.githubusercontent.com/google/fonts/main/apache/roboto/Roboto-Regular.ttf",
|
| 12 |
+
"Open Sans": "https://raw.githubusercontent.com/google/fonts/main/apache/opensans/OpenSans-Regular.ttf",
|
| 13 |
+
"DejaVu Sans": "https://raw.githubusercontent.com/dejavu-fonts/dejavu-fonts/master/ttf/DejaVuSans.ttf"
|
| 14 |
}
|
| 15 |
|
| 16 |
def download_font(font_name):
|