mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-04-07 13:55:33 +08:00
no message
This commit is contained in:
committed by
Alexander Trofimov
parent
1ae20da785
commit
b31d554ab6
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user