Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors from font files in demo #33

Open
zackcmartin opened this issue Sep 22, 2020 · 1 comment
Open

Errors from font files in demo #33

zackcmartin opened this issue Sep 22, 2020 · 1 comment
Labels

Comments

@zackcmartin
Copy link

zackcmartin commented Sep 22, 2020

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

@NanoMichael
Copy link
Owner

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants