X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ffont.cpp;h=fba9f331fb7e7cbcceaaf04e21eca8215f89aa46;hb=refs%2Fheads%2Flegacy;hp=3fd24d8ea0ebde029e262d137dcfaf509b0db5ee;hpb=03e6c23f8141c5a1723c8acee00a46a15b0777be;p=libs%2Fgl.git diff --git a/source/font.cpp b/source/font.cpp index 3fd24d8e..fba9f331 100644 --- a/source/font.cpp +++ b/source/font.cpp @@ -140,6 +140,20 @@ 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): DataFile::CollectionObjectLoader(f, 0) {