summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
03e6c23)
It's not safe to assume that font files contain all of the values for
every glyph.
+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):
DataFile::CollectionObjectLoader<Font>(f, 0)
{
Font::Loader::Loader(Font &f):
DataFile::CollectionObjectLoader<Font>(f, 0)
{
float w, h;
float off_x, off_y;
float advance;
float w, h;
float off_x, off_y;
float advance;