summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
authorFrantišek Dvořák <valtri@users.sourceforge.net>2003-09-18 18:14:50 +0000
committerFrantišek Dvořák <valtri@users.sourceforge.net>2003-09-18 18:14:50 +0000
commit43ed8e88c49089b9bc6cabbba528fc9b7eb6cf5e (patch)
treee6a3402ce996d4313c0cbd8d8fe80d3dec059a8c /src/input
parent02c325dc9e6584c71fb67449aeb505373141724a (diff)
downloadxine-lib-43ed8e88c49089b9bc6cabbba528fc9b7eb6cf5e.tar.gz
xine-lib-43ed8e88c49089b9bc6cabbba528fc9b7eb6cf5e.tar.bz2
Generating codepages with more than 256 characters (max. 16-bit).
Right computing text size of multibyte texts in OSD. Different alias character for missing character in the conversion and in the font: #, _ CVS patchset: 5402 CVS date: 2003/09/18 18:14:50
Diffstat (limited to 'src/input')
-rw-r--r--src/input/input_dvb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input/input_dvb.c b/src/input/input_dvb.c
index 7abd8e334..88c76daac 100644
--- a/src/input/input_dvb.c
+++ b/src/input/input_dvb.c
@@ -376,7 +376,6 @@ static void osd_show_channel (dvb_input_plugin_t *this) {
if ( (channel >= 0) && (channel < this->num_channels) )
this->stream->osd_renderer->render_text (this->osd, 10, 10+i*35,
this->channels[channel].name,
- "iso-8859-1",
OSD_TEXT3);
channel ++;
}
@@ -461,7 +460,6 @@ static void do_record (dvb_input_plugin_t *this) {
this->stream->osd_renderer->filled_rect (this->rec_osd, 0, 0, 300, 40, 0);
this->stream->osd_renderer->render_text (this->rec_osd, 10, 10, filename,
- "iso-8859-1",
OSD_TEXT3);
this->stream->osd_renderer->show (this->rec_osd, 0);
@@ -935,6 +933,7 @@ static int dvb_plugin_open (input_plugin_t *this_gen) {
410, 410);
this->stream->osd_renderer->set_position (this->osd, 20, 20);
this->stream->osd_renderer->set_font (this->osd, "cetus", 32);
+ this->stream->osd_renderer->set_encoding(this->osd, NULL);
this->stream->osd_renderer->set_text_palette (this->osd,
TEXTPALETTE_WHITE_NONE_TRANSLUCID,
OSD_TEXT3);
@@ -947,6 +946,7 @@ static int dvb_plugin_open (input_plugin_t *this_gen) {
301, 41);
this->stream->osd_renderer->set_position (this->rec_osd, 10, 10);
this->stream->osd_renderer->set_font (this->rec_osd, "cetus", 16);
+ this->stream->osd_renderer->set_encoding(this->rec_osd, NULL);
this->stream->osd_renderer->set_text_palette (this->rec_osd,
TEXTPALETTE_WHITE_NONE_TRANSLUCID,
OSD_TEXT3);