Parcourir la source

some slightly more info about svg -> pdf


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194352 13f79535-47bb-0310-9956-ffa450edef68
tags/PRE_CODEFORMATTING
Keiron Liddle il y a 23 ans
Parent
révision
23bd7aff7e
2 fichiers modifiés avec 26 ajouts et 5 suppressions
  1. 0
    4
      docs/xml-docs/fop/examples.xml
  2. 26
    1
      docs/xml-docs/fop/svg.xml

+ 0
- 4
docs/xml-docs/fop/examples.xml Voir le fichier

@@ -45,10 +45,6 @@
<li>In the directory examples/pagination you find a suite of examples showing the use
of xsl:fo pagination.
</li>
<li>If you are interested in using svg, you may want to look into the
<jump href="http://xml.apache.org/dist/fop/svgtestsuite.jar">svg test suite</jump>, which
must be downloaded separately (ca. 2.1 MB).
</li>
</ul>
<p>Developers will find the first steps to a test suite for all implemented formatting objects and
properties in xml-fop/test/xml/.</p>

+ 26
- 1
docs/xml-docs/fop/svg.xml Voir le fichier

@@ -36,8 +36,33 @@ Currently the SVG image is simply scaled in PDF so the result my not be the best
</p>
<p>
For more information see <jump href="http://xml.apache.org/batik/">Batik</jump> for
how transocders work.
how transcoders work.
</p>

<p>
These are the relevant classes, found in the package org.apache.fop.svg :
</p>
<p>
<ul>
<li><em>PDFGraphics2D</em>
<br/>
used for drawing onto a Graphics2D into an existing pdf document, used
internally to draw the svg.
</li>
<li><em>PDFDocumentGraphics2D</em>
<br/>
used to create a pdf document and inherits from PDFGraphics2D to do the
rest of the drawing. Used by the transcoder to create a standalone pdf
document from an svg. Can be used independantly the same as any Graphics2D.
</li>
<li><em>PDFTranscoder</em>
<br/>
used to transcode an svg document into a standalone pdf, via
PDFDocumentGraphics2D.
</li>
</ul>
</p>

</s2>



Chargement…
Annuler
Enregistrer