We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc1fc5c commit 30308edCopy full SHA for 30308ed
source/parser/parser.cpp
@@ -6587,11 +6587,11 @@ ObjectPtr Parser::Parse_TrueType ()
6587
{
6588
font = mFontResolver.GetFont(fontName, style);
6589
if (font == nullptr)
6590
- Error("Failed to load system font '%s'.", UCS2toASCIIString(fontName));
+ Error("Failed to load system font '%s'.", UCS2toASCIIString(fontName).c_str());
6591
}
6592
catch (FontProcessingException& e)
6593
6594
- Error("Failed to load system font '%s' (%s).", UCS2toASCIIString(fontName), e.what());
+ Error("Failed to load system font '%s' (%s).", UCS2toASCIIString(fontName).c_str(), e.what());
6595
6596
END_CASE
6597
OTHERWISE
0 commit comments