Add debug getters (and somehow text is not rendering :/)

This commit is contained in:
2026-09-06 16:06:14 +02:00
committed by tobid7
parent 52590833bb
commit 47425baad0
4 changed files with 30 additions and 4 deletions
+1
View File
@@ -20,6 +20,7 @@ PD_API void Font::LoadTTF(const std::string& path, int px_height) {
PDLOG("Font: Loading {}...", path);
TT::Scope st("LI_LoadTTF_" + path);
auto font = PD::IO::LoadFile2Mem(path);
PDLOG("Font Size: {}", PD::Strings::FormatBytes(font.size()));
LoadTTF(font, px_height);
}