aboutsummaryrefslogtreecommitdiff
path: root/libjin/Graphics/Font.h
diff options
context:
space:
mode:
Diffstat (limited to 'libjin/Graphics/Font.h')
-rw-r--r--libjin/Graphics/Font.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/libjin/Graphics/Font.h b/libjin/Graphics/Font.h
index 924dbc1..6c5a1fc 100644
--- a/libjin/Graphics/Font.h
+++ b/libjin/Graphics/Font.h
@@ -8,10 +8,6 @@ namespace jin
namespace graphics
{
- typedef unsigned int Codepoint;
-
- typedef std::vector<Codepoint> Sentence;
-
struct Page;
class Font
@@ -21,10 +17,10 @@ namespace graphics
virtual ~Font() {};
virtual void print(const Page* page, int x, int y) = 0;
- virtual void print(const Sentence& text, int x, int y, int lineheight, int spacing = 0) = 0;
- virtual Page* typeset(const Sentence& text, int lineheight, int spacing = 0) = 0;
- virtual void print(Unicode::Iterator& itor, int x, int y, int lineheight, int spacing = 0) = 0;
- virtual Page* typeset(Unicode::Iterator& itor, int lineheight, int spacing = 0) = 0;
+ virtual void print(const unicode::Sentence& text, int x, int y, int lineheight, int spacing = 0) = 0;
+ virtual Page* typeset(const unicode::Sentence& text, int lineheight, int spacing = 0) = 0;
+ virtual void print(unicode::Iterator& itor, int x, int y, int lineheight, int spacing = 0) = 0;
+ virtual Page* typeset(unicode::Iterator& itor, int lineheight, int spacing = 0) = 0;
};