Re: imonlcd German Umlauts XBMC
Hans <[email protected]>
| Newsgroups | gmane.comp.sysutils.lcdproc |
|---|---|
| Message-ID | <[email protected]> |
Hi Markus,
I already tried to change the server/driver/imonlcd_font.h (before
recompiling and reinstalling), but it had no effect. Maybe I made a
mistake. Here a example:
this is the row 252 of this file
{ {0x00, 0x3c, 0x82, 0x02, 0x84, 0x3e } }, // 252 \u00fc ü u diaeresis
and this is row 245 of this file
{ {0x00, 0x5c, 0xa2, 0x62, 0x9c, 0x00 } }, // 245 \u00f5 õ o tilde
evertime the display should show a "ü" it shows a õ
i tried to switch the rows, i tried to make a change the õ to a ü in row
245 an vice versa in row 252.
any ideas what elese can be tried?
@Yura As far as i can tell, the imonlcd_font.h implements the iso
8859-15. So the only chance is to make my own font. But do you think
that would have an effect, when changing the imonlcd_font.h didn´t have.
I only ask, because I never did this before, and I think that could be a
lot of work.
Thx for the answers, great to have a community like this
Am 26.04.2011 22:56, schrieb Markus Dolze:
> -------- Original-Nachricht --------
>> Datum: Wed, 27 Apr 2011 00:49:52 +0700
>> Von: Yura Scheglyuk<[email protected]>
>> An: [email protected]
>> Betreff: Re: [Lcdproc] imonlcd German Umlauts XBMC
>
>> Hi!
>>
>> On 27.04.2011 0:20, Hans wrote:
>>
>>> I tried to use the patch given in the ticket, but it didn´t work. I
>>> think the diffs are to different now. After that I looked in the
>>> xbmc/linux/XLCDproc.cpp and found that line. But after removing,
>>> recompining and reinstallation. Nothing changed. Is there another line I
>>> have to remove? Maybe I can edit the function itself. But I couldn´t
>>> find it. Is there a chance to handle in LCDProc? Maybe with a charmap or
>>> something like that?
>>
>> As you have imonlcd you can use patch by Sergey Umpelev that load custom
>> font:
>> http://lists.omnipotent.net/pipermail/lcdproc/2010-January/013246.html
>> This patch needs some ease changes for lcdproc current. This patch
>> contains ISO 8859-15 font so you have to be sure that patched XBMC send
>> text to lcdproc in this codepage. Or you can make own font for your
>> codepage.
>>
>> Markus not accepting this patch because promising to implement "font
>> rendering based on the Freetype library later this year".
>>
>
> Hello,
>
> I guess that even font rendering based on Freetype will work in this case as XMBC translate characters to HD44780 encoding - something that I have not found any character encoding for use with Freetype up to now.
>
> XMBC should be modified to not translate any characters first.
>
> If you absolutely want german umlauts and know the characters XMBC replaces you can 'remap' them again on your own by swapping those character definitions in server/driver/imonlcd_font.h which is well documented and contains german umlauts.
>
> Regards,
> Markus
> _______________________________________________
> LCDproc mailing list
> [email protected]
> http://lists.omnipotent.net/mailman/listinfo/lcdproc
_______________________________________________
LCDproc mailing list
[email protected]
http://lists.omnipotent.net/mailman/listinfo/lcdproc