View Issue Details

IDProjectCategoryView StatusLast Update
0006422Multi Theft Auto : San AndreasClientpublic2011-12-16 23:26
ReporterMX_Master Assigned Toccw  
Status resolvedResolutionfixed 
PlatformWindowsOSWindows XPOS VersionSP3
Target Version1.2Fixed in Version1.2 
Summary0006422: Incorrect width of GUI Tab title with Unicode symbols (while first creating)

While first creating of GUI Tab, containing Russian Unicode symbols, the width of this Tab defines incorrectly. But after recreating Tab, the width of this Tab becomes correct. See below..

Steps To Reproduce

local w,h = guiGetScreenSize()

local window = guiCreateWindow(w/2-200, h/2-150, 400, 300, "????????? ????", false) -- window title with russian symbols

local tabPanel = guiCreateTabPanel(10, 20, 380, 270, false, window)
local tab1 = guiCreateTab("???????", tabPanel) -- title 1 with russian symbols
local tab2 = guiCreateTab("??????", tabPanel) -- title 2 with russian symbols

-- RESULT after FIRST creating -

-- (thanks to forum user xomka for these screens and steps)

Additional Information

I think it's related to GUI symbol cashing mechanism.

TagsNo tags attached.


child of 0006375 closed New issues Unicode issues 



2011-08-26 20:56

viewer   ~~0014485

Last edited: 2011-08-26 21:00

STEPS to reproduce on the -

child of #0006375


2011-08-27 10:00

viewer   ~~0014494

Checked with more languages, here is result:
Text is (copied from wikipedia):

Japanese ("katakana", "hiragana")
Jewish ("ivrit", "yidish").


2011-09-03 20:10

viewer   ~~0014659

Bump :( This is fatal for non-english players.


2011-09-03 21:27

viewer   ~~0014660

Last edited: 2011-09-03 21:28

off course you can write a patch, if you want to fix this fast

Talidan said he will try to fix this later. But you can apply a temporary fix. Before any russian tabs, create some invisible tabs with all Russian alphabet and delete them so. These chars will be cashed and so you can create any tabs with russian chars without problems.


2011-12-14 06:31

updater   ~~0015366

Issue automatically marked as fixed by mantisbot ( Fixed in )

Issue History

Date Modified Username Field Change