You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
(3) |
May
(14) |
Jun
(1) |
Jul
(3) |
Aug
(1) |
Sep
|
Oct
(2) |
Nov
(16) |
Dec
(1) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(13) |
Feb
(22) |
Mar
(7) |
Apr
(8) |
May
(8) |
Jun
(11) |
Jul
(2) |
Aug
|
Sep
(5) |
Oct
(31) |
Nov
(23) |
Dec
(3) |
2002 |
Jan
(1) |
Feb
(17) |
Mar
(10) |
Apr
(3) |
May
(1) |
Jun
(2) |
Jul
|
Aug
|
Sep
(11) |
Oct
(5) |
Nov
(21) |
Dec
(20) |
2003 |
Jan
(27) |
Feb
(13) |
Mar
(20) |
Apr
(11) |
May
(12) |
Jun
(7) |
Jul
(16) |
Aug
(21) |
Sep
(9) |
Oct
(28) |
Nov
(24) |
Dec
(30) |
2004 |
Jan
(31) |
Feb
(5) |
Mar
|
Apr
(8) |
May
(12) |
Jun
(7) |
Jul
(13) |
Aug
(12) |
Sep
(2) |
Oct
(14) |
Nov
(42) |
Dec
(14) |
2005 |
Jan
|
Feb
|
Mar
(20) |
Apr
(17) |
May
(9) |
Jun
|
Jul
(7) |
Aug
(3) |
Sep
(17) |
Oct
(14) |
Nov
(9) |
Dec
|
2006 |
Jan
|
Feb
|
Mar
(13) |
Apr
(2) |
May
(46) |
Jun
(2) |
Jul
(20) |
Aug
(26) |
Sep
(31) |
Oct
(5) |
Nov
(9) |
Dec
(13) |
2007 |
Jan
(24) |
Feb
(22) |
Mar
(13) |
Apr
(25) |
May
(25) |
Jun
(9) |
Jul
(20) |
Aug
(9) |
Sep
(26) |
Oct
(3) |
Nov
(4) |
Dec
(3) |
2008 |
Jan
(92) |
Feb
(35) |
Mar
(39) |
Apr
(15) |
May
|
Jun
|
Jul
(18) |
Aug
(5) |
Sep
(5) |
Oct
(7) |
Nov
(10) |
Dec
(27) |
2009 |
Jan
(35) |
Feb
(34) |
Mar
(13) |
Apr
(9) |
May
(18) |
Jun
(9) |
Jul
(15) |
Aug
(13) |
Sep
(64) |
Oct
(7) |
Nov
(43) |
Dec
|
2010 |
Jan
(75) |
Feb
(22) |
Mar
(44) |
Apr
(34) |
May
(47) |
Jun
(77) |
Jul
(28) |
Aug
(7) |
Sep
(45) |
Oct
(1) |
Nov
(19) |
Dec
(7) |
2011 |
Jan
(14) |
Feb
|
Mar
(6) |
Apr
(12) |
May
(19) |
Jun
(3) |
Jul
(8) |
Aug
(4) |
Sep
(3) |
Oct
(21) |
Nov
(11) |
Dec
(4) |
2012 |
Jan
(2) |
Feb
(9) |
Mar
|
Apr
(1) |
May
(2) |
Jun
|
Jul
(1) |
Aug
(5) |
Sep
(5) |
Oct
(1) |
Nov
(18) |
Dec
(2) |
2013 |
Jan
(15) |
Feb
(16) |
Mar
(8) |
Apr
(5) |
May
|
Jun
(1) |
Jul
(17) |
Aug
(3) |
Sep
(17) |
Oct
(43) |
Nov
(25) |
Dec
(9) |
2014 |
Jan
(4) |
Feb
(8) |
Mar
(20) |
Apr
(14) |
May
(49) |
Jun
(1) |
Jul
|
Aug
(18) |
Sep
(2) |
Oct
(1) |
Nov
(22) |
Dec
(3) |
2015 |
Jan
(41) |
Feb
(2) |
Mar
(34) |
Apr
(30) |
May
(14) |
Jun
(17) |
Jul
(29) |
Aug
(3) |
Sep
(3) |
Oct
(1) |
Nov
(7) |
Dec
(4) |
2016 |
Jan
|
Feb
|
Mar
(1) |
Apr
(4) |
May
(1) |
Jun
|
Jul
(1) |
Aug
|
Sep
(25) |
Oct
(9) |
Nov
(14) |
Dec
(13) |
2017 |
Jan
(11) |
Feb
(8) |
Mar
(12) |
Apr
(4) |
May
(25) |
Jun
(2) |
Jul
|
Aug
(5) |
Sep
(10) |
Oct
(25) |
Nov
|
Dec
(6) |
2018 |
Jan
(18) |
Feb
(6) |
Mar
(6) |
Apr
(1) |
May
(7) |
Jun
(13) |
Jul
(8) |
Aug
|
Sep
(5) |
Oct
(2) |
Nov
(17) |
Dec
(3) |
2019 |
Jan
(11) |
Feb
(4) |
Mar
(13) |
Apr
(19) |
May
(1) |
Jun
(2) |
Jul
(8) |
Aug
(4) |
Sep
(32) |
Oct
(51) |
Nov
(1) |
Dec
(9) |
2020 |
Jan
(9) |
Feb
(6) |
Mar
|
Apr
|
May
(3) |
Jun
(2) |
Jul
(5) |
Aug
(4) |
Sep
|
Oct
|
Nov
|
Dec
|
2021 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(7) |
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
(2) |
Nov
(3) |
Dec
|
2022 |
Jan
(3) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2024 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2025 |
Jan
(3) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
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 |
From: Werner S. <sm...@ia...> - 2009-01-22 21:23:53
|
Hi, > > Here is what I found. For -dev xwin; -dev psc -drvopt text=0; -dev png > -drvopt text=0; and -dev wxwidgets -drvopt freetype=0 the underscore is > replaced by a (very) short dash. All those cases involve our traditional > Hershey fonts. From this evidence I believe there is something > fundamentally wrong with those fonts for the underscore character. > > One possibility was that our binary form of Hershey fonts somehow got > clobbered in the underscore position accidentally in our CVS days, in the > CVS to svn transition, or during the svn era since. However, that turns > out > not to be the case. I just (revision 9370) tweaked our build system to > optionally (by default this is turned OFF) build programmes to generate > the > binary form of our Hershey fonts. (This was an interesting historical > exercise. I consulted the plplot-5.0.0 build directions [from our build > system from three generations ago!] to help figure out how to build those > programmes.) See fonts/README for directions on how to use our build > system > to build the programmes to generate our Hershey fonts). When I ran those > programmes, the results were absolutely identical with data/plstnd5.fnt > and > data/plxtnd5.fnt that were generated more than 8 years ago. > > Another possibility is the directions for creating the Hershey underscore > glyph are just plain wrong. (It could be missing as well, but then I > don't > think you would be seeing the short dash.) I had a look at the code in > the > fonts subdirectory that generates the Hershey fonts, and it is > essentially > undocumented. Therefore, it is going to take some effort to figure out, > for > example, the correspondence between any given glyph (such as underscore), > and the data (pen positions I assume for drawing the glyph) that is > given in > the source code. I don't have time for such an effort (especially > because > our Hershey fonts are gradually being replaced by TrueType or Type 1 > fonts > for most of our devices). However, if somebody wants to make the effort > to > figure out the Hershey underscore problem, I would be happy to apply the > fix. I also have other things now on my todo list, but some time ago I was interested what I could find on the internet about the Hershey fonts, and I found some links which may be helpful: * http://www.codeproject.com/KB/GDI/hersheyfont.aspx * http://emergent.unpythonic.net/software/hershey * http://www.efg2.com/Lab/OtherProjects/Hershey.htm - this seems to be an editor, which allows to edit hershey fonts HTH, Werner -- Dr. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien Austria DVR-Nr: 0005886 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 |
From: Alan W. I. <ir...@be...> - 2009-01-22 20:36:07
|
On 2009-01-22 14:31+0100 Han...@sh... wrote: > 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. > [...] Is there a way to get the xwin driver on Linux also plot the "_" ? Hi Hans: I confirm an underscore issue on Linux. Thanks for reporting this issue. Here is what I found. For -dev xwin; -dev psc -drvopt text=0; -dev png -drvopt text=0; and -dev wxwidgets -drvopt freetype=0 the underscore is replaced by a (very) short dash. All those cases involve our traditional Hershey fonts. From this evidence I believe there is something fundamentally wrong with those fonts for the underscore character. One possibility was that our binary form of Hershey fonts somehow got clobbered in the underscore position accidentally in our CVS days, in the CVS to svn transition, or during the svn era since. However, that turns out not to be the case. I just (revision 9370) tweaked our build system to optionally (by default this is turned OFF) build programmes to generate the binary form of our Hershey fonts. (This was an interesting historical exercise. I consulted the plplot-5.0.0 build directions [from our build system from three generations ago!] to help figure out how to build those programmes.) See fonts/README for directions on how to use our build system to build the programmes to generate our Hershey fonts). When I ran those programmes, the results were absolutely identical with data/plstnd5.fnt and data/plxtnd5.fnt that were generated more than 8 years ago. Another possibility is the directions for creating the Hershey underscore glyph are just plain wrong. (It could be missing as well, but then I don't think you would be seeing the short dash.) I had a look at the code in the fonts subdirectory that generates the Hershey fonts, and it is essentially undocumented. Therefore, it is going to take some effort to figure out, for example, the correspondence between any given glyph (such as underscore), and the data (pen positions I assume for drawing the glyph) that is given in the source code. I don't have time for such an effort (especially because our Hershey fonts are gradually being replaced by TrueType or Type 1 fonts for most of our devices). However, if somebody wants to make the effort to figure out the Hershey underscore problem, I would be happy to apply the fix. Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); PLplot scientific plotting software package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ |
From: Werner S. <sm...@ia...> - 2009-01-22 14:55:31
|
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 |
From: <Han...@sh...> - 2009-01-22 14:17:47
|
Werner, No, not in a few days and I did not expect that. But, maybe it can be kept in mind for a future release. Thanks, Hans -----Original Message----- From: Werner Smekal [mailto:sm...@ia...] Sent: Thursday, January 22, 2009 15:08 To: Rijneke, Hans H SIEP-EPT-RIS Cc: ir...@be...; plp...@li... Subject: Re: [Plplot-general] Obscured plot window HI Hans, > > I would be very nice to have this implemented, so if it is not to > much work .... It's actually more work than I thought, since in Windows (and maybe other platforms) it is not allowed that two threads use GUI objects (like pen, brush, etc.) since they are not thread-save. So it's not possible that I have a thread which just keeps the window up2date and so on, and the other thread plots into a bitmap (which is then copied into the window canvas) - this would lead to random crashes. In fact I would need to rewrite the driver interface, so that for the thread case, events are sent to the driver thread, which are then processed. So that main thread never touches any wxWidgets object. But this is much more work. Still worth to do, but nothing I could do in just some days. > > For now we will try your other mentioned solution by adding > something in our event loop. Keep me informed, if this works for you. Regards, 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 |
From: <Han...@sh...> - 2009-01-22 14:15:25
|
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 |
From: Werner S. <sm...@ia...> - 2009-01-22 14:07:58
|
HI Hans, > > I would be very nice to have this implemented, so if it is not to > much work .... It's actually more work than I thought, since in Windows (and maybe other platforms) it is not allowed that two threads use GUI objects (like pen, brush, etc.) since they are not thread-save. So it's not possible that I have a thread which just keeps the window up2date and so on, and the other thread plots into a bitmap (which is then copied into the window canvas) - this would lead to random crashes. In fact I would need to rewrite the driver interface, so that for the thread case, events are sent to the driver thread, which are then processed. So that main thread never touches any wxWidgets object. But this is much more work. Still worth to do, but nothing I could do in just some days. > > For now we will try your other mentioned solution by adding > something in our event loop. Keep me informed, if this works for you. Regards, 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 |
From: Werner S. <sm...@ia...> - 2009-01-22 14:03:14
|
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 |
From: <Han...@sh...> - 2009-01-22 13:32:19
|
Dear All, 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. 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 "_". 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"). Regards and thanks in advance, Hans Rijneke |
From: <Han...@sh...> - 2009-01-20 08:21:48
|
Werner, Alan, I would be very nice to have this implemented, so if it is not to much work .... For now we will try your other mentioned solution by adding something in our event loop. Thanks for the help, Hans -----Original Message----- From: Werner Smekal [mailto:sm...@ia...] Sent: Monday, January 19, 2009 21:23 To: Alan W. Irwin Cc: plp...@li...; Rijneke, Hans H SIEP-EPT-RIS Subject: Re: [Plplot-general] Obscured plot window Hi Hans and Alan, > > I could have a look on how the xwin driver is doing the pthread stuff > and if not that hard I could try to implement it, but that isn't > something which I can do in the next days. I just had a look, it's maybe simpler as I thought, but since the wxWidgets library supports threading on its own, I would use the wxWidgets library for this. Still, do add this to the driver and debug it would take some time. But it would be worth doing it. Regards, 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 |
From: <Han...@sh...> - 2009-01-20 08:13:19
|
Alan, I did not install the wxwidgets driver on Linux, so have to first rebuild PlPlot. But having seen the mails from Werner, I don't think have to try. Regards, Hans -----Original Message----- From: Alan W. Irwin [mailto:ir...@be...] Sent: Monday, January 19, 2009 19:20 To: Rijneke, Hans H SIEP-EPT-RIS Cc: plp...@li... Subject: Re: [Plplot-general] Obscured plot window On 2009-01-19 14:41+0100 Han...@sh... wrote: > Dear all, > > This issue was nicely resolved for the xwin driver onn Linux, but now we face the similar behaviour on Window (Vista 64) using the wxwidgets driver. > > PlPlot was installed with the pthreads option on (pthreads library from gnu), but as soon as you enter the obscured window again, the window title shows "not responding" and hence no refresh. > > Do we forget something ? I am now wondering if there is a thread issue for windows or for -dev wxwidgets? To help resolve that question, are you satisfied with the threading behaviour of -dev wxwidgets on Linux? Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); PLplot scientific plotting software package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ |
From: Werner S. <sm...@ia...> - 2009-01-19 20:23:00
|
Hi Hans and Alan, > > I could have a look on how the xwin driver is doing the pthread stuff > and if not that hard I could try to implement it, but that isn't > something which I can do in the next days. I just had a look, it's maybe simpler as I thought, but since the wxWidgets library supports threading on its own, I would use the wxWidgets library for this. Still, do add this to the driver and debug it would take some time. But it would be worth doing it. Regards, 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 |
From: Werner S. <sm...@ia...> - 2009-01-19 20:19:18
|
Hi Hans, sorry, took me a long time. Anyway, looking through the code I saw that if threading is enabled only minimal events are processed. Does this solve the close window problem? If not, there are some solutions in the net: http://linuxsoftware.co.nz/blog/2008/08/12/handling-window-close-in-an-x11-app https://www.linuxquestions.org/questions/programming-9/capturing-the-window-close-event-in-x-358162/ which could be tried. Regards, Werner On Wed, 2008-12-24 at 06:41 +0100, Han...@sh... wrote: > Werner, > > Sorry for not mentioning that.I am running on Linux using the "xwin" driver. Any suggestion is appreciated. > > Thanks, > Hans > > -----Original Message----- > From: Werner Smekal [mailto:sm...@ia...] > Sent: Tuesday, December 23, 2008 8:54 PM > To: Rijneke, Hans H SIEP-EPT-RIS > Cc: plp...@li... > Subject: Re: [Plplot-general] Closing the graphics window > > > Hi, > > which driver to you use, xwin? I'm not sure about the xwin driver, but > in wxWidgets is possible to veto a close event. So it should also be > possible to do the same for the xwin driver, but I think you have to > change the driver code. > > If you tell me which driver you are using I could have a look in the > driver code and propose a patch. > > Regards, > Werner > > Han...@sh... wrote: > > L.S., > > > > Some of our users have the habit of closing the graphics window, which will lead to a crash if the next plot command comes. > > > > Is there a way of preventing users to close the graphics window ? > > > > Thanks in advance, > > Hans Rijneke > > > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > > Plplot-general mailing list > > Plp...@li... > > https://lists.sourceforge.net/lists/listinfo/plplot-general > > > > -- 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 |
From: Werner S. <sm...@ia...> - 2009-01-19 19:36:46
|
Hi Hans and Alan, On Mon, 2009-01-19 at 10:19 -0800, Alan W. Irwin wrote: > On 2009-01-19 14:41+0100 Han...@sh... wrote: > > > Dear all, > > > > This issue was nicely resolved for the xwin driver onn Linux, but now we face the similar behaviour on Window (Vista 64) using the wxwidgets driver. > > > > PlPlot was installed with the pthreads option on (pthreads library from gnu), but as soon as you enter the obscured window again, the window title shows "not responding" and hence no refresh. > > > > Do we forget something ? I didn't know, that the pthreads library works on Windows. But apart from that, the wxWidgets driver does not support multi threading at the moment - it works completely single threaded. Although it behaves a little like a mt app, since you can see the driver drawing the plot, but this is since the driver continuously calls the wxWidgets main loop routine, do some drawing and leave immediately the loop again. A plend() call will allow the wxWidgets driver to take over and do the updating of the screen if necessary. If you really need multi-threading this will become a little complicated, but if e.g. you only need the plot screen being updated if it was hidden, etc. and no menu action and so on, it's actually possible to use an internal function of the wxWidgets driver (wxApp::Run() I think) on a regularly basis. In case there are some Events pending (e.g. "Screen needs repaint") then this events will be processed and if the application goes "idle" it returns, which would allow your application to progress. If you manage to call the driver a number of times a second this would be as good as a multi threaded driver. I could have a look on how the xwin driver is doing the pthread stuff and if not that hard I could try to implement it, but that isn't something which I can do in the next days. Would the way I described above be a solution for you? Btw, no driver which works on Windows has pthread support. > > I am now wondering if there is a thread issue for windows or for -dev > wxwidgets? To help resolve that question, are you satisfied with the > threading behaviour of -dev wxwidgets on Linux? In Linux there is also no pthread support of the wxWidgets driver. Regards, Werner > > Alan > __________________________ > Alan W. Irwin > > Astronomical research affiliation with Department of Physics and Astronomy, > University of Victoria (astrowww.phys.uvic.ca). > > Programming affiliations with the FreeEOS equation-of-state implementation > for stellar interiors (freeeos.sf.net); PLplot scientific plotting software > package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of > Linux Links project (loll.sf.net); and the Linux Brochure Project > (lbproject.sf.net). > __________________________ > > Linux-powered Science > __________________________ > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > SourcForge Community > SourceForge wants to tell your story. > http://p.sf.net/sfu/sf-spreadtheword > _______________________________________________ > Plplot-general mailing list > Plp...@li... > https://lists.sourceforge.net/lists/listinfo/plplot-general -- 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 |
From: Alan W. I. <ir...@be...> - 2009-01-19 19:00:08
|
On 2009-01-19 09:37-0600 Lukas wrote: > > I’m not sure whether or not this is the correct way to post a question on > the plplot-general mailing list. Is I do this wrong, can anyone tell me the > correct way? > > > > My Question: > > I'm new to PLplot. Previously I use GNUplot but then had problem with > plotting speed when plotting too many points. Anyway, can anyone tell me if > PLplot is the right tool to go? > > Criteria: > - one window with 4 subplot. Top half plot ONE 3-D plot and bottom half has > THREE 2-D plots. > - Plot 10,000 - 20,000 points (I don't need to plot surface or lines, just > points). > - has to be fast (My program will keep on refreshing the plot). > > My next question is that I tried to create a 3D plot in PLplot, but I want > to have grids on the x-z and y-z plane, just like example 11 in PLplot > website: http://plplot.sourceforge.net/examples.php?demo=11. > My Understanding is that I need to use add a letter 'd' inside the function > plbox3(..), but the grid will only be showed after we call either > plot3d(...) or plmesh(...). > > The thing is I only want to plot a point in the 3D plane so I only use > plpoin3(...). And no grid is showed. > > Do I miss something? Is there an easy way to plot grid? Is there another way > to get what I want? > > thanks so much for the help. Before delving into the question of a background grid, are you happy with the speed of plpoin3 for large numbers of points? No promises, but if you show us there is an efficiency problem for that use case, we might be able to do something for you. To follow what is going on with the background grid, I will walk you through the relevant documentation and example plots. http://plplot.sourceforge.net/docbook-manual/plplot-html-5.9.2/plpoin3.html states plpoin3 is used in example 18. If you check that example (http://plplot.sourceforge.net/examples.php?demo=18), you will see it uses the "d" option for zopt in plbox3, but from the plot results that option is ignored. That is consistent with http://plplot.sourceforge.net/docbook-manual/plplot-html-5.9.2/plbox3.html which says "d" only produces background grid lines for plot3d or plmesh. If you follow up by looking at http://plplot.sourceforge.net/docbook-manual/plplot-html-5.9.2/plot3d.html and http://plplot.sourceforge.net/docbook-manual/plplot-html-5.9.2/plmesh.html those routines are used in example 11. So to see what those background grid lines look like, have a look at http://plplot.sourceforge.net/examples.php?demo=11. I assume the judgement call made when the background grid line logic was put together was such grid lines would not look good for the plline3 and plpoin3 cases. However, if you still want the grid lines, I suggest you might try a call to plmesh or plot3d that plots no visible surface so the net visual effect is just the grid lines. Probably the easiest way to arrange that is to make a minimal plmesh with the x and y points outside the plotted range before you call plpoin3. Hope that idea helps. Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); PLplot scientific plotting software package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ |
From: Alan W. I. <ir...@be...> - 2009-01-19 18:19:48
|
On 2009-01-19 14:41+0100 Han...@sh... wrote: > Dear all, > > This issue was nicely resolved for the xwin driver onn Linux, but now we face the similar behaviour on Window (Vista 64) using the wxwidgets driver. > > PlPlot was installed with the pthreads option on (pthreads library from gnu), but as soon as you enter the obscured window again, the window title shows "not responding" and hence no refresh. > > Do we forget something ? I am now wondering if there is a thread issue for windows or for -dev wxwidgets? To help resolve that question, are you satisfied with the threading behaviour of -dev wxwidgets on Linux? Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); PLplot scientific plotting software package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ |
From: Lukas <re...@ho...> - 2009-01-19 15:37:52
|
I'm not sure whether or not this is the correct way to post a question on the plplot-general mailing list. Is I do this wrong, can anyone tell me the correct way? My Question: I'm new to PLplot. Previously I use GNUplot but then had problem with plotting speed when plotting too many points. Anyway, can anyone tell me if PLplot is the right tool to go? Criteria: - one window with 4 subplot. Top half plot ONE 3-D plot and bottom half has THREE 2-D plots. - Plot 10,000 - 20,000 points (I don't need to plot surface or lines, just points). - has to be fast (My program will keep on refreshing the plot). My next question is that I tried to create a 3D plot in PLplot, but I want to have grids on the x-z and y-z plane, just like example 11 in PLplot website: http://plplot.sourceforge.net/examples.php?demo=11. My Understanding is that I need to use add a letter 'd' inside the function plbox3(..), but the grid will only be showed after we call either plot3d(...) or plmesh(...). The thing is I only want to plot a point in the 3D plane so I only use plpoin3(...). And no grid is showed. Do I miss something? Is there an easy way to plot grid? Is there another way to get what I want? thanks so much for the help. |
From: <Han...@sh...> - 2009-01-19 13:41:37
|
Dear all, This issue was nicely resolved for the xwin driver onn Linux, but now we face the similar behaviour on Window (Vista 64) using the wxwidgets driver. PlPlot was installed with the pthreads option on (pthreads library from gnu), but as soon as you enter the obscured window again, the window title shows "not responding" and hence no refresh. Do we forget something ? Thanks in advance, Hans Rijneke. -----Original Message----- From: Andrew Ross [mailto:and...@us...] Sent: Tuesday, August 05, 2008 10:34 To: Rijneke, Hans H SIEP-EPT-RIS Cc: Plplot-general mailing list Subject: Re: [Plplot-general] Obscured plot window Hans, The xwin driver (which I assume you are using) supports automatic updating if plplot is compiled with thread support. If you are building the library from source then add -DHAVE_PTHREAD=ON to the cmake command line. Provided you do have the pthread libraries installed you need to do nothing else - xwin will automatically use it. Regards Andrew On Tue, Aug 05, 2008 at 08:24:40AM +0200, Han...@sh... wrote: > Dear all, > > When a plot has been made on the screen and I (temporarily) overlay it with another window, the part of the plot that has been obscured is then wiped out. By calling "plflush" the contents appear again, but is there a way to tell the system to do that automatically ? > > I am using Redhat 4 on a x86_64 system. > > Thanks in advance, > Hans Rijneke. > > Shell International Exploration and Production B.V. > Kessler Park 1, > Postbus 60, > 2280 AB Rijswijk, > The Netherlands > > (: +31 070 447 2737 > *: <mailto:han...@sh...> > 6: <http://www.shell.com/eandp-en> > > Disclaimer of Liability: > This message, any attachment and response string are confidential and may be legally privileged. It is intended only for the use of the parties to whom it is addressed. If you are not the addressee indicated in this message please notify the sender immediately by reply email and destroy this message. > All information and attachments remain the property of Shell. > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Plplot-general mailing list > Plp...@li... > https://lists.sourceforge.net/lists/listinfo/plplot-general |
From: Hazen B. <hba...@ma...> - 2009-01-18 22:50:25
|
Hello, Version 5.9.2 of PLplot is now available. Major improvements since 5.9.1 include an extended testing framework which automatically tests plotting results across the multiple languages supported by PLplot. There is now rigorous testing in place for almost all of the common API and this has already allowed us track down a number of bugs. As always, (1) Please refer to our wiki for the latest build and install instructions (http://www.miscdebris.net/plplot_wiki/index.php?title=Main_Page) and (2) Let us know of any problems / bugs that you run across while installing / using PLplot. best, -Hazen |
From: Andrew R. <and...@us...> - 2009-01-16 23:59:53
|
On Fri, Jan 16, 2009 at 01:47:30PM -0800, Alan Irwin wrote: > On 2009-01-16 02:20-0800 Alan W. Irwin wrote: > > > We are still working on figuring out the Java stdout issue and the octave > > issue. > > The Java stdout issue has just been explained by inconsistent locales for > Java and C on Valery's computer. Thanks, Valery, for sending the files to > me that made that clear. I have just updated README.testing and > http://www.miscdebris.net/plplot_wiki/index.php?title=Testing_PLplot with > regard to potential locale issues. > > I believe that leaves only the octave issue for AltLinux. The octave issue I believe comes from running cmake in the source tree. For some reason I have not got to the bottom of this does not work. You must run cmake in a separate build tree for octave. It may be possible to fix that, but for now a separate build tree would do. This is highly recommended anyway - see for example the plplot wiki item on cmake. Andrew |
From: Alan W. I. <ir...@be...> - 2009-01-16 23:09:13
|
On 2009-01-16 02:20-0800 Alan W. Irwin wrote: > We are still working on figuring out the Java stdout issue and the octave > issue. The Java stdout issue has just been explained by inconsistent locales for Java and C on Valery's computer. Thanks, Valery, for sending the files to me that made that clear. I have just updated README.testing and http://www.miscdebris.net/plplot_wiki/index.php?title=Testing_PLplot with regard to potential locale issues. I believe that leaves only the octave issue for AltLinux. Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); PLplot scientific plotting software package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ |
From: Alan W. I. <ir...@be...> - 2009-01-16 10:20:16
|
On 2009-01-15 10:11-0800 Alan W. Irwin wrote: > Hi Valery: > > Thanks very much for your detailed report on the results of "make test" in > the installed examples tree. I am hoping Andrew will be able to deal with > the octave issue that you found. I will deal with all the other issues you > reported off list with you, and then summarize the resolution of them on > this list. We have sorted out the main issue which was something is wrong with libqhull on AltLinux. This caused segfaults each time example 21 was encountered in the testing. -DHAVE_QHULL=OFF works around this AltLinux issue. The remaining issues Valery has found are an agg/freetype issue, a java stdout issue for example 31, and the octave issue. I actually find that agg/freetype works great on Debian testing for wxwidgets. (Werner was not aware of this before because he does not have ready access to Linux.) So like the libqhull case, I ascribe that problem to AltLinux. We are still working on figuring out the Java stdout issue and the octave issue. Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); PLplot scientific plotting software package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ |
From: Valery P. <pi...@is...> - 2009-01-16 09:04:41
|
On Friday 16 January 2009 16:39:31 Werner Smekal wrote: <....> > As Alan suggested, you could try to compile it yourself, or maybe > there is an additional devel package available which adds the freetype > font support. > > I just had a look at the altlinux site (in Russian ;) and it seems the > freetype header files where just dropped from the maintainer in > November 2008: http://sisyphus.ru/srpm/Sisyphus/libagg/patches/0 > > Don't know why? > I've tried to build agg without that patch and have ./src/platform/X11/.libs/libaggplatformX11.so: undefined reference to `agg::trans_affine::multiply(agg::trans_affine const&)' collect2: ld returned 1 exit status make[1]: *** [polymorphic_renderer] Error 1 |
From: Werner S. <sm...@ia...> - 2009-01-16 08:40:12
|
Hi Valery, > > I found another problem which I did not mention previously. > It is related with agg interface. The version of agg is 2.5. If I > turned it on > then it breaks the compilation of wx interface. It complain about > abcense some > of the headers files, like *font*.h. Indeed, I did not find such > header > files inside ours libagg2.5-devel package. This must be a problem with the devel package, or the maintainer of the package didn't include the freetype support of the agg library. In fact I don't use the freetype functionality in the moment in the agg backend of the wxWidgets driver due to some unresolved problems using the interface, but I can't comment out everything regarding the freetype font interface, there is already a lot of code in the driver. As Alan suggested, you could try to compile it yourself, or maybe there is an additional devel package available which adds the freetype font support. I just had a look at the altlinux site (in Russian ;) and it seems the freetype header files where just dropped from the maintainer in November 2008: http://sisyphus.ru/srpm/Sisyphus/libagg/patches/0 Don't know why? Regards, 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 |
From: Alan W. I. <ir...@be...> - 2009-01-16 07:52:59
|
On 2009-01-16 00:20+0800 Valery Pipin wrote: > Dear Alan, > > I found another problem which I did not mention previously. > It is related with agg interface. The version of agg is 2.5. If I turned it on > then it breaks the compilation of wx interface. It complain about abcense some > of the headers files, like *font*.h. Indeed, I did not find such header > files inside ours libagg2.5-devel package. Hi Valery: For the 2.5 agg development package on Debian testing, I get the following result: irwin@raven> dpkg --listfiles libagg-dev |grep agg_font_freetype.h /usr/include/agg2/agg_font_freetype.h I also notice there is a libaggfontfreetype.a library which I assume from the name is associated with that header. My guess is AltLinux has just not configured a complete version of libagg for the binary version of that library that they provide. libagg does produce some outstanding looking results for wxwidgets. So if you have an interest in wxwidgets, then it might be worthwhile for you to configure and build your own libagg version that does not have the AltLinux limitation. But that is probably a lot of work so just using the -DHAVE_AGG=OFF option and accepting poor-looking wxwidgets results as a result may be the better choice if you don't have much interest in wxwidgets. Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); PLplot scientific plotting software package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ |