mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 01:11:12 +02:00
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
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user