# LaTeX -> PDF
shutil.copy(get_resource('pdf/wl.cls'), temp)
shutil.copy(get_resource('res/wl-logo.png'), temp)
+ shutil.copy(get_resource('fonts/OpenSans-VariableFont_wdth,wght.ttf'), temp)
if latex_dir:
return temp
text = re.sub(r"([\u0400-\u04ff]+)", r"<alien>\1</alien>", text)
# Geometric shapes.
text = re.sub(r"([\u25a0-\u25ff]+)", r"<alien>\1</alien>", text)
+ # Hebrew
+ text = re.sub(r"([\u0590-\u05ff]+)", r"<fallback>\1</fallback>", text)
document = WLDocument.from_bytes(text.encode('utf-8'),
parse_dublincore=True, provider=provider)