Fix bug 73299

This commit is contained in:
Oleg Korshul
2025-02-24 15:09:43 +03:00
parent 27d2e40da7
commit 01365f938c

View File

@ -611,6 +611,9 @@ namespace MetaFile
void CMetaFile::ConvertToRaster(const wchar_t* wsOutFilePath, unsigned int unFileType, int nWidth, int nHeight)
{
if (nWidth == 0 || nHeight == 0)
return;
NSGraphics::IGraphicsRenderer* pGrRenderer = NSGraphics::Create();
NSFonts::IFontManager* pFontManager = m_pAppFonts->GenerateFontManager();