On 2015-02-26 11:57-0000 Phil Rosenberg wrote:

> I've made the Trello board public so if anyone i
> s interested in just keeping up then the link is
> https://trello.com/b/xBv7SJco/plplot-wxwidgets
>

Hi Phil:

Some revisions for that board:

1. The example 13 issue is not an extra horizontal line (at least on my
system).  It is two extra diagonal lines.  Also, I am not sure whether
you have covered it elsewhere but example 13 shows an aspect ratio
issue (the circle is rendered as an ellipse).

2. I have finished my attempt to deal with the missing glyphs.
Unfortunately, there is no success to report (my change lead to
exactly the same results).  I have committed (308a249) my change
because it replaces a (presumably) much older undocumented way to set
up the fonts with the way that is currently recommended in the
official documentation of wxwidgets 2.8.12 and which is also used by
the font sample code (wxwidgets font demonstration code that renders
the utf-8 peace words without issues/missing glyphs).

I did some investigation of the version of wxwidgets (commit id =
3ac49a4 on 2015-02-06) before your rewrite of wxwidgets was pushed,
and the basic backend without freetype did an excellent job of finding
all glyphs for example 24.  If I tried the basic backend +
(pl)freetype some glyphs were missing from example 24. If I tried the
wxGraphicsContext backend even more glyphs were missing from example
24, and those results are equivalent to the current results from the
rewritten wxwidgets.  My understanding is the rewritten wxwidgets uses
a wxDC wrapper for wxGraphicsContext which explains this equivalent
missing glyph result for the two cases. It is also quite possible this
issue is not in PLplot at all and instead is in wxGraphicsContext.
Note the good results I got for rendering of UTF-8 with the font
sample GUI above are not relevant to wxGraphicsContext or wxDC because
there is no mention of those in that code; in fact I suspect the font
sample code is equivalent to the old basic back end.

One further step I will try now is to configure epa_build to build
the latest wxwidgets (3.0.2) and then use that for a test
(in case the missing glyphs have been solved for that version).

But if the missing glyphs continue for that case, I think you should
leave further investigation to post release where you should attempt
to make the simplest possible wxDC example that attempts to render one
of the "difficult" Peace words.  If that rendering fails, then that is
a good example for you to take to the wxwidgets development list for
further discussion of whether you are doing something wrong with the
simple example or whether there is simply a wxDCwxGraphicsContext
glyph finding bug.  If that simple example finds all glyphs, that is
proof the problem is something inherent to PLplot.

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
__________________________

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to