- work on timers
[enigma2.git] / lib / gdi / font.h
index ff2a88c5f6e692d0094e7520bca0b48040283ac6..c55b8f46dee102245d6abd45702648baa1dae561 100644 (file)
@@ -130,9 +130,16 @@ public:
 
                return boundBox;
        }
+       
+       const int size() const
+       {
+               return glyphs.size();
+       }
 
        const eRect& getGlyphBBox(int num) const
        {
+               assert(num >= 0);
+               assert(num < (int)glyphs.size());
                return glyphs[num].bbox;
        }
 };