diff options
author | sfan5 <sfan5@live.de> | 2022-01-08 14:53:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-08 14:53:25 +0100 |
commit | 76dbd0d2d04712dcad4f7c6afecb97fa8d662d6d (patch) | |
tree | 248b907d2abeda0166d992bfb7b74b61cfe96d8a /src/client/fontengine.h | |
parent | bf22569019749e421e8ffe0a73cff988a9a9c846 (diff) | |
download | minetest-76dbd0d2d04712dcad4f7c6afecb97fa8d662d6d.tar.xz |
Fully remove bitmap font support (#11863)
Freetype is now a build requirement.
Diffstat (limited to 'src/client/fontengine.h')
-rw-r--r-- | src/client/fontengine.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/client/fontengine.h b/src/client/fontengine.h index 403ac2e48..78608e517 100644 --- a/src/client/fontengine.h +++ b/src/client/fontengine.h @@ -34,8 +34,6 @@ enum FontMode : u8 { FM_Standard = 0, FM_Mono, _FM_Fallback, // do not use directly - FM_Simple, - FM_SimpleMono, FM_MaxMode, FM_Unspecified }; @@ -140,9 +138,6 @@ private: /** initialize a new TTF font */ gui::IGUIFont *initFont(const FontSpec &spec); - /** initialize a font without freetype */ - gui::IGUIFont *initSimpleFont(const FontSpec &spec); - /** update current minetest skin with font changes */ void updateSkin(); @@ -165,8 +160,8 @@ private: bool m_default_bold = false; bool m_default_italic = false; - /** current font engine mode */ - FontMode m_currentMode = FM_Standard; + /** default font engine mode (fixed) */ + static const FontMode m_currentMode = FM_Standard; DISABLE_CLASS_COPY(FontEngine); }; |