]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Remove dev-ish comments from svg doc -- duplication of dev/svg.xml, and confusing...
authorWilliam Victor Mote <vmote@apache.org>
Wed, 30 Apr 2003 19:28:22 +0000 (19:28 +0000)
committerWilliam Victor Mote <vmote@apache.org>
Wed, 30 Apr 2003 19:28:22 +0000 (19:28 +0000)
Remove standalone svg to pdf conversion instructions as not relevant to FOP.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196378 13f79535-47bb-0310-9956-ffa450edef68

src/documentation/content/xdocs/graphics.xml

index 01383c03e6eda4edb9b3d1bafc9146402158e2cb..ffe22cea16086880ca6296c57292f1f59e648149 100644 (file)
@@ -154,50 +154,14 @@ JAI is much faster than JIMI, but is not available for all platforms. See <link
       <title>SVG</title>
       <section id="svg-intro">
         <title>Introduction</title>
-        <p>
-FOP uses <link href="#batik">Batik</link> for SVG support.
+        <p>FOP uses <link href="#batik">Batik</link> for SVG support.
 This format can be handled as an <code>fo:instream-foreign-object</code> or in a separate
-file referenced with <code>fo:external-graphic</code>. Either way the SVG document will be
-read in and converted into a DOM in Batik. This DOM will then be used by the renderer to
-create the graphical image.
-        </p>
-        <p>
-The AWT and Print renderers simply use batik to draw the SVG into a graphic.
-        </p>
-        <p>
-In the case of the PDF renderer there is a PDFGraphics2D class that Batik uses
-to render the image into. This class converts the drawing instructions into
-PDF markup which is placed into the current PDF document.
-        </p>
-      </section>
-      <section id="svg-pdf-conversion">
-        <title>Converting SVG to a PDF Document</title>
-        <p>
-It is possible to convert a standalone SVG document directly into a simple page PDF document.
-This is possible through the use of Batik's transcoder mechanism.<br/>
-          <code>java org.apache.batik.apps.rasterizer.Main -m application/pdf document.svg</code>
-          <br/>
-This will output the svg document as "document.pdf" containing a PDF rendering of
-the SVG file.
-        </p>
-        <p>
-It is also possible to specify the width and/or height of the PDF document on the command line with -w and -h or if you are using the transcoder api you can use the transcoding hints.
-        </p>
-        <p>
-Currently the SVG image is drawn at the SVG document size and simply scaled in PDF to the new size. So the result may not be the best possible. For example if you have any images or effects it will draw them at the original resolution of the svg document. When this is viewed in the pdf it will have an incorrect resolution for the size of the pdf.
-        </p>
-        <p>
-The size of the pdf file will also remain the same regardless of what size the page is.
-        </p>
-        <p>
-For more information see <link href="http://xml.apache.org/batik/">Batik</link> for
-how transcoders work.
-        </p>
+file referenced with <code>fo:external-graphic</code>.</p>
       </section>
       <section id="svg-pdf-graphics">
         <title>Placing SVG Graphics into PDF</title>
         <p>
-The svg is inserted into PDF by using PDF commands to draw and fill
+The SVG is rendered into PDF by using PDF commands to draw and fill
 lines and curves. This means that the graphical objects created with
 this remain as vector graphics.
         </p>
@@ -206,7 +170,7 @@ There are a number of SVG things that cannot be converted directly into
 PDF. Parts of the graphic such as effects, patterns and images are inserted
 into the PDF as a raster graphic. The resolution of this graphic may not
 be ideal depending on the FOP dpi (72dpi) and the scaling for that graphic.
-This needs to be improved.</p>
+We hope to improve this in the future.</p>
         <p>
 Currently transparency is not supported in PDF so many svg images that
 contain effects or graphics with transparent areas will not be displayed