mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 09:21:09 +02:00
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:
@@ -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;
|
||||
|
@@ -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);
|
||||
|
Reference in New Issue
Block a user