mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-11 05:58:40 +00:00
replace dockers/MathJaxFonts with KaTeX/katex-fonts submodule (#891)
This commit is contained in:
@@ -60,7 +60,7 @@ def main():
|
||||
start_json = json.load(sys.stdin)
|
||||
|
||||
for font, chars in metrics_to_extract.iteritems():
|
||||
fontInfo = TTFont("../static/fonts/KaTeX_" + font + ".ttf")
|
||||
fontInfo = TTFont("../submodules/katex-fonts/fonts/KaTeX_" + font + ".ttf")
|
||||
glyf = fontInfo["glyf"]
|
||||
unitsPerEm = float(fontInfo["head"].unitsPerEm)
|
||||
|
||||
|
Reference in New Issue
Block a user