mirror of
https://github.com/love2d/love.git
synced 2026-08-19 04:06:17 +02:00
Build type information on first use (load-time), instead of using a hardcoded list
--HG-- branch : dynamiccore2
This commit is contained in:
@@ -50,6 +50,8 @@ class Font : public Object, public Volatile
|
||||
{
|
||||
public:
|
||||
|
||||
static love::Type type;
|
||||
|
||||
typedef std::vector<uint32> Codepoints;
|
||||
|
||||
enum AlignMode
|
||||
@@ -235,7 +237,7 @@ private:
|
||||
// map of left/right glyph pairs to horizontal kerning.
|
||||
std::unordered_map<uint64, float> kerning;
|
||||
|
||||
FontType type;
|
||||
FontType fontType;
|
||||
Texture::Filter filter;
|
||||
|
||||
int textureX, textureY;
|
||||
|
||||
Reference in New Issue
Block a user