MicroTeX
MicroTeX copied to clipboard
Errors from font files in demo
I've set up the demo, but when I type something as simply as "x+y" I am getting error messages like so:
block of char: 43 is 0
FILE: /home/code/cLaTeXMath/src/fonts/fonts.cpp, LINE: 191, FUNCTION: getChar, MSG: { char: x, font id: 2, path: res/fonts/base/cmmi10.ttf }
FILE: /home/code/cLaTeXMath/src/platform/cairo/graphic_cairo.cpp, LINE: 45, FUNCTION: loadFont, MSG: Load font: res/fonts/base/cmmi10.ttf, count: 32766
Null pattern
FILE: /home/code/cLaTeXMath/src/platform/cairo/graphic_cairo.cpp, LINE: 52, FUNCTION: loadFont, MSG: Load res/fonts/base/cmmi10.ttf failed
[1] 53223 segmentation fault /home/code/cLaTeXMath/build/LaTeX
I found a similar issue here
what OS do you use? I can't reproduce this issue on my PC, this seems like the font file is corrupted, can you open the cmmi10.ttf
via your font viewer?