Greek Characters Problem

cyberss

Vu+ Newbie
In black hole 1.7.2 there is a problem with the greek characters in the lcd screen of ultimo. There show as Σ ΣΣ Σ etc.

Also i notice this problem in the media player when you browse the files if they are greek they are show again as Σ Σ.

Is there any fix ?
 

cyberss

Vu+ Newbie
if a developer want help and need to contact me to fix this problem i am willing to help. i know coding python, c ...
 

Matrix10

Administrator
if a developer want help and need to contact me to fix this problem i am willing to help. i know coding python, c ...

If you have problems with the characters / fonts
usually problem is not in the coding but the fonts used for the skin and LCD.

You can try to replace the fonts used in the LCD or in the skin with similar fonts that support the greek characters .

default font for LCD is analog.ttf in /usr/share/fonts
LCD coding is in /etc/enigma2/skin_user.xml

<fonts>
<font filename="analog.ttf" name="VFD" scale="100"/>
</fonts>

skin coding is in skin.xml file for addon skins in /usr/share/enigma2/skinnamefolder or for default skin in /usr/share/enigma2/

example most of my skins using nmsbd.ttf for main "Regular" font

<font filename="lcd.ttf" name="LCD" scale="100"/>
<font filename="nmsbd.ttf" name="Regular" scale="100"/>
<font filename="ae_AlMateen.ttf" name="Replacement" scale="100" replacement="1"/>
<font filename="tuxtxt.ttf" name="Console" scale="100"/>
<font filename="lsb.ttf" name="dung" scale="100"/>
</fonts>

skin fonts in /usr/share/fonts


Ok i have one font from my old friend Greg ruDREAM team for sure with support for Greek so you can experiment.

Replace Regular font in skin (look first for font name in skin coding) with font from Greg and replace LCD font with font from Greg
(backup first orginal fonts in image / rename Greg font and put in to /usr/share/fonts).

For info this font can be used in most of my skins
and has support for Greek and Russian
(For my skins rename greg font in to nmsbd.ttf and put in to (first backup orginal font)
/usr/share/fonts)

Restart
 

Attachments

  • greg.zip
    80.3 KB · Views: 27

cyberss

Vu+ Newbie
working perfectly matrix10 your solution for lcd screen but for media player still there is a problem.

greeting to greg for the font.
 

Matrix10

Administrator
working perfectly matrix10 your solution for lcd screen but for media player still there is a problem.

greeting to greg for the font.

media player still there is a problem.

You have replace skin Regular font ?? and test with new recordings.
 

cyberss

Vu+ Newbie
i didnt add any skin i use the default black hole 1.7.2 skin(army i think is. i like it is nice). i have upload greg.ttf to /usr/share/fonts/ rename greg.ttf to nmsbd.ttf and that fixed the lcd problem.

then i enter /etc/enigma2 edit skin_user.xml
change
<fonts>
<font filename="greg.ttf" name="VFD" scale="100"/>
</fonts>
to
<fonts>
<font filename="nmsbd.ttf" name="VFD" scale="100"/>
</fonts>

reload enigma2 even reboot machine(was the same).

the problem is not the recordings. recordings are ok. it show greek names.

the problem is i tranfer a movie in the harddisk which it has greek name.avi and then
i go to the menu > media player > Toshiba HD it list the movies but the greek names movies they look like this

'yC 2012.avi

also when i click on this movie it plays the movie and in the LCD screen it show this strange name not the name of the movie that is show correctly when i connect with ftp and ssh or telnet.

media player where it takes the fonts? i think is problem with the media player now.
 

Matrix10

Administrator
Try to do the same with font in skin.xml

default skin.xml file in /usr/share/enigma2 if you using default skin.

Look for

<font filename="?????.ttf" name="Regular" scale="100"/>

In my skins look like this

<fonts>
<font filename="lcd.ttf" name="LCD" scale="100"/>
<font filename="nmsbd.ttf" name="Regular" scale="100"/>
<font filename="ae_AlMateen.ttf" name="Replacement" scale="100" replacement="1"/>
<font filename="tuxtxt.ttf" name="Console" scale="100"/>
<font filename="lsb.ttf" name="dung" scale="100"/>
</fonts>

and replace font in /usr/share/fonts ( but backup orginal font)

Restart after change

I think nmsbd.ttf support also Greek you can test.
If not use greg font.
 

cyberss

Vu+ Newbie
i edit skin.xml in /usr/share/enigma2
<!-- 2 Fonts -->
<fonts>
<font filename="Army_Regular_L.ttf" name="Regular" scale="95" />
to

<!-- 2 Fonts -->
<fonts>
<font filename="nmsbd.ttf" name="Regular" scale="95" />
reboot

nothing changed. media player in filelist show greek character problematic.
 

cyberss

Vu+ Newbie
try it yourself in a flash disk or hard disk add a file named

Δοκιμαστικό Αρχείο.avi

then go with the menu button> media player >

and see in the filelist the name of the file.

in my receiver is shown as i q.avi

in yours?
 

Matrix10

Administrator
try it yourself in a flash disk or hard disk add a file named

Δοκιμαστικό Αρχείο.avi

then go with the menu button> media player >

and see in the filelist the name of the file.

in my receiver is shown as i q.avi

in yours?

:help:
shot1.jpg
 

cyberss

Vu+ Newbie
from where i get the skin. in the plugins of the black hole there is not such a name. Also Black Hole E2 Downloads does not work.
 

cyberss

Vu+ Newbie
Matrix10 can you attach the skin in ipk or bh 0r tgz format in order to install it manually ?

Thank you for all the time you spent and the effort to help me find the solution.
 

Matrix10

Administrator
Matrix10 can you attach the skin in ipk or bh 0r tgz format in order to install it manually ?

Thank you for all the time you spent and the effort to help me find the solution.

Downloads works perfectly
If you have not changed your image.

Unfortunately my skins can be downloaded only from our server.
All other publications are illegal.
 

cyberss

Vu+ Newbie
when i go to Black Hole E2 Downloads everywhere i click (screenshot.jpg)

screenshot.jpg

i get Connectiob Failed (screenshot2.jpg).

screenshot2.jpg

I didnt change anything to the image i just install it as usuall from usb.

The only thing is working is plugins (screenshot3.jpg)

screenshot3.jpg
which there is not any skin with the name you call it.(screenshot4.jpg)

screenshot4.jpg

do i do anything wrong? does screenshot.jpg works for you?
 
Top