no message

This commit is contained in:
ElenaSubbotina
2016-05-10 18:56:52 +03:00
committed by Alexander Trofimov
parent 1ae20da785
commit b31d554ab6

View File

@ -1,7 +1,5 @@
//#define _CRTDBG_LEAK_CHECK_DF
#include "stdafx.h"
#include <vector>
#include "../../fontengine/ApplicationFonts.h"
@ -65,7 +63,8 @@ void ConvertFolder(CMetaFile &oMetaFile, std::wstring wsFolderPath, const int nT
double w, h, x, y;
oMetaFile.GetBounds(&x, &y, &w, &h);
oMetaFile.ConvertToRaster(wsDstFilePath.c_str(), 4, 500);
////oMetaFile.ConvertToRaster(wsDstFilePath.c_str(), 4, 500);
oMetaFile.ConvertToRaster(wsDstFilePath.c_str(), 4, w);
oMetaFile.Close();
}
@ -79,7 +78,8 @@ void main()
oFonts.Initialize();
CMetaFile oMetaFile(&oFonts);
ConvertFolder(oMetaFile, L"D://Test Files//Wmf//Test//", c_lMetaWmf);
ConvertFolder(oMetaFile, L"D://test//_svm//4//", c_lMetaSvm);
//ConvertFolder(oMetaFile, L"D://Test Files//Wmf//Test//", c_lMetaWmf);
//ConvertFolder(oMetaFile, L"D://Test Files//Emf//Temp//", c_lMetaEmf);
//_CrtSetDbgFlag(_CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF);