From: Alan W. I. <ir...@be...> - 2015-03-25 23:08:44
|
On 2015-03-25 21:51-0000 he...@co... wrote: > I use PLplot in a Windows application for plotting frequency response Bode plots from oscilloscope data. It's worked out nicely. One > enhancement I'm tackling is getting better font support as well as anti -aliasing. Currently, I'm using the mem driver. I take the > buffer and transform it for GDI display. I am aware of the wingcc driver, but I'd prefer to paint to my window vs creating a new one. > After some research, I decided that memcairo would be the best approach. After struggling a bit to get PLplot built with cairo/pango, I > did get it to work. In the process I came to realize that I'd need to package about a dozen DLLs with my app. While I realize I'm > probably swimming upstream I then set out to make static builds of cairo, pango and its dependencies. Even if this works, it will > probably bloat my app considerably. So my question is ... is there another driver I should explore that may be better suited for the > task at hand. Or should I just suck it up and package the DLLs? Also, I do plan to make this multiplatform some day. Our cairo- and qt-related software gives the best font rendering currently, and I just discovered that our newly rewritten wxwidgets-related software also gives great font rendering (e.g., example 24 looks fine) if linked with the latest wxwidgets software. So you may just want to stand pat with your current pango/cairo based approach. On the other hand, if the Qt4 dependency is bit easier to handle for you compared to the pango/cairo dependency, then you should at least take a look at our Qt-related software such as the qt device driver and examples/c++/qt_example. And possibly you might also want to do the same for our new wxwidgets software (see, e.g., examples/c++/wxPLplotDemo), although I should warn you that our new wxwidgets-related software is still being very actively developed with a number of issues in the process of being fixed. 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); the Time Ephemerides project (timeephem.sf.net); PLplot scientific plotting software package (plplot.sf.net); 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 __________________________ |