On Oct 4, 2008, at 10:18 PM, Alan W. Irwin wrote: > On 2008-10-04 18:19-0700 Alan W. Irwin wrote: > >> I am still working on one svg issue (4 out of 6 missing subpage >> plots for >> page 2 of example 21). > > Two for the price of one! Solving the coordinate overflow issue > solved this > one as well. I wish they were all this easy. > > So I am done with the svg issues I volunteered for (as of revision > 8854). > The remaing three issues which I am aware of (and which are > probably too > tough for me) are subscripts being misinterpreted as superscripts > in example > 28 (pages 2 and 3), rotation of text not working for the -ori > option for > example 10 (and presumably all other examples), and hatching not > implemented > yet (see example 15). These three issues will not affect my on- > going svg > PLplot logo work, but it is obviously important to solve them to > make -dev > svg a complete and outstanding device driver.
(1) Subscripts were always being misinterpreted as superscripts, but that was just a sign problem and this should be fixed now. (2) The -ori option, or more correctly pls->diorot, was being ignored by the text rendering subroutine and this should also be fixed. (3) The question is, should cross-hatching be implemented? It looks to me like it has something to do with fill patterns. The relevant flag is pls->dev_fill1, grepping for this in the driver directory I get: aqt.c: pls->dev_fill1 = 1; gnome.c: pls->dev_fill1 = 1; /* Handle pattern fills */ mem.c: pls->dev_fill1 = 0; /* Handle pattern fills */ ntk.c: pls->dev_fill1 = 1; /* Dont handle pattern fills */ pbm.c: pls->dev_fill1 = 0; /* Handle pattern fills */ pdf.c: pls->dev_fill1 = 1; plmeta.c: pls->dev_fill1 = 1; /* Handle pattern fills */ svg.c: /* pls->dev_fill1 = 1; */ tek.c: * pls->dev_fill1 if can handle pattern area fill tk.c: pls->dev_fill1 = 1; /* Handle pattern fills */ Clearly there is some confusion about what exactly the flag means, or people were just copying older drivers and forgetting to update the comment :). Anyway, would a "complete and outstanding" driver handle pattern fills or not? To get cross-hatching with the svg driver all we have to do is set pls->dev_fill1 = 0 (or comment that line out). -Hazen ------------------------------------------------------------------------- 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