[vdr] Utf8-patch experiences, anyone?

2006-11-15 Thread Petri Helin

Hi,

I have been experimenting with increasing the resolution of the OSD
with xineliboutput with at least some kind of success (see
http://img79.imageshack.us/my.php?image=hdosdrx4.png and try to not
get bothered about the other "images" you are forced to see, this was
the first image sharing site I came across).

Now there are some problems that have come up with the HD OSD. Font
rendering and the way fonts and OSD are used by plugins are the main
distractions. I bumped in to this Utf8-patch
(http://www.vdr-wiki.de/wiki/index.php/Utf8-patch) which looks
promising, but failed to find any more information than what is
provided in the german wiki. And the latest adaptation is for VDR
1.4.0. Is the someone out there using this patch and could share his
experiences? Maybe someone has adapted it to the current version of
VDR...

-Petri

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Utf8-patch experiences, anyone?

2006-11-30 Thread Harald Milz
Petri Helin <[EMAIL PROTECTED]> wrote:
> Now there are some problems that have come up with the HD OSD. Font
> rendering and the way fonts and OSD are used by plugins are the main
> distractions. I bumped in to this Utf8-patch
> (http://www.vdr-wiki.de/wiki/index.php/Utf8-patch) which looks

Has somebody got a pointer to where the actual patch is located,
especially v0.1.2 (I'm running vdr-1.4.1)? The link to the homepage at
free-x.de seems to be gone, and http://www.free-x.de/vdr/ contains a lot
of stuff except this patch (Oleg?). I'd like to give it a try because
I need to support a mixed (Russian - German) environment. Having to set
the OSD to rus in order to read the EPGs is really not an option. ;-)

Alexander, are you there? 

Oleg, thanks for the xmltv files! Works just fine! 

-- 
"Being disintegrated makes me ve-ry an-gry!"  

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Utf8-patch experiences, anyone?

2006-11-30 Thread Oleg Roitburd
Am Donnerstag, 30. November 2006 15:52 schrieb Harald Milz:
> Has somebody got a pointer to where the actual patch is located,
> especially v0.1.2 (I'm running vdr-1.4.1)? The link to the homepage at
> free-x.de seems to be gone, and http://www.free-x.de/vdr/ contains a lot
> of stuff except this patch (Oleg?). I'd like to give it a try because
> I need to support a mixed (Russian - German) environment. Having to set
> the OSD to rus in order to read the EPGs is really not an option. ;-)

Now it works... http://www.free-x.de/utf8/ 

> Alexander, are you there?
>
> Oleg, thanks for the xmltv files! Works just fine!

I'm glad to hear this 

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Utf8-patch experiences, anyone?

2006-11-30 Thread Alexander Riedel

Hello to all UTF-8 user and naturally to others 8 and 7bit user also. ;-)


Please look at http://www.free-x.de/utf8/

The last version of utf8 patch is for vdr 1.4.3 the next version for 1.4.4 will 
be soon there.


P.S.
Would be also interesting to know whether someone Antialiasing uses, otherwise I 
remove AA code from UTF8 Patch. (new softdevice plugin does it also very well)



Harald Milz schrieb:

Petri Helin <[EMAIL PROTECTED]> wrote:

Now there are some problems that have come up with the HD OSD. Font
rendering and the way fonts and OSD are used by plugins are the main
distractions. I bumped in to this Utf8-patch
(http://www.vdr-wiki.de/wiki/index.php/Utf8-patch) which looks


Has somebody got a pointer to where the actual patch is located,
especially v0.1.2 (I'm running vdr-1.4.1)? The link to the homepage at
free-x.de seems to be gone, and http://www.free-x.de/vdr/ contains a lot
of stuff except this patch (Oleg?). I'd like to give it a try because
I need to support a mixed (Russian - German) environment. Having to set
the OSD to rus in order to read the EPGs is really not an option. ;-)

Alexander, are you there? 

Oleg, thanks for the xmltv files! Works just fine! 



___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Utf8-patch experiences, anyone?

2006-12-04 Thread Marko Mäkelä
Hallo Alexander,

> Please look at http://www.free-x.de/utf8/
> 
> The last version of utf8 patch is for vdr 1.4.3 the next version for 1.4.4 
> will be soon there.

I'm interested in the patch, given that all my other Linux computers use
utf8.  However, I'd prefer to use the built-in bitmap fonts of vdr,
for two reasons:

For one, I fear that Freetype could use too much processing power.
Secondly, I would expect the rendered glyphs to look bad in the
interlaced output of vdr -P'softdevice -vo dfb:mgatv'
(TV output of Matrox G450).

Do you have any thoughts on this?  How hard would it be to combine all
VDR font bitmaps to one that would use Unicode Basic Multilingual Plane?
Presumably, it would have to be a sparse data structure, since most code
points of the BMP are not present in the bitmap fonts nor used by
DVB-T senders.

Marko

PS: I saw one Russian (or Bulgarian or some Cyrillic) and one German comment
being added by vdr-1.4.3-utf8-0.1.3-rc1.diff.gz.  Maybe it would be
better to translate them into English.

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Utf8-patch experiences, anyone?

2006-12-04 Thread Thiemo Gehrke
Am Donnerstag, 30. November 2006 23:18 schrieb Alexander Riedel:
> The last version of utf8 patch is for vdr 1.4.3 the next version for 1.4.4
> will be soon there.
>
> P.S.
> Would be also interesting to know whether someone Antialiasing uses,
> otherwise I remove AA code from UTF8 Patch. (new softdevice plugin does it
> also very well)

If it's not too much effort for you pls leave it in.
Unfortunately I didn't have time to test it out, but it's on my list ;)

Not everyone is using softdevice, in fact i think it's the minority.

Tim

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Utf8-patch experiences, anyone?

2006-12-04 Thread Alexander Riedel

Hi Marko,

built-in bitmap Fonts in vdr are not uniform. Those must be first exchanged.

UTF8 user found Freetype fonts better than built-in. Size is scallable.

Marko Mäkelä schrieb:

For one, I fear that Freetype could use too much processing power.
Secondly, I would expect the rendered glyphs to look bad in the
interlaced output of vdr -P'softdevice -vo dfb:mgatv'
(TV output of Matrox G450).


try out simply, i use DXR3 and meine frends FF cards.



Do you have any thoughts on this?  How hard would it be to combine all
VDR font bitmaps to one that would use Unicode Basic Multilingual Plane?
Presumably, it would have to be a sparse data structure, since most code
points of the BMP are not present in the bitmap fonts nor used by
DVB-T senders.

Marko

PS: I saw one Russian (or Bulgarian or some Cyrillic) and one German comment
being added by vdr-1.4.3-utf8-0.1.3-rc1.diff.gz.  Maybe it would be
better to translate them into English.

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr



___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Utf8-patch experiences, anyone?

2006-12-05 Thread Harald Milz
Alexander Riedel <[EMAIL PROTECTED]> wrote:

> UTF8 user found Freetype fonts better than built-in. Size is scallable.

> Marko Mäkelä schrieb:
> > For one, I fear that Freetype could use too much processing power.
> > Secondly, I would expect the rendered glyphs to look bad in the
> > interlaced output of vdr -P'softdevice -vo dfb:mgatv'
> > (TV output of Matrox G450).

I am using the 1.4.0-2 patch against vdr-1.4.1 and softdevice-0.3.1 with
a Matrox G550 at 1280x720p, albeit with DVI out.  Works just fine with
German OSD and German/Russian EPG.  The machine is an Athlon XP-M 2400+ @
1800MHz, and it uses 25-30 % CPU depending on what it does, with or without
Freetype. And IMHO the Arial font looks better on the OSD than the original
VDR font, but that's a matter of taste I guess. You can always replace it
by another TTF if you like. 


-- 
"Saw a sign on a restaurant that said Breakfast, any time -- so I
ordered French Toast in the Renaissance.
-- Steven Wright

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Utf8-patch experiences, anyone?

2006-12-05 Thread Marko Mäkelä
On Mon, Dec 04, 2006 at 09:36:58PM +0100, Alexander Riedel wrote:
> Hi Marko,
> 
> built-in bitmap Fonts in vdr are not uniform. Those must be first exchanged.
> 
> UTF8 user found Freetype fonts better than built-in. Size is scallable.

I see.  I gave the patch a try.  After all, the only added dependence on
my system seems to be libfreetype6{,-dev}.

> 
> Marko Mäkelä schrieb:
> >For one, I fear that Freetype could use too much processing power.
> >Secondly, I would expect the rendered glyphs to look bad in the
> >interlaced output of vdr -P'softdevice -vo dfb:mgatv'
> >(TV output of Matrox G450).
> 
> try out simply, i use DXR3 and meine frends FF cards.

Unfortunately, it caused a segmentation fault or something strange
in iconv_close() in CharSetConv(), called from ConvertPhrases().
When I started it in gdb or quickly attached gdb during the
initialization, there was no crash, but a hang or a signal (SIGTERM
if I remember correctly), varying from time to time.  When I started
vdr standalone as "vdr -l1", it crashed in SIGSEGV.  Valgrind didn't
reveal anything either; it just appeared hung.  The only error in the
logs related to your patch was this one:

"ERROR: FreeType: an error occurred during FT_Render_Glyph"

I see that the iconv functions are part of GNU libc.  I'm using version
2.3.6.  The compiler version is
"gcc (GCC) 4.1.2 20061028 (prerelease) (Debian 4.1.1-19)".

The crash occurred on both vdr 1.4.2 and 1.4.3.  On 1.4.2, there was one
trivial reject: the disabling of the UTF-8 check.  On 1.4.3, the patch
applied cleanly.  The only other patches are the patch of
vdr-subtitles-0.3.11 (http://www.virtanen.org/vdr/subtitles/) and this
patch of mine:

http://www.ktverkko.fi/~msmakela/software/vdr/vdr-1.4.0-suspend-0.4.3.patch.gz

I run vdr in LANG=fi_FI, charset iso-8859-1 ("locale" does not say it,
but it definitely is 8859-1 or 8859-15).

Marko

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Utf8-patch experiences, anyone?

2006-12-05 Thread Alexander Riedel

Harald Milz schrieb:

Freetype. And IMHO the Arial font looks better on the OSD than the original
VDR font, but that's a matter of taste I guess. You can always replace it
by another TTF if you like. 


exact

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Utf8-patch experiences, anyone?

2006-12-05 Thread Alexander Riedel

Hi Marko,

last debian or freetype has problems with utf8 patch. I know. :-/ Version for 
1.4.4 will fix it.

You can try older freetype versions or wait.

Und also link to German wiki: http://www.vdr-wiki.de/wiki/index.php/Utf8-patch



Marko Mäkelä schrieb:

On Mon, Dec 04, 2006 at 09:36:58PM +0100, Alexander Riedel wrote:

Hi Marko,

built-in bitmap Fonts in vdr are not uniform. Those must be first exchanged.

UTF8 user found Freetype fonts better than built-in. Size is scallable.


I see.  I gave the patch a try.  After all, the only added dependence on
my system seems to be libfreetype6{,-dev}.


Marko Mäkelä schrieb:

For one, I fear that Freetype could use too much processing power.
Secondly, I would expect the rendered glyphs to look bad in the
interlaced output of vdr -P'softdevice -vo dfb:mgatv'
(TV output of Matrox G450).

try out simply, i use DXR3 and meine frends FF cards.


Unfortunately, it caused a segmentation fault or something strange
in iconv_close() in CharSetConv(), called from ConvertPhrases().
When I started it in gdb or quickly attached gdb during the
initialization, there was no crash, but a hang or a signal (SIGTERM
if I remember correctly), varying from time to time.  When I started
vdr standalone as "vdr -l1", it crashed in SIGSEGV.  Valgrind didn't
reveal anything either; it just appeared hung.  The only error in the
logs related to your patch was this one:

"ERROR: FreeType: an error occurred during FT_Render_Glyph"

I see that the iconv functions are part of GNU libc.  I'm using version
2.3.6.  The compiler version is
"gcc (GCC) 4.1.2 20061028 (prerelease) (Debian 4.1.1-19)".

The crash occurred on both vdr 1.4.2 and 1.4.3.  On 1.4.2, there was one
trivial reject: the disabling of the UTF-8 check.  On 1.4.3, the patch
applied cleanly.  The only other patches are the patch of
vdr-subtitles-0.3.11 (http://www.virtanen.org/vdr/subtitles/) and this
patch of mine:

http://www.ktverkko.fi/~msmakela/software/vdr/vdr-1.4.0-suspend-0.4.3.patch.gz

I run vdr in LANG=fi_FI, charset iso-8859-1 ("locale" does not say it,
but it definitely is 8859-1 or 8859-15).

Marko

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr



___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Utf8-patch experiences, anyone?

2006-12-06 Thread Marko Mäkelä
On Wed, Dec 06, 2006 at 01:08:09AM +0100, Alexander Riedel wrote:
> Hi Marko,
> 
> last debian or freetype has problems with utf8 patch. I know. :-/ Version 
> for 1.4.4 will fix it.
> You can try older freetype versions or wait.
> 
> Und also link to German wiki: 
> http://www.vdr-wiki.de/wiki/index.php/Utf8-patch

Danke, ich werde warten.

Marko

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Utf8-patch experiences, anyone?

2006-12-31 Thread Vladimir Kangin
Hi Alexander,

Any progress on utf8 patch for 1.4.4?

Merry Christmas & Happy New Year
Vladimir

On Wed, 2006-12-06 at 01:08 +0100, Alexander Riedel wrote:
> Hi Marko,
> 
> last debian or freetype has problems with utf8 patch. I know. :-/
> Version for 
> 1.4.4 will fix it.
> You can try older freetype versions or wait.
> 
> Und also link to German wiki:
> http://www.vdr-wiki.de/wiki/index.php/Utf8-patch
> 


___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr