remove Font::LoadDefaultFont

This commit is contained in:
2026-09-17 21:35:19 +02:00
parent 8c2bcedc93
commit 2b37204763
2 changed files with 0 additions and 8 deletions
-6
View File
@@ -56,12 +56,6 @@ class PD_API Font {
*/ */
void LoadTTF(const std::vector<u8>& data, int px_height = 32, void LoadTTF(const std::vector<u8>& data, int px_height = 32,
LiFontFlags flags = LiFontFlags_None); LiFontFlags flags = LiFontFlags_None);
/**
* Function that loads a default integrated font...
* This will only work if PD_LI_INCLUDE_FONTS was set
* on lithium build cause otherwise the font data is not included
*/
void LoadDefaultFont(int id = 0, int pixel_height = 32);
/** /**
* Getter for Codepoint reference * Getter for Codepoint reference
* @return codepoint dataholder reference * @return codepoint dataholder reference
-2
View File
@@ -195,8 +195,6 @@ PD_API void Font::LoadTTF(const std::vector<u8>& data, int px_height,
} }
} }
PD_API void Font::LoadDefaultFont(int id, int pixel_height) {}
PD_API Font::Codepoint& Font::GetCodepoint(u32 c) { PD_API Font::Codepoint& Font::GetCodepoint(u32 c) {
if (c < 128) { if (c < 128) {
// Direct Access (~11% improvement) // Direct Access (~11% improvement)