Commits

Anonymous committed 5081e81

Fix a doc error.

  • Participants
  • Parent commits 35fa367
  • Branches trunk

Comments (0)

Files changed (1)

File pygments/formatters/svg.py

 
     Formatter for SVG output.
 
-    :copyright: 2007 by an unknown contributor.
+    :copyright: 2007 by Georg Brandl.
     :license: BSD, see LICENSE for more details.
 """
 import StringIO
     Each line of code is a ``<text>`` element with explicit ``x`` and ``y``
     coordinates containing ``<tspan>`` elements with the individual token styles.
 
+    By default, this formatter outputs a full SVG document including doctype
+    declaration and the ``<svg>`` root element.
+
     *New in Pygments 0.9.*
 
     Additional options accepted:
         and `fontsize` options are ignored.  Defaults to ``False``.
 
     `fontfamily`
-        The value to give the ``<text>`` elements' ``font-family`` attribute,
-        defaults to ``"monospace"``.
+        The value to give the wrapping ``<g>`` element's ``font-family``
+        attribute, defaults to ``"monospace"``.
 
     `fontsize`
-        The value to give the ``<text>`` elements' ``font-size`` attribute,
-        defaults to ``"14px"``.
+        The value to give the wrapping ``<g>`` element's ``font-size``
+        attribute, defaults to ``"14px"``.
 
     `xoffset`
         Starting offset in X direction, defaults to ``0``.