merge-requests/26/head
Bob Mottram 2022-01-26 23:23:43 +00:00
parent 0c4b8e11c2
commit c06ebac48e
1 changed files with 0 additions and 10 deletions

View File

@ -6857,16 +6857,6 @@ class PubServer(BaseHTTPRequestHandler):
"""Returns a font
"""
font_str = path.split('/fonts/')[1]
if self.server.dyslexic_font:
if font_str.endswith('.otf'):
font_str = 'OpenDyslexic-Regular.otf'
elif font_str.endswith('.ttf'):
font_str = 'OpenDyslexic-Regular.ttf'
elif font_str.endswith('.woff'):
font_str = 'OpenDyslexic-Regular.woff'
else:
font_str = 'OpenDyslexic-Regular.woff2'
if font_str.endswith('.otf') or \
font_str.endswith('.ttf') or \
font_str.endswith('.woff') or \