#pragma once #include #include "common/String.h" #define FONT_H 12 class FontReader { unsigned char const *pointer; int width; int pixels; int data; FontReader(unsigned char const *_pointer); static unsigned char const *lookupChar(String::value_type ch); public: FontReader(String::value_type ch); int GetWidth() const; int NextPixel(); };