Error in default skin using 0.2.0.0 RC1 onwards? (1 Viewer)

tklon

Portal Pro
September 3, 2004
353
6
Germany
Home Country
Germany Germany
Solution for bug 560 found...

I found the problem which causes bug 560.

Summary 0000560: some texts are rendered "dirty" (home screen)
Description Noticed : 30.07.05
Skin : b2
Language: English
Description :
1) Launch MP
=> Watch the button-texts of the home-buttons closely,
some have "dirty pixels" ("my Plugins" / "myPrograms")

Additional Information Also noticed in other screens (like the "Lorem ipsum" dummy text in the scroll-settings screen
=> guess it's a bug in the rendering code

The character of the fonts are written to a png file in the fonts folder of each skin. Problem is that on some places the characters are to close to the next character. The space between the characters need to be increased.

The file mediaportal/mediaportal/Core/guilib/GUIFont.cs causes the behavior. The problem occured whit the changes between version 1.35 and 1.36 of that file.
Timestamp of the change: version 1.36, Thu Jul 21 10:53:50 2005 UTC

Have a look here:
http://cvs.sourceforge.net/viewcvs.py/mediaportal/mediaportal/Core/guilib/GUIFont.cs?r1=1.35&r2=1.36

Increasing spacingPerChar from 1 to 2 fixes the problem for me.

So could a dev please change the line:

spacingPerChar=1;
to
spacingPerChar=2;

Thank you!!! :lol:
 

tklon

Portal Pro
September 3, 2004
353
6
Germany
Home Country
Germany Germany
The fix was applied to cvs. Please try mediaportal-cvs-01-13-2006--01-03.rar or newer.

CVS-Changelog said:
On 12/01/2006 [22:44:13] dman_LFC added the following change: Mantis 560 bug fix from tklon

To make it work you need to delete the fonts folder in all skins:

C:\Programme\Team MediaPortal\MediaPortal\skin\BlueTwo\fonts
C:\Programme\Team MediaPortal\MediaPortal\skin\mce\fonts
C:\Programme\Team MediaPortal\MediaPortal\skin\MetalMedia\fonts
C:\Programme\Team MediaPortal\MediaPortal\skin\Project X\fonts

Also in the other skins you use. MP will create these files new on the next startup.
 

csberto

Portal Pro
November 6, 2004
208
0
Tilburg, the Netherlands
tklon said:
The fix was applied to cvs. Please try mediaportal-cvs-01-13-2006--01-03.rar or newer.

CVS-Changelog said:
On 12/01/2006 [22:44:13] dman_LFC added the following change: Mantis 560 bug fix from tklon

To make it work you need to delete the fonts folder in all skins:

C:\Programme\Team MediaPortal\MediaPortal\skin\BlueTwo\fonts
C:\Programme\Team MediaPortal\MediaPortal\skin\mce\fonts
C:\Programme\Team MediaPortal\MediaPortal\skin\MetalMedia\fonts
C:\Programme\Team MediaPortal\MediaPortal\skin\Project X\fonts

Also in the other skins you use. MP will create these files new on the next startup.
Do you mean the fonts.xml file in all skinfolders? There are no fonts folders.
 

jawbroken

Portal Pro
August 13, 2005
706
0
Home Country
Afghanistan Afghanistan
There very much is a fonts folder under each of the skins. They get created automatically when MediaPortal is started, I believe.
 

csberto

Portal Pro
November 6, 2004
208
0
Tilburg, the Netherlands
jawbroken said:
There very much is a fonts folder under each of the skins. They get created automatically when MediaPortal is started, I believe.
I don't have fonts folders under each of the skins. There only are the folders 'Media' and 'Sounds'. In the rootfolder of each skin there is a file called fonts.xml
 

jawbroken

Portal Pro
August 13, 2005
706
0
Home Country
Afghanistan Afghanistan
You will only have them on skins you have actually used (that is, told MediaPortal to use them in the Configuration then started up MediaPortal with the new skin), but they should be there.
 

csberto

Portal Pro
November 6, 2004
208
0
Tilburg, the Netherlands
jawbroken said:
You will only have them on skins you have actually used (that is, told MediaPortal to use them in the Configuration then started up MediaPortal with the new skin), but they should be there.
You're right. I only use ProjectX skin and there is a folder Fonts for that skin.
 

Users who are viewing this thread

Top Bottom