If GUIListItem has long text with non-English characters then GUIListControl scrolling it jumps on several pixels after each non-English char.
To reproduce the problem just create empty file with long international name (like "Это русское длинное название файла.avi" ) in your Video folder. Then start MP, going to the Video, navigate to this file name and look how GUIListControl scrolling this text.
I think that problem in RenderText method. It get width of each char by calling font.GetTextExtent(wTmp.ToString(), ref fWidth, ref fHeight). And
if (_scrollPosititionX - _scrollOffsetX >= fWidth) then it going to the next char. I think that fWidth for non-English char is larger than actual char width in the string.
Dmitry
To reproduce the problem just create empty file with long international name (like "Это русское длинное название файла.avi" ) in your Video folder. Then start MP, going to the Video, navigate to this file name and look how GUIListControl scrolling this text.
I think that problem in RenderText method. It get width of each char by calling font.GetTextExtent(wTmp.ToString(), ref fWidth, ref fHeight). And
if (_scrollPosititionX - _scrollOffsetX >= fWidth) then it going to the next char. I think that fWidth for non-English char is larger than actual char width in the string.
Dmitry