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

abort() has been called #134

Open
lorren5136 opened this issue Jun 26, 2019 · 1 comment
Open

abort() has been called #134

lorren5136 opened this issue Jun 26, 2019 · 1 comment

Comments

@lorren5136
Copy link

lorren5136 commented Jun 26, 2019

How to slove this problem? I installed the Chinese version of vs2017 on win10 and ran test command “menge -p examples\core\4square.xml”, is it Chinese characters are not recognized?

The results are as follows:
Returning true
Starting...
libpng warning: iCCP: known incorrect sRGB profile
Assertion failed: _fonts.size() > 0 && "Unable to load font", file c:\users\yuan\menge\src\menge\mengevis\scenegraph\textwriter.cpp, line 72

@curds01
Copy link
Collaborator

curds01 commented Jun 26, 2019

While there was no intent to exclude Chinese characters, I would be surprised if it worked.

  1. The strings in Menge are all std::string and not std::wstring.
  2. In this particular error case, it's looking for a font that it can't find. That is somewhat surprising, because it should install the font as part of the build. On the other hand, there may be a Chinese-language issue with the fonts of which I'm completely ignorant.

So, my apologies, but there will probably need to be some work done before Menge works with Chinese characters. :(

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

No branches or pull requests

2 participants