X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fbuilders%2Ffont.cpp;fp=source%2Fbuilders%2Ffont.cpp;h=58b23fe9dac150cefb9f0212c7b7777cba8584a3;hp=4fb643527c83d9ea43058ffb81ead0332a74941e;hb=38712d8ecc57d043a2419ffbaeeb57f7a6586f14;hpb=3bc34893905a2df622894aadcb6669f27f186772 diff --git a/source/builders/font.cpp b/source/builders/font.cpp index 4fb64352..58b23fe9 100644 --- a/source/builders/font.cpp +++ b/source/builders/font.cpp @@ -10,18 +10,6 @@ using namespace std; namespace Msp { namespace GL { -Font::Font(): - native_size(1), - ascent(1), - descent(0), - cap_height(1), - x_height(0.5) -{ } - -// Avoid synthesizing ~RefPtr in files including font.h -Font::~Font() -{ } - void Font::set_texture(const Texture2D &t) { texture = &t; @@ -129,20 +117,6 @@ unsigned Font::get_ligature(unsigned code, unsigned next) const } -Font::Glyph::Glyph(): - code(0), - x1(0), - y1(0), - x2(1), - y2(1), - w(1), - h(1), - off_x(0), - off_y(0), - advance(1) -{ } - - Font::Loader::Loader(Font &f, Collection &c): DataFile::CollectionObjectLoader(f, &c) {