On 2008-09-29 22:39-0700 Alan W. Irwin wrote: > In general, our svg results look really good with [Debian testing] firefox, > and I believe > -dev svg produces everything I need to generate a good-looking SVG PLplot > logo using PLplot itself, but there are still some outstanding issues that I > noticed when looking at the complete set of examples. I mark the ones > listed below that I am investigating further using "(AWI)". The one that is > caused by an issue in another library is marked by "(Nobody)". Finally, the > ones marked "(*)" are too difficult for me so they are up for grabs for some > eager volunteer to show off his device driver skills. :-)
Well that volunteer has stepped forward for quite a few of the issues. Thanks, Hazen. I have also made some progress myself. However, there are still some issues left. I didn't check all the examples this time, but to start I did look at examples 1 and 2, and the vertical spacing still looks good after our recent changes (Revision 8853). > (*) Example 3: the text does not rotate accurately around this polar plot. > For example, the center of the text rotation seems offset from the center of > the plot. The first page of Example 28 also appears to show this problem. I > assume these issues are caused by some text offset issue that has not been > taken care of properly in the svg device driver when doing rotational > transformations of text. (*) The example 3 issue and example 28 page 1 issues are fixed thanks to Hazen's changes. However, a remaining issue (probably completed unrelated) seen for example 28 pages 2 and 3 is that subscripts are being interpreted as superscripts (!). > > (AWI) Example 6: some of the horizontal rules are missing. Strangely, the > seemingly equivalent horizontal rules in Example 7 are fine. (AWI) Not fixed yet. > > (*) Examples 9 and 21: clipping not implemented yet as illustrated by the > first page of these examples. Fixed by Hazen. > > (*) Example 10 (and presumably others) Text does not rotate at all with the > -ori option. (You have to run the installed examples to check out the > results from that option.) Again, this is some sort of > rotation/transformation issue, but it looks like at least in this case the > rotational information doesn't get to the text at all. This may well be > related to the example 3 issue above. (*) Not fixed yet. > > (*) Example 15: cross-hatching not implemented yet as illustrated by both > pages. (*) Not fixed yet. > > (AWI) Example 20: empty pages 2,5,7,and 10 have an xml screwup that is > probably related to the familying logic. The empty pages in Example 20 were caused by extra pladv(0) calls. I got rid of those extra pladv(0) calls to get rid of the empty pages associated with that example. However, generating empty pages should be a valid under PLplot so I started working on an equivalent simple example consisting of repeat pladv(0) calls. For that simple test, I solved the issue by my recent plGetFam change that restores the initial value (AT_BOP) of pls->page_status when plGetFam is called from the driver's plP_bop-* routine after the plP_init call. plP_init changes the page_status to AT_EOP which screws up the page logic for empty pages for the familied case without the restoration of the initial value of pls->page_status. > > (AWI) Example 21: first four figures (out of 6 on the second page) display > and then get blanked. The last two figures on the page display and do not > get blanked. The third page of this example (and also example 1) seem to > have a similar setup (multiple subpages per page), but no such issues. (AWI) not fixed yet. > > (AWI) Example 23: pages 12-16 have an xml screwup (at least </g> and </svg> > are missing at end of file) that is probably related to the familying logic. Fixed by my recent plGetFam change, see above. The issue here was not empty pages, but instead pages consisting entirely of text. Such pages currently do not change page_status (which is why my plGetFam empty page fix also solved this issue). However, just on general principles, I think such pages should change page_status so that issue is being discussed in the separate README.pages list thread. In sum, we have made some good svg device-driver progress as of revision 8853, but I still have two issues I still need to look at (ex. 6 missing lines, and ex. 21, page 2 where 4 of the 6 subplots disappear), and there are three others (ex. 28 subscript/superscript, ex. 10 text rotation, and ex. 15 cross-hatching) that are probably too difficult for me so I hope someone else will take them up. 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 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-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel