diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2004-06-02 01:11:59 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2004-06-02 01:11:59 +0000 |
| commit | 3bad22d5566624804a73b3791980bab2d84c8266 (patch) | |
| tree | eb99b584b542cdc2ab264d8439ba771a117f0cb2 /lib/gdi/font.cpp | |
| parent | d6f6602d7cea3a7899990fe79216af7d98d05917 (diff) | |
| download | enigma2-3bad22d5566624804a73b3791980bab2d84c8266.tar.gz enigma2-3bad22d5566624804a73b3791980bab2d84c8266.zip | |
- disabled gui for a moment
- beginning of GDI2 work (region/fill/line works)
- fixed smartptr self assignment
- finally replaced "int ref" by something with a constructor
Diffstat (limited to 'lib/gdi/font.cpp')
| -rw-r--r-- | lib/gdi/font.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/gdi/font.cpp b/lib/gdi/font.cpp index a0b6d2e7..2f2823bb 100644 --- a/lib/gdi/font.cpp +++ b/lib/gdi/font.cpp @@ -239,7 +239,7 @@ int fontRenderClass::getFont(ePtr<Font> &font, const eString &face, int size, in DEFINE_REF(Font); -Font::Font(fontRenderClass *render, FTC_FaceID faceid, int isize, int tw): ref(0), tabwidth(tw) +Font::Font(fontRenderClass *render, FTC_FaceID faceid, int isize, int tw): tabwidth(tw) { renderer=render; font.font.face_id=faceid; @@ -249,7 +249,6 @@ Font::Font(fontRenderClass *render, FTC_FaceID faceid, int isize, int tw): ref(0 height=isize; if (tabwidth==-1) tabwidth=8*isize; - ref=0; // font.image_type |= ftc_image_flag_autohinted; } @@ -262,6 +261,8 @@ Font::~Font() { } +DEFINE_REF(eTextPara); + int eTextPara::appendGlyph(Font *current_font, FT_Face current_face, FT_UInt glyphIndex, int flags, int rflags) { FTC_SBit glyph; |
