From 9d4cad2a50d077892a1616e95f9ab14720c3ebcb Mon Sep 17 00:00:00 2001 From: vanhofen Date: Sat, 8 Apr 2017 14:11:27 +0200 Subject: [PATCH] epgplus: use BIGFONT_FACTOT to calculate big fonts Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/4394b7752b28cffd4b8436798455a91341038b0a Author: vanhofen 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 --- src/gui/epgplus.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/epgplus.cpp b/src/gui/epgplus.cpp index 0fc4930d1..bf10520c7 100644 --- a/src/gui/epgplus.cpp +++ b/src/gui/epgplus.cpp @@ -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);