http://bugs.winehq.org/show_bug.cgi?id=15798
Summary: 3D Game Studio text objects newline characters mistranslated Product: Wine Version: 1.1.7 Platform: HP OS/Version: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: mdirk@sympatico.ca
Until recently, I was sure that 3D Game Studio version A6.40.5 worked. But a specific 3DGS game, which is really a tool to build shaders, could not be tested earlier, because the built-in compilation of .fx files was not yet implemented. This compiler-DLL is not the cause of the bug, but being able to run SMEE2, which is this tool, only compiled with 3DGS as if it was a game, shows a subtle glitch in the handling of strings of text.
3D Game Studio has its own system for displaying 3D sprites, 2D panels, text objects and other 2D objects, which may not translate well into OpenGL.
But when displaying text objects, some internal form of newline characters are interpreted by 3DGS running under Windows, by allowing a single string to continue on the next line. The way this translates when running under Wine, the next line overstrikes the previous line, without shifting downward.
This results in somewhat amusing display in the settings of SMEE2, where text is supposed to be superimposed on a multi-colored background panel, to fit into tabular form. But only a first line with superimposed characters displays instead of each table of settings.
It makes the selection of shader parameters impossible from within this tool, even though the shaders themselves may render well by now.
http://bugs.winehq.org/show_bug.cgi?id=15798
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Platform|HP |Other
http://bugs.winehq.org/show_bug.cgi?id=15798
--- Comment #1 from Dirk Mittler mdirk@sympatico.ca 2008-10-27 12:11:16 --- Useful Information: According to my 3D Game Studio manual, linefeeds can be given within a string of text as a single \n character. This could actually be causing the problem, since the Windows default is cr-lf.
And the damaged text does not wrap to the beginning of the line, just because a newline character was given. It appends the next line, and then wraps back to the beginning, when the maximum extent of the text area is reached, in assigned X-coordinates on the screen.
http://bugs.winehq.org/show_bug.cgi?id=15798
--- Comment #2 from Dirk Mittler mdirk@sympatico.ca 2008-10-31 06:25:07 --- Created an attachment (id=17005) --> (http://bugs.winehq.org/attachment.cgi?id=17005) A screenshot to show that this bug exists.
http://bugs.winehq.org/show_bug.cgi?id=15798
--- Comment #3 from Dirk Mittler mdirk@sympatico.ca 2008-10-31 06:28:50 --- Under a Windows system, this SMEE2 window is usually laid out perfectly, because I did not create it, but rather purchased it.
But under Wine, the screen-shot (attachment 17005) shows what happens.
http://bugs.winehq.org/show_bug.cgi?id=15798
Dirk Mittler mdirk@sympatico.ca changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #17005|0 |1 is obsolete| |
--- Comment #4 from Dirk Mittler mdirk@sympatico.ca 2009-03-06 20:28:43 --- Created an attachment (id=19825) --> (http://bugs.winehq.org/attachment.cgi?id=19825) A screenshot to show that this bug is resolved.
Just because I upgraded to Wine version 1.1.16 , SMEE2 and its parent program 3D Game Studio, seem to display their information, and load shaders fine.
It should be noted that alpha-blending is still not supported, but I was never hoping for that.
http://bugs.winehq.org/show_bug.cgi?id=15798
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #5 from Vitaliy Margolen vitaliy@kievinfo.com 2009-03-06 21:02:03 --- Reported fixed
http://bugs.winehq.org/show_bug.cgi?id=15798
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alexandre Julliard julliard@winehq.org 2009-03-13 11:15:41 --- Closing bugs fixed in 1.1.17.