From 3c74f0147d2e2e12ad5a163d3ed1a1e8dab76743 Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 3 Sep 2018 09:31:26 +0800 Subject: *update --- src/libjin/Graphics/Font.h | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'src/libjin/Graphics/Font.h') 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]; -- cgit v1.1-26-g67d0