http://bugs.winehq.org/show_bug.cgi?id=10445
Summary: winhelp.exe problem displaying help file, related to LF / CR-LF end-of-line issue? Product: Wine Version: 0.9.49. Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: wine-programs AssignedTo: wine-bugs@winehq.org ReportedBy: markk@clara.co.uk
Hi,
The winhelp.exe program supplied with Wine appears to have a problem displaying parts of some help files correctly. This is perhaps due to failing to recognise a linefeed (LF) as being equivalent to CR/LF?
Instead of moving to the beginning of the next line, the next line is displayed below and to the right of the rightmost character of the previous line. Furthermore, if the text would extend past the right window border, each subsequent character is displayed on a new line.
For example, consider the following text (where | denotes the right border): --- this is a test | of the Wine winhelp | program. | --- That would actually be displayed as something like: --- this is a test | of the Wine win| h| e| l| [etc.] ---
Instructions to replicate the problem: 1. Go to http://www.atmel.com/products/pld/forms/splash.asp 2. Click the link to download the WinCUPL installer 3. Run the installer 4. After installation completes, use the Wine winhelp.exe to open the file WinCupl/CUPLREF.HLP in the directory which the package was installed to. 5. In the Contents displayed, click on "2.2.1 Example 1 - Simple Gates" 6. Scroll down past the picture to the GATES.PLD text
http://bugs.winehq.org/show_bug.cgi?id=10445
Kirill K. Smirnov lich@math.spbu.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |lich@math.spbu.ru
--- Comment #1 from Kirill K. Smirnov lich@math.spbu.ru 2007-11-22 02:34:24 --- I've traced winhelp renderer - it is NOT a CR/LF issue. Instead, it is a TAB problem. The code is smth. like: <text1><LF><TAB><text2><LF><TAB><text3><LF><TAB>....
which is currently rendered as
text1 text2 text3
Really I do not know why THIS CASE should be rendered as:
text1 text2 text3
But it should, as native winhlp32 displays text correctly.
http://bugs.winehq.org/show_bug.cgi?id=10445
--- Comment #2 from Kirill K. Smirnov lich@math.spbu.ru 2008-05-13 16:22:22 --- Winhelp now uses richedit rendering, the bug looks fixed for me. Please, retest.
http://bugs.winehq.org/show_bug.cgi?id=10445
markk@clara.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #3 from markk@clara.co.uk 2008-07-04 04:15:42 --- Yes, the problem appears to be fixed now (testing with Wine 1.1.0).
http://bugs.winehq.org/show_bug.cgi?id=10445
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org 2008-07-11 11:09:08 --- Closing bugs fixed in 1.1.1.