- disabled gui for a moment
[enigma2.git] / lib / gdi / font.cpp
index a0b6d2e76185e1c95d3b08341765e3e545a56d14..2f2823bb01476aefbb5d801927d0abc733ad3b0c 100644 (file)
@@ -239,7 +239,7 @@ int fontRenderClass::getFont(ePtr<Font> &font, const eString &face, int size, in
 
 DEFINE_REF(Font);
 
 
 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;
 {
        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;
        height=isize;
        if (tabwidth==-1)
                tabwidth=8*isize;
-       ref=0;
 //     font.image_type |= ftc_image_flag_autohinted;
 }
 
 //     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;
 int eTextPara::appendGlyph(Font *current_font, FT_Face current_face, FT_UInt glyphIndex, int flags, int rflags)
 {
        FTC_SBit glyph;