fontreport debug
def ProcessTex(sequence, output): name, ext = os.path.splitext(output) intermediate = name + '.tex' with open(intermediate, 'wb') as f: for line in sequence: f.write(line.encode('utf-8')) f.write(b'\n') if ext == '.pdf': subprocess.check_call(['xelatex', intermediate]) subprocess.check_call(['xelatex', intermediate])
xelatexがインストールされていなかった。
apt-get install texlive-xetex