putting a font in the script

Posts 1–5 of 5 · Page 1 of 1
putting a font in the script
hi i need some help guys i have a hack but i have a problem inztelizing the font for the esp here is the script pls tell me whats wrong with it :
#include "Fonts/DroidSans.h"

Renderer* Renderer::m_pInstance;

Renderer::Renderer()
{
}

Renderer::~Renderer()
{
}

void Renderer::Initialize()
{
ImGuiIO& io = ImGui::GetIO();

io.Fonts->AddFontFromMemoryTTF(g_fDroidSans, sizeof(g_fDroidSans), 15.0f, NULL, io.Fonts->GetGlyphRangesCyrillic());
m_pFont = io.Fonts->AddFontFromMemoryTTF(g_fDroidSans, sizeof(g_fDroidSans), 30.0f, NULL, io.Fonts->GetGlyphRangesCyrillic());
}
Quote Originally Posted by Destiny View Post
hi i need some help guys i have a hack but i have a problem inztelizing the font for the esp here is the script pls tell me whats wrong with it :
#include "Fonts/DroidSans.h"

Renderer* Renderer::m_pInstance;

Renderer::Renderer()
{
}

Renderer::~Renderer()
{
}

void Renderer::Initialize()
{
ImGuiIO& io = ImGui::GetIO();

io.Fonts->AddFontFromMemoryTTF(g_fDroidSans, sizeof(g_fDroidSans), 15.0f, NULL, io.Fonts->GetGlyphRangesCyrillic());
m_pFont = io.Fonts->AddFontFromMemoryTTF(g_fDroidSans, sizeof(g_fDroidSans), 30.0f, NULL, io.Fonts->GetGlyphRangesCyrillic());
}
what scripting language is this
c++ XD
my friend which it worked for him sent it to me but i have problems with it but hes on vacation so i need someone to help me with this
anyone? pls? i need this!
just use AddFontFromFileTTF and pass the ttf path? D:
Posts 1–5 of 5 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us