|
From: <tim...@en...> - 2005-11-11 22:08:03
|
Petr Mikulik wrote: >> well-suited for text. Moreover, I have convinced myself that pango >> and cairo are almost as cross-platform as wxWidgets. > > Thanks for the description. > >> As a proof ;-), here are screenshots taken from windows XP running >> the wxWidgets terminal, using Cairo and Pango: >> >> Moreover, here is a zip archive containing gnuplot binary for windows >> compiled statically with wxWidgets, and dynamically with cairo and >> pango. Dlls are included so you don't need to add anything : it >> "should" work out-of-the-box. >> >> (3MB zipped archive) http://tipote.free.fr/Gnuplot4.1.zip > > > Please add also libintl.dll. I have figured it out too. Will add the version provided by the GnuWin32 project. > I've added some 2001-12-27, 43 786 B, and then tried this new wgnuplot > under Wine 2005-06-28 (SUSE 9.2). There, the "normal" wgnuplot.exe 4.1 > runs with all features. With wxterminal, there were few problems: > - it needs unicode fonts =3D> wine wants Win NT/2K/XP > - switched wine to XP, but there are no fonts Well, it's something that I need to work on. The actual code does only work with a unicode-enabled wxWidgets, because pango wants utf8 strings, and I use wxWidgets conversion routines. So there can be two suspects : pango which may not find well-suited fonts (unicode...), and wxWidgets which fails to convert to utf8. As pango depends on glib, I should maybe use directly glib functions to convert encodings. > - "set pm3d; splot x*y" produces a strange surface What do you mean by "strange surface" ? Are other plot commands working properly ? > >> apart from mousing mode since under windows term->waitforinput >> doesn't seemed to be used... > > > No, do_string() is called directly (both gnuplot and its windows > terminal are in the same binary, contrary to X11 or OS/2 terminals). As waitforinput is set to 0 in the windows terminal table, I can maybe add the use of waitforinput under windows, with a check such as "if (term->waitforinput)" (as it is done under other platforms). What do you think of it ? Timoth=E9e Lecomte |