Hi Hazen, I tried to turn off the svg driver here in Windows with -DPLD_svg=ON. Cmake lists the drivers, it gets compiled, but doesn't show up in the driver list in the examples.
Any ideas? Werner [EMAIL PROTECTED] wrote: > Hello, > > I've added a SVG driver to PLplot (http://www.w3.org/Graphics/SVG/). > SVG (Scalable Vector Graphics) is a XML graphical language that is > supported natively or as a plug in most modern browsers. In theory it > is anti-aliased and uses truetype fonts, but the reality will depend > on the capabilities of your SVG renderer. Since this driver is still > a bit rough, primarily with regard to text placement, it is off by > default. > > If you choose to play with it, you should be aware of the following > issues: > (1) The S in SVG might also stand for "Simple". If the plot is at all > complicated then you might find rendering to be painfully slow. I'd > recommend starting with example 3 before jumping to something > complicated like example 8. I'm not sure exactly why it is so slow. > The generated files are similar in size to their postscript > equivalents. Perhaps this is due to the fact that, at least in a > browser, a DOM tree is being constructed during rendering so that you > can manipulate every element with javascript? > > (2) As mentioned above, vertical text placement still leaves > something to be desired. I think this is because SVG is scanning each > text element and deciding based on the glyphs in that element what > the baseline of the element should be. You can see this in example2 > where the numbers are all centered slightly differently in their > boxes. It would be preferable from our point of view if it always > used the same baseline for a particular font. > > (3) On OS-X in Firefox and Camino the font-family "serif" comes out > looking like the font-style "italic". I'm pretty puzzled by that one. > > Anyway, thanks to our CBS I was delighted to find that I only had to > add one line to each of two files to build PLplot with this driver. > > -Hazen > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Plplot-devel mailing list > Plplot-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/plplot-devel -- Dipl. Ing. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien Austria email: [EMAIL PROTECTED] web: http://www.iap.tuwien.ac.at/~smekal phone: +43-(0)1-58801-13463 (office) +43-(0)1-58801-13469 (laboratory) fax: +43-(0)1-58801-13499 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel