[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: DOCBOOK-APPS: svg troubles
Hello, I've recently decided to learn xml-docbook/svg to write my 4th year project documentation... so far it's been a bit rough, as I've already sent a patch for dia relating to its svg render code, and my diagrams are still not coming out right. The concern I have is with the sweep-flag of an svg Arc element. Please take a look at the sample code I'm attaching and note that the arc is supposed to be made in the clockwise direction according to the svg spec.... !OR! the diagrams in the svg spec are wrong! :) I've built this sample docbook with docbook-xsl-1.53 fo and fop. To verify I also use a java svg viewer (SVGViewer) from IBM alpha works. What do you think? Mike P.S. I now have a hunch diagram http://www.w3.org/TR/SVG/images/paths/arcs02.png is incorrect since "positive-angle" != clockwise direction. -- /*******************************************************************\ | Mike Sowka o _ _ _ | | An Aspiring Engi"Nerd" _o /\_ _ \\o (_)\__/o (_) | | Carleton University _< \_ _>(_) (_)/<_ \_| \ _|/' \/ | | msowka@doe.carleton.ca (_)>(_) (_) (_) (_) (_)' _\o_ | | (home mike@sowka.com) | \*******************************************************************/
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"> <article> <artheader> <title>MPI Simbad</title> <author><firstname>Michael</firstname><surname>Sowka</surname></author> </artheader> <sect1> <title>On the Possibility of Going Home</title> <para>Here is a diagram:</para> <figure><title>Sample Figure</title><imageobject> <imagedata fileref="sample.svg" align="center" width="80%" /> </imageobject> </figure> </sect1> </article>
Attachment:
sample.svg
Description: image/svg
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC