On 2014-07-21 21:23+0100 António Rodrigues Tomé wrote:

> Hi,
> very strange thing.
> latter on I'll test everything
> today i've only changed
> bindings/qt_gui/plqt.cpp
> the way you said and the vertical offsset  was smaller so I changed the
> original ofsset signal and the result was a little better. One could easily
> find a new good offset for my qt built, don't know if it is the better
> thing specially if it changes with any minor changes in QT built.
>
> The result with the changes
>  // PLFLT empirical_yOffset = -0.63 * chrht * POINTS_PER_INCH / 25.4;
>   // PLFLT empirical_yOffset = 0. * chrht * POINTS_PER_INCH / 25.4;
>    PLFLT empirical_yOffset = 0.63  * chrht * POINTS_PER_INCH / 25.4;
>
> is attached

Hi António:

That was indeed an interesting result, which shows better asterisk
alignment, but worse numerical character alignment.  (See how the
numerical labels for the vertical axes are not aligned properly with
the major tick marks).  The up side is there are no more tests to do
since those would have only been worthwhile if you had had a perfect
pdf result.

I think the conclusion must be that vertical alignment issues not only
persist but are much less consistent in 5.3.1 versus 5.2.1 so a simple
Y offset does adjust for the 5.2.1 issues, but cannot deal with the
variety of alignment issues for the asterisk versus numerical
characters your examples shows for 5.3.1. That's disappointing, but
hopefully these Qt5 character alignment issues and also the additional
font issues you showed for the png result will get straightened out,
and meanwhile you should fall back to using the reliable Qt4.

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
__________________________

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to