aboutsummaryrefslogtreecommitdiff
path: root/savewebfonts_lib.py
diff options
context:
space:
mode:
Diffstat (limited to 'savewebfonts_lib.py')
-rwxr-xr-xsavewebfonts_lib.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/savewebfonts_lib.py b/savewebfonts_lib.py
index 1046bf1..81009be 100755
--- a/savewebfonts_lib.py
+++ b/savewebfonts_lib.py
@@ -172,7 +172,8 @@ def save_font(url,destdir,config):
filename = ttfify_filename(filename)
if url.startswith("data:"):
- for fheader in ["data:application/x-font-woff;charset=utf-8;base64,","data:application/x-font-ttf;charset=utf-8;base64,","data:application/font-woff;charset=utf-8;base64,"]:
+ # FINDTHIS data
+ for fheader in ["data:application/x-font-woff;charset=utf-8;base64,","data:application/x-font-ttf;charset=utf-8;base64,","data:application/font-woff;charset=utf-8;base64,","data:font/ttf;base64,"]:
if url.startswith(fheader):
need_convert, ext, tf, filename = save_inline_font_helper(fheader, url)
#print(f"TEMP: FOR {url}, {need_convert} {ext} {tf} {filename}")
bgstack15