X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fvideo%2Ffont.hpp;h=bfde8742586d1b4f2dd11b7daf83915a6267e5ce;hb=101b0a78b682a8b6b87407edc625adaf7c51da40;hp=62b5d91c153fed2467148aa546b53cc37e431f87;hpb=12a28b64dcce9c7ff706451b4f3aecd201cc8a5f;p=supertux.git diff --git a/src/video/font.hpp b/src/video/font.hpp index 62b5d91c1..bfde87425 100644 --- a/src/video/font.hpp +++ b/src/video/font.hpp @@ -1,6 +1,6 @@ // SuperTux // Copyright (C) 2006 Matthias Braun , -// Ingo Ruhnke +// Ingo Ruhnke // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -21,7 +21,7 @@ #include #include -#include "math/rect.hpp" +#include "math/rectf.hpp" #include "math/vector.hpp" #include "video/color.hpp" #include "video/surface.hpp" @@ -120,7 +120,7 @@ private: int surface_idx; /** Position of the glyph inside the surface */ - Rect rect; + Rectf rect; Glyph() : advance(), @@ -133,10 +133,12 @@ private: private: GlyphWidth glyph_width; - std::vector glyph_surfaces; - std::vector shadow_surfaces; + std::vector glyph_surfaces; + std::vector shadow_surfaces; int char_height; int shadowsize; + int border; + bool rtl; /** 65536 of glyphs */ std::vector glyphs;