http://bugs.winehq.org/show_bug.cgi?id=13129
Summary: Jumbled fonts in Persona Windows client Product: WineHQ Bugzilla Version: unspecified Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: bugzilla-unknown AssignedTo: wine-bugs@winehq.org ReportedBy: junk@mandd.com
Persona which may be obtained from: http://chesapeakeengine.com/PersonaWindowsClient.html. It will install and load properly, but when you connect to a server, the fonts appear as very strange and unreadable characters. To reproduce this behavior, install the app then connect to the server www.chesapeakeengine.com This one app has been keeping me from dumping Windows for years and I've tested many versions of Wine and many different Linux distros.
http://bugs.winehq.org/show_bug.cgi?id=13129
--- Comment #1 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2008-05-11 11:03:26 --- Created an attachment (id=12932) --> (http://bugs.winehq.org/attachment.cgi?id=12932) registry entry i changed
Hi, have you tested this app under windows? How does it work there?
I tried messing around with corefonts and windowsfonts but that didn't help. Then i thought have a look in the registry , and there i found a reference to some strange fontname i never saw (PSFascii or something like that). When i change that into tahoma, at least i can read the letters, they are normal characters again. I attached a screenshot of the registry entry i changed
http://bugs.winehq.org/show_bug.cgi?id=13129
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox_xerox2000@yahoo.co.uk URL| |http://chesapeakeengine.com/ | |PersonaWindowsClient.html Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Keywords| |download
--- Comment #2 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2008-05-11 11:04:14 --- confirming
http://bugs.winehq.org/show_bug.cgi?id=13129
--- Comment #3 from batrams junk@mandd.com 2008-05-11 12:08:12 --- It does work fine under windows. I use it everyday in my business, hence my desire to see it work under Wine so I can finally switch to Linux 100%
I will try your registry trick and see how that goes.
thanks!
http://bugs.winehq.org/show_bug.cgi?id=13129
Lei Zhang thestig@google.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|bugzilla-unknown |-unknown Product|WineHQ Bugzilla |Wine
--- Comment #4 from Lei Zhang thestig@google.com 2008-05-12 15:08:15 --- not a bugzilla bug.
http://bugs.winehq.org/show_bug.cgi?id=13129
--- Comment #5 from Austin English austinenglish@gmail.com 2009-01-03 13:27:03 --- http://chesapeakeengine.com/Persona.exe
I don't see weird fonts, but it crashes soon after connecting:
wine: Unhandled page fault on read access to 0x00000004 at address 0x41e4f1 (thread 0009), starting debugger... Backtrace: =>0 0x0041e4f1 in thinterm (+0x1e4f1) (0x0032fd04) 1 0x0040abf8 in thinterm (+0xabf8) (0x0032fd1c) 2 0x7eb8915a WINPROC_wrapper+0x1a() in user32 (0x0032fd4c) 3 0x7eb897fe call_window_proc+0xca(hwnd=0x20042, msg=513, wp=1, lp=12517891, result=0x32fe2c, arg=0x40aac1) [/home/austin/wine-git/dlls/user32/winproc.c:458] in user32 (0x0032fd9c) 4 0x7eb8fe09 WINPROC_call_window+0x1db(hwnd=0x20042, msg=513, wParam=1, lParam=12517891, result=0x32fe2c, unicode=0, mapping=WMCHAR_MAP_DISPATCHMESSAGE) [/home/austin/wine-git/dlls/user32/winproc.c:2212] in user32 (0x0032fdec) 5 0x7eb4afc5 DispatchMessageA+0x103(msg=0x32fe50) [/home/austin/wine-git/dlls/user32/message.c:3065] in user32 (0x0032fe3c) 6 0x0041d0ad in thinterm (+0x1d0ad) (0x0032fe6c) 7 0x0046d74d in thinterm (+0x6d74d) (0x0032fef8) 8 0x7ee0730b start_process+0xe4(arg=(nil)) [/home/austin/wine-git/dlls/kernel32/process.c:904] in kernel32 (0x0032ffe8) 0x0041e4f1: cmpl %ecx,0x4(%eax)
Which would be a different bug...
http://bugs.winehq.org/show_bug.cgi?id=13129
Rosanne DiMesio dimesio@earthlink.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dimesio@earthlink.net
--- Comment #6 from Rosanne DiMesio dimesio@earthlink.net 2009-08-21 08:32:15 --- Both the original download link and the one in comment #5 are dead.
http://bugs.winehq.org/show_bug.cgi?id=13129
--- Comment #7 from Rosanne DiMesio dimesio@earthlink.net 2009-08-21 09:21:26 --- Found an alternate download: http://terminal.mdeca.org/persona
You have to download using Windows Firefox, because Wine's iexplore just hangs trying to connect, and if you connect with a Linux browser the download page will offer you the Unix/Solaris client. Download the Windows Thin Client.
The installer is a WinZip self-extracting file. It still crashes as reported in comment #5, but the app is installed anyway.
Running the installed app, using terminal.mdeca.org as the server to connect to, the text displayed in the terminal window was in a Greek font. I found the registry key mentioned in comment #1 and changed it to Tahoma as described, and when I reconnected the text displayed normally. So this is still a bug in 1.1.27.
http://bugs.winehq.org/show_bug.cgi?id=13129
Kevin yungblood@yungblood.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |yungblood@yungblood.com
--- Comment #8 from Kevin yungblood@yungblood.com 2009-08-21 10:33:16 --- I also use this software quite often. I just installed wine 1.1.27. It is still an issue.
I found special font entries: PsfASCII and PsfDecSpecGraph. I changed them both over to tahoma, and it functionally works. I believe the PsfDecSpecGraph was used for line drawing. So the boxes around the text shows as letters. If there is a way to make it use the terminal font, it would look correct.
Also, since there seems to be an issue with links, Here are more alternates:
http://www.dixiesales.com/persona.aspx http://codis.gardnerinc.com/persona/ http://www.mwe.net/codis.exe
-Kevin
http://bugs.winehq.org/show_bug.cgi?id=13129
--- Comment #9 from Rosanne DiMesio dimesio@earthlink.net 2009-08-21 16:17:30 --- I did a little more exploring, and I found that the app actually had installed psfascii.ttf to drive_c/users/dimesio/Application Data/Esker/Persona Windows Client/Fonts. I copied the file to the windows/fonts directory, but had to delete the registry key entirely to get the app to use it (the app recreates that key on startup if it is missing). Once I did that, the font displayed fine.
I also checked how the app behaves in XP (I had to boot into it today anyway for something else), and it created the same registry key and installed the font into C:\Documents and Settings\dimesio\Application Data\Esker\Persona Windows Client\Fonts. Windows is able to use the font from that location.
http://bugs.winehq.org/show_bug.cgi?id=13129
--- Comment #10 from Rein Klazes wijn@online.nl 2009-08-22 07:30:26 --- (In reply to comment #9)
I did a little more exploring, and I found that the app actually had installed psfascii.ttf to drive_c/users/dimesio/Application Data/Esker/Persona Windows Client/Fonts. I copied the file to the windows/fonts directory, but had to delete the registry key entirely to get the app to use it (the app recreates that key on startup if it is missing). Once I did that, the font displayed fine.
Does not work here: only once the program shows normal characters. Starting the next time reverts to the symbol font.
It is also not true that wine cannot find/use the font in the application data directory:
0009:Call gdi32.AddFontResourceA(0015089c "C:\windows\profiles\rein\Applicatie Data\Esker\Persona Windows Client\Fonts\psfascii.TTF") ret=0040a6c1 0009:trace:font:AddFontToList Loading font file "/home/rein/.winetest/dosdevices/c:/windows/profiles/rein/Applicatie Data/Esker/Persona Windows Client/Fonts/psfascii.TTF" index 0 0009:trace:font:AddFontToList fsCsb = 00000001 00000000/00000000 00000000 00000000 00000000 0009:trace:font:AddFontToList Added font L"PsfASCII" L"Roman" 0009:Ret gdi32.AddFontResourceA() retval=00000001 ret=0040a6c1
The problem is I think that on XP the font dialog shows as a "Symbol" font. On wine it is a regular font. Checked using notepad.
Thus when the applications requests loading the "psfascii" font it specifies the characterset "SYMBOL". Wine's fontmapper returns some symbol font, but not psfascii since that does not fulfills the basic requirement:
0009:Call gdi32.SelectObject(00000314,000054f4) ret=0040bbb2 0009:trace:font:WineEngCreateFontInstance L"PsfASCII", h=43, it=0, weight=400, PandF=00, charset=2 orient 0 escapement 0 0009:trace:font:WineEngCreateFontInstance DC transform 1.000000 0.000000 0.000000 1.000000 0009:trace:font:WineEngCreateFontInstance not in cache 0009:trace:font:WineEngCreateFontInstance (it=0, bd=0) is selected for (it=0, bd=0) 0009:trace:font:WineEngCreateFontInstance Chosen: L"Inkpen2 Special" L"Regular" (/home/rein/.winetest/dosdevices/c:/windows/Fonts/Ink2spec.TTF/(nil):0)
http://bugs.winehq.org/show_bug.cgi?id=13129
--- Comment #11 from Rosanne DiMesio dimesio@earthlink.net 2009-08-22 07:47:48 --- (In reply to comment #10)
Does not work here: only once the program shows normal characters. Starting the next time reverts to the symbol font.
You're right. Sorry, I should have checked that.
http://bugs.winehq.org/show_bug.cgi?id=13129
--- Comment #12 from Rein Klazes wijn@online.nl 2009-08-22 12:22:10 --- Browsing through the fonts on my system, I found another "MT Extra.ttf" that is not correctly recognized as a symbol font.
This font and the Psfascii font behave correctly with this little patch:
--- a/dlls/gdi32/freetype.c +++ b/dlls/gdi32/freetype.c @@ -1400,7 +1400,8 @@ static INT AddFontToList(const char *file, void *font_data_ptr, DWORD font_data_ if(pOS2->version == 0) { FT_UInt dummy;
- if(!pFT_Get_First_Char || (pFT_Get_First_Char( ft_face, &dummy ) < 0x100)) + if(!pFT_Get_First_Char || ((pFT_Get_First_Char( ft_face, &dummy ) < 0x100) + && pFT_Get_First_Char( ft_face, &dummy ))) fs.fsCsb[0] |= FS_LATIN1; else fs.fsCsb[0] |= FS_SYMBOL;
http://bugs.winehq.org/show_bug.cgi?id=13129
--- Comment #13 from Rosanne DiMesio dimesio@earthlink.net 2009-08-23 09:44:47 --- The patch works for me.
http://bugs.winehq.org/show_bug.cgi?id=13129
--- Comment #14 from Kevin yungblood@yungblood.com 2009-08-24 10:04:41 --- Patch works for me as well. :) Thanks!
Suggestion Rein, can you add that patch as an attachment? I struggled a little getting it installed due to line breaks. And I had to look up how to apply a patch. It's been some years since I dealt with linux source code.
But at least it appears to be working perfectly! :)
I have one program left to see if I can get working under linux, but unfortunately it's a big one.
http://bugs.winehq.org/show_bug.cgi?id=13129
--- Comment #15 from Rein Klazes wijn@online.nl 2009-08-24 10:36:56 --- Created an attachment (id=23237) --> (http://bugs.winehq.org/attachment.cgi?id=23237) Patch as attachment
There you are.
http://bugs.winehq.org/show_bug.cgi?id=13129
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx@gmail.com
--- Comment #16 from Bruno Jesus 00cpxxx@gmail.com 2012-04-15 22:37:22 CDT --- That code has changed since last comment as seen in: http://source.winehq.org/source/dlls/gdi32/freetype.c#L1663
Can anyone retest in wine 1.5.2? This may have been fixed.
I tried but all I get is IDS_CERTIFICATE_VERIFY_FAILED when trying to connect (which maybe can be a new bug).
http://bugs.winehq.org/show_bug.cgi?id=13129
--- Comment #17 from tom tomasmcdonnell@hotmail.com --- Created attachment 47468 --> http://bugs.winehq.org/attachment.cgi?id=47468 .sh file
http://bugs.winehq.org/show_bug.cgi?id=13129
--- Comment #18 from tom tomasmcdonnell@hotmail.com --- I made an .sh file that will load a registry file that has the key in question deleted, then runs persona..
If you use this work around, you will first need to run 'wine regedit' from terminal, and manually delete the key mentioned, then export the whole registry to default location. This is the file that will be reloaded into the wine registry at every excecution of the script.
https://bugs.winehq.org/show_bug.cgi?id=13129
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #19 from super_man@post.com --- The patch doesnt apply anymore at all.
https://bugs.winehq.org/show_bug.cgi?id=13129
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #20 from winetest@luukku.com --- (In reply to super_man from comment #19)
The patch doesnt apply anymore at all.
Also download dead.
What's the status of this bug? Did the patch merge in?
https://bugs.winehq.org/show_bug.cgi?id=13129
--- Comment #21 from Rosanne DiMesio dimesio@earthlink.net --- Still present in 1.9.15.
The first two download links in comment 8 still work. You can test the installed client with those servers, dixiesales.com or codis.gardnerinc.com.
https://bugs.winehq.org/show_bug.cgi?id=13129
--- Comment #22 from winetest@luukku.com --- (In reply to Rosanne DiMesio from comment #21)
Still present in 1.9.15.
The first two download links in comment 8 still work. You can test the installed client with those servers, dixiesales.com or codis.gardnerinc.com.
Well I tested this bug now. There was some working download at comment 8. I opened 3 different servers. I don't see anything wrong with the fonts and I also don't know how I supposed to use this software.
https://bugs.winehq.org/show_bug.cgi?id=13129
--- Comment #23 from Rosanne DiMesio dimesio@earthlink.net --- (In reply to winetest from comment #22)
Well I tested this bug now. There was some working download at comment 8. I opened 3 different servers. I don't see anything wrong with the fonts and I also don't know how I supposed to use this software.
I tested both the Dixie Sales and Gardner Inc clients and servers, and the problem is still present in 1.9.22.
Note that the clients from the two sites have different names, but the sha1sum is the same for both.
http://www.dixiesales.com/persona.aspx sha1sum /wine/testing/PersonaSetup.exe a90e7c132c2afcdebcaeb0418d78a101f9ec9224 /wine/testing/PersonaSetup.exe
http://codis.gardnerinc.com/persona/ sha1sum /wine/testing/Persona_WC32.exe a90e7c132c2afcdebcaeb0418d78a101f9ec9224 /wine/testing/Persona_WC32.exe
To reproduce:
!. Install the downloaded client. 2. Run ThinTerm.exe 3. Add a server to the "Persona Server Name or IP Address" field and click Open. 4. The name of the server should appear in the Sessions field. Select it and click Open. 5. A "Connecting" message (fonts look fine) will briefly appear, then a terminal window with gibberish.
https://bugs.winehq.org/show_bug.cgi?id=13129
--- Comment #24 from Dmitry Timoshkov dmitry@baikal.ru --- Same staging patch that has fixed the bugs 12377 and 33117 helps here as well.
https://bugs.winehq.org/show_bug.cgi?id=13129
--- Comment #25 from winetest@luukku.com --- (In reply to Dmitry Timoshkov from comment #24)
Same staging patch that has fixed the bugs 12377 and 33117 helps here as well.
So is this a dupe then?