mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 01:11:12 +02:00
fontrenderer: fix issue with epgwindow font when FB is scaling
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