From: <Han...@sh...> - 2009-01-23 05:41:55
|
Hi Werner, This one I will pass on to my collegue who installed it. Keep you informed. Thanks, Hans -----Original Message----- From: Werner Smekal [mailto:sm...@ia...] Sent: Thursday, January 22, 2009 15:55 To: Rijneke, Hans H SIEP-EPT-RIS Cc: plp...@li... Subject: Re: [Plplot-general] Text plotting Hi Hans, How did you configure the wxWidgets library? from the makefile it seems that you use wxX11 and maybe even the "universal" build. This is not recommended at all, since the wxX11 is rather not much supported, so it may work for you or not. In this case it seems it doesn't work for you. It's much better to use the wxGTK port of wxWidgets, since this port is actively worked on, feature complete and looks fine. Bad thing is, that you need the gtk libraries installed (and the gtk developer files on the developer machine), but this is actually always the case, even on KDE machines. If you are using wxX11, and there is no problem using gtk (RHEL 4 has surely decent gtk support), then I would strongly suggest to use wxGTK. And don't use the universal build, since I also doubt if that works for the wxWidgets driver, at least I never have tested this. HTH, Werner On 22.01.2009, at 15:14, <Han...@sh...> <Han...@sh... > wrote: > Werner, > > Thanks, we are using wxwidget 2.8.9 On linux RH4 Update 6. > > Plotting on windows is fine for us like this. > > Attached output of the cmake and make VERBOSE=1 > > Thanks, > Hans > > -----Original Message----- > From: Werner Smekal [mailto:sm...@ia...] > Sent: Thursday, January 22, 2009 15:03 > To: Rijneke, Hans H SIEP-EPT-RIS > Cc: plp...@li... > Subject: Re: [Plplot-general] Text plotting > > > Hi, > >> Sorry to bother you all again, but I have problems in plotting a >> string containing the "_" (underscore) character using the xwin >> driver on Linux and the WxWidgets on Vista 64. I also used the >> extended fonts, but all 4 fonts fail to plot it. > > You don't bother, it's a good thing, that someone uses plplot and > tells us, where problems/bugs are. But I actually have no idea, why > the "_" isn't plotted. >> >> Going to PlPlot version 5.9.2 the text plotting with the WxWidgets >> driver on Vista is improved enormously and includes the proper >> plotting of the "_". > > Good! I assume that you use just plain wxWidgets, without the agg > library, freetype library and wxGraphicsContext compiled in. Yes, I > improved the font handling, looks nicer, but if it is the "basic" > backend (in the windows title it says something like "wxWidgets PLplot > App (basic)") then be warned, that (full) unicode support is not > there, and that in 3d plots the text is not "sheared", since that is > not possible with the basic backend. If this is a problem for you, > then let me know. Apart from that "problems", the text output is nice > and fast. It is also possible to use the hershey font for symbols > instead of real font, this is good on Windows, since the symbols are > often "misplaced", but not if you use the hershey fonts. Just start an > example like that "x01c --xxx" and you will get the option to enable > hershey symbols. > >> Is there a way to get the xwin driver on Linux also plot the "_" ? >> >> Trying to use the WxWidgets driver on Linux failed up to now with : >> >> X Error of failed request: BadDrawable (invalid Pixmap or Window >> parameter) >> Major opcode of failed request: 62 (X_CopyArea) >> Resource id in failed request: 0x0 >> Serial number of failed request: 963 >> Current serial number in output stream: 965 >> >> This is using the standard tests, but maybe the installation of >> 5.9.2 was not completely correctly for the WxWidget driver (although >> no errors showed up in the "cmake" and cons. "make"). > > Could you maybe post the output of cmake and "make VERBOSE=1" or just > send it to me? I'm not sure, if you use freetype/agg/ ... > Which version of wxWidgets are you using: 2.6 or 2.8? Which Linux are > you using? The wxWidgets rather became rather complex and big and > since it works on 3 or more platforms (which is cool), it's hard to > test it on all platforms and linux distributions (which is not so > cool ;). > > Thanks, > Werner > > -- > Dr. Werner Smekal > Institut fuer Allgemeine Physik > Technische Universitaet Wien > Wiedner Hauptstr 8-10 > A-1040 Wien > Austria > > email: sm...@ia... > web: http://www.iap.tuwien.ac.at/~smekal > phone: +43-(0)1-58801-13463 (office), +43-(0)1-58801-13469 > (laboratory) > fax: +43-(0)1-58801-13499 > > > <cmake.ZIP><make.ZIP> -- Dr. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien Austria email: sm...@ia... web: http://www.iap.tuwien.ac.at/~smekal phone: +43-(0)1-58801-13463 (office), +43-(0)1-58801-13469 (laboratory) fax: +43-(0)1-58801-13499 |