Bug compatible?

Troy Rollo wine at troy.rollo.name
Sun Feb 8 17:47:48 CST 2004

On Mon, 9 Feb 2004 10:13, Huw D M Davies wrote:

> Interesting.  Any chance of a regression test that shows this behaviour?

The attached file demonstrates the bug, but it seems I misdescribed the bug. 
The bug actually entails Windows returning absurdly wide widths for some 
strings when printing to a postscript printer. A consequence of this is that 
if you are doing your own word-wrapping you sometimes end up with infinite 
lines each containing zero characters when printing to a Postscript printer 
or performing a WYSIWYG preview matched to a Postscript printer unless you 
detect and compensate for the bug.

The attached example should demonstrate it on Windows 2000 if the default 
printer is a postscript printer. C file and sample output included.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.log
Type: text/x-log
Size: 2048 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20040209/e9486875/test.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.c
Type: text/x-csrc
Size: 205 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20040209/e9486875/test.c

More information about the wine-devel mailing list