epgplus: use BIGFONT_FACTOT to calculate big fonts

Origin commit data
------------------
Branch: ni/coolstream
Commit: 4394b7752b
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-04-08 (Sat, 08 Apr 2017)

Origin message was:
------------------
- epgplus: use BIGFONT_FACTOT to calculate big fonts

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2017-04-08 14:11:27 +02:00
parent 7294a68cfd
commit 9d4cad2a50

View File

@@ -670,7 +670,7 @@ void EpgPlus::init()
if (bigfont && (fontSettingTable[i].settingID == EpgPlus::EPGPlus_channelentry_font ||
fontSettingTable[i].settingID == EpgPlus::EPGPlus_channelevententry_font))
{
size = size * 3 / 2; /* increase font size for channel name and event title */
size = (int)(size * BIGFONT_FACTOR); /* increase font size for channel name and event title */
}
std::string family = g_fontRenderer->getFamily(FileName.c_str());
Font *font = g_fontRenderer->getFont(family.c_str(), fontSettingTable[i].style, size);