From: Mikko Rasa Date: Wed, 28 Nov 2012 19:30:22 +0000 (+0200) Subject: Remove deprecated Font features X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=commitdiff_plain;h=a6463a575c64115dc1ab80ec9b350622778a8f9b Remove deprecated Font features --- diff --git a/source/font.cpp b/source/font.cpp index d03ce281..61534f0b 100644 --- a/source/font.cpp +++ b/source/font.cpp @@ -123,10 +123,6 @@ void Font::Loader::init() add("texture", &Loader::texture); add("texture", &Loader::texture_ref); add("glyph", &Loader::glyph); - - // Deprecated aliases - add("default_size", &Font::native_size); - add("texture_inline", &Loader::texture); } void Font::Loader::glyph(unsigned c) diff --git a/source/font.h b/source/font.h index 21c202d7..a6873aac 100644 --- a/source/font.h +++ b/source/font.h @@ -63,7 +63,6 @@ public: const Texture2D &get_texture() const; void add_glyph(unsigned, float, float, float, float, float, float, float, float, float); float get_native_size() const { return native_size; } - float get_default_size() const { return native_size; } // Deprecated float get_ascent() const { return ascent; } float get_descent() const { return descent; }