fontrenderer: fix issue with epgwindow font when FB is scaling

Origin commit data
------------------
Commit: dd025e6622
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-02-25 (Sat, 25 Feb 2012)
This commit is contained in:
Stefan Seyfried
2012-02-25 14:17:06 +01:00
parent 9c93e4eabf
commit 3c112f718b
2 changed files with 6 additions and 1 deletions

View File

@@ -316,6 +316,11 @@ int Font::getWidth(void)
return fontwidth * SCALE_MULT / xmult;
}
int Font::getSize(void)
{
return font.width * SCALE_MULT / xmult;
}
int Font::getHeight(void)
{
return height * SCALE_MULT / ymult;

View File

@@ -73,7 +73,7 @@ class Font
int getDigitHeight(void);
int getDigitOffset(void);
int getWidth(void);
int getSize(){return font.width;}
int getSize(void);
int setSize(int isize);
Font(FBFontRenderClass *render, FTC_FaceID faceid, const int isize, const fontmodifier _stylemodifier);