Open turkin60 opened 9 years ago
wxGraphicsD2D doesn't support non TrueType fonts. But if such font is for some reason used, this situation isn't handled in a suitable way. As a result the application crashes.
File graphicsd2d.cpp, line 2102:
hr = gdiInterop->CreateFontFromLOGFONT(&logfont, &m_font); ^^^^^^^^^^ wxCOMPtr<IDWriteFontFamily> fontFamily; m_font->GetFontFamily(&fontFamily); ^^^^^^^^^
If the font isn't supported m_font = 0, but isn't any checking for that.
Thank you for your report, I'll have a look at it as soon as possible.
wxGraphicsD2D doesn't support non TrueType fonts. But if such font is for some reason used, this situation isn't handled in a suitable way. As a result the application crashes.
File graphicsd2d.cpp, line 2102:
If the font isn't supported m_font = 0, but isn't any checking for that.