From: Hans-Bernhard B. <br...@ph...> - 2004-04-07 12:21:46
|
On Wed, 7 Apr 2004, Petr Mikulik wrote: > A user of wgnuplot.exe is reporting that the width specified as > TextSize=648 576 > item in wgnuplot.ini is ignored for large values of width (the first > number). He cannot get window width larger than sth like 808 pixels. > He is using font FixedSys, and then only 69 out of 80 characters can be > placed on the command line for that width. He claims this as bug (of > course). This is a strange one indeed. Walking through wgnuplot, here's what happens: *) win/wtext.c:ReadTextIni() correctly set lptw->Size to the requested size from wgnuplot.ini *) win/wtext.c:TextIni() uses that size to initialize the window size of the "Parent window" (the main text window, with the menu bar and the actual text window inside) *) Next, TextIni() calls GetClientRect() to determine the size of the actual text window area, and that one comes out with a width of 640, even though lptw->Size was 808. Something's seriously fishy here. -- Hans-Bernhard Broeker (br...@ph...) Even if all the snow were burnt, ashes would remain. |