TD neutrino: hack to avoid duplicate code in lcd/fb fontrenderer

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@2030 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: 3777dbeb3a
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-01-01 (Sun, 01 Jan 2012)



------------------
This commit was generated by Migit
This commit is contained in:
Stefan Seyfried
2012-01-01 12:13:17 +00:00
parent 38458ac9e5
commit 1fa053ae8c

View File

@@ -183,7 +183,8 @@ FT_Error LcdFont::getGlyphBitmap(FT_ULong glyph_index, FTC_SBit *sbit)
return renderer->getGlyphBitmap(&font, glyph_index, sbit);
}
int UTF8ToUnicode(const char * &text, const bool utf8_encoded) // returns -1 on error
extern int UTF8ToUnicode(const char * &text, const bool utf8_encoded); // returns -1 on error
#if 0
{
int unicode_value;
@@ -227,6 +228,7 @@ int UTF8ToUnicode(const char * &text, const bool utf8_encoded) // returns -1 on
return unicode_value;
}
#endif
void LcdFont::RenderString(int x, int y, const int width, const char * text, const int color, const int selected, const bool utf8_encoded)
{