summaryrefslogtreecommitdiff
path: root/font.h
diff options
context:
space:
mode:
authorAndreas Mair <amair.sob@googlemail.com>2007-06-25 12:44:11 +0200
committerAndreas Mair <amair.sob@googlemail.com>2007-06-25 12:44:11 +0200
commitfc61e314442d22bb7886dba77380497b776fcb62 (patch)
treeb6e891bb760438f2209d5f24ab489d8d01579026 /font.h
parentae9c6ccad6ba1ab419fe73d9e75f545cbbb62c96 (diff)
downloadvdr-plugin-skinenigmang-fc61e314442d22bb7886dba77380497b776fcb62.tar.gz
vdr-plugin-skinenigmang-fc61e314442d22bb7886dba77380497b776fcb62.tar.bz2
2007-06-25: Version 0.0.5rc3v0.0.5rc3
- Updated Finnish translation (Submitted by Rolf Ahrenberg). - Added quickepgsearch, sport and music plugins in main menu logos (Submitted by zulu @vdr-portal.de). - Reworked debug() and error(). - Use required width of date for calculation of logo area with. - Don't let vector for text effects grow when moving through lists in menus. - Added internal translation of long weeksdays (Requested and translated by Pat @vdr-portal.de). - Support TrueTypeFonts again with VDR >=v1.5.4 (TTF width setup disabled). - Read OSD size from VDR's cOsd as suggested in VDR and Avards plugin. - Minor bugfixes and enhancements.
Diffstat (limited to 'font.h')
-rw-r--r--font.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/font.h b/font.h
index cf991f4..44aae17 100644
--- a/font.h
+++ b/font.h
@@ -11,6 +11,8 @@
#include "common.h"
+#if VDRVERSNUM != 10503
+
#include <map>
#include <vector>
#include <ft2build.h>
@@ -27,7 +29,9 @@ class cGraphtftFont
{
private:
typedef map<string,cFont*> cache_map;
+#if VDRVERSNUM < 10503
typedef map<string,cFont::tPixelData*> del_map;
+#endif
public:
cGraphtftFont();
@@ -39,12 +43,14 @@ public:
void Clear();
private:
+#if VDRVERSNUM < 10503
FT_Library _library;
FT_Face _face;
FT_GlyphSlot _slot;
- cache_map _cache;
del_map _del;
+#endif
+ cache_map _cache;
};
-
+#endif // VDRVERSNUM != 10503
#endif // VDR__GRAPHTFTFONT_H