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