- Texture2D *tex=new Texture2D;
- tex->parameter(GL_GENERATE_MIPMAP, 1);
- font.tex=tex;
- tex->image(t);
- font.own_tex=true;
+ add("native_size", &Font::native_size);
+ add("ascent", &Font::ascent);
+ add("cap_height", &Font::cap_height);
+ add("descent", &Font::descent);
+ add("texture", &Loader::texture);
+ add("texture", &Loader::texture_ref);
+ add("glyph", &Loader::glyph);
+ add("kerning", &Loader::kerning);
+ add("x_height", &Font::x_height);