Open PikachuHy opened 2 years ago
That's because the version of fontforge
is too low, thus the function glyph.export
has no second argument. And my fontforge
has the version 20200314
. We need a version check before using it, will fix it later.
error info
https://github.com/NanoMichael/cLaTeXMath/blob/a0493830bffccc30c4567b474319684ec9747166/prebuilt/otf2clm.py#L252
my env
tmp solution change
glyph.export(tf.name, usetransform=True)
toglyph.export(tf.name)
note: I don't have a deep understanding of the cause of this problem, and I'm not aware of the side effects of the tmp solution.