mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 10:21:04 +02:00
CNeutrinoFonts: disable debug spam
Origin commit data
------------------
Branch: ni/coolstream
Commit: 5e666dcdd5
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-08-27 (Tue, 27 Aug 2013)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -336,7 +336,9 @@ Font **CNeutrinoFonts::getDynFontWithID(int &dx, int &dy, std::string text, int
|
||||
dy = (*ret)->getHeight();
|
||||
if (text != "")
|
||||
dx = (*ret)->getRenderWidth(text.c_str());
|
||||
#ifdef DEBUG_NFONTS
|
||||
printf("##### [%s] dx: %d, dy: %d, dynSize: %d, dynFont: %p, ret: %p, FontID: %d\n", __FUNCTION__, dx, dy, dynSize, *ret, ret, f_id);
|
||||
#endif
|
||||
return ret;
|
||||
}
|
||||
|
||||
@@ -388,6 +390,8 @@ Font **CNeutrinoFonts::getDynFontShare(int &dx, int &dy, std::string text, int s
|
||||
dy = (*ret)->getHeight();
|
||||
if (text != "")
|
||||
dx = (*ret)->getRenderWidth(text.c_str());
|
||||
#ifdef DEBUG_NFONTS
|
||||
printf("##### [%s] dx: %d, dy: %d, dynSize: %d, dynFont: %p, ret: %p, fontAvailable: %d\n", __FUNCTION__, dx, dy, dynSize, *ret, ret, fontAvailable);
|
||||
#endif
|
||||
return ret;
|
||||
}
|
||||
|
Reference in New Issue
Block a user