Has there been any effort to develop a driver that would integrate plplot into the fltk gui library? Just wondering if anyone has looked into it or if I need to plan for that or switching our gui to QT :).
From: Alan W. Irwin <irwin@be...> - 2012-01-20 04:49:09
On 2012-01-17 22:25-0000 Quezada, Marco wrote:
> Has there been any effort to develop a driver that would integrate plplot into the fltk gui library? Just wondering if anyone has
> looked into it or if I need to plan for that or switching our gui to QT J.
Thanks for your interest in PLplot.
Could you expand on what you mean by "QT J"? If that is QuickTime for
Java (usually referred to as QTJ), then we don't support it.
I checked back over our mailing list messages, and there were a few
mentions of fltk, but nothing serious. Therefore, if you wanted to
develop a PLplot device driver based on fltk, I am virtually positive
you would not be duplicating anyone else's effort.
Our current interactive devices (with device driver in parentheses) are
-dev tk has our most comprehensive GUI capabilities, but its big
drawback is support just for the ugly Hershey fonts. A smaller
drawback is it uses full X capabilities (not the limited cross-platform
X) so it doesn't work on Windows.
The rest of our drivers have limited GUI capabilities, but that is
something that should be straightforward to fix if anybody was keen so
I won't mention this is the summaries for the rest of our interactive
-dev xwin just uses Hershey fonts. It is stable and fast, but does
not work on Windows.
-dev wxwidgets works on all three OS platforms (Linux, Mac OS X,
Windows). It does have some on-going maintenance issues although I
keep hoping those will be rectified by some interested volunteer. It
does have access to high-quality fonts, but the plfreetype method used
is not recommended any longer since controlling the fonts used (by
mentioning the font files by name) is painful and also inflexible. It
should be straightforward to move to a fontconfig method of
controlling the fonts, but nobody has volunteered to do this. Another
issue is the plfreetype method simple renders the text in
left-to-right fashion so use of wxwidgets with CTL (complex text
layout) languages does not work.
-dev xcairo and -dev qtwidgets are well-maintained modern interactive
device drivers for PLplot which can render CTL languages with ease in
a huge variety of fonts that are easily controlled by the user. They
also work on all the major OS platforms (Linux, Mac OS X, and
Windows). These are the interactive GUI device drivers to use for a
prototype if you are going to develop a fltk-based device driver.
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).