diff options
Diffstat (limited to 'src/libjin/Graphics/Font.h')
-rw-r--r-- | src/libjin/Graphics/Font.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/libjin/Graphics/Font.h b/src/libjin/Graphics/Font.h index 176669c..5311c96 100644 --- a/src/libjin/Graphics/Font.h +++ b/src/libjin/Graphics/Font.h @@ -11,11 +11,7 @@ namespace jin { namespace graphics { - /** - * Usage of stb_truetype.h here might be a little - * bit dummy. Implementation of Font is referring - * to stb_truetype.h L243~284. I basicly copy it:) - */ + class Font: public Drawable { public: @@ -34,9 +30,7 @@ namespace graphics void box(const char* text, int fontHeight, int spacing, int lineHeight, int* w, int * h); private: - /** - * ASCII 32(space)..126(~) 95 glyphs - */ + /* ASCII 32(space)..126(~) 95 glyphs */ static const int ASCII_CHARACTER_NUM = 96; stbtt_bakedchar asciiData[ASCII_CHARACTER_NUM]; |