Implementation FreeType2-13.3

This commit is contained in:
rtw1x1
2026-02-03 20:23:53 +00:00
parent 00cd91524e
commit ce5ef584c9
17 changed files with 595 additions and 275 deletions

View File

@@ -23,6 +23,7 @@
#include <stdlib.h>
#include <utf8.h>
#include <sodium.h>
#include "EterLib/FontManager.h"
extern "C" {
extern int _fltused;
@@ -297,6 +298,12 @@ static bool Main(HINSTANCE hInstance, LPSTR lpCmdLine)
return false;
}
if (!CFontManager::Instance().Initialize())
{
LogBox("FreeType initialization failed");
return false;
}
static CLZO lzo;
CPackManager packMgr;
@@ -324,6 +331,8 @@ static bool Main(HINSTANCE hInstance, LPSTR lpCmdLine)
app->Destroy();
delete app;
CFontManager::Instance().Destroy();
return 0;
}