Metadata-Version: 2.1
Name: CairoSVG
Version: 2.2.1
Summary: A Simple SVG Converter based on Cairo
Home-page: http://www.cairosvg.org/
Author: Guillaume Ayoub
Author-email: community@kozea.fr
License:                    GNU LESSER GENERAL PUBLIC LICENSE
                       Version 3, 29 June 2007

 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
 Everyone is permitted to copy and distribute verbatim copies
 of this license document, but changing it is not allowed.


  This version of the GNU Lesser General Public License incorporates
the terms and conditions of version 3 of the GNU General Public
License, supplemented by the additional permissions listed below.

  0. Additional Definitions.

  As used herein, "this License" refers to version 3 of the GNU Lesser
General Public License, and the "GNU GPL" refers to version 3 of the GNU
General Public License.

  "The Library" refers to a covered work governed by this License,
other than an Application or a Combined Work as defined below.

  An "Application" is any work that makes use of an interface provided
by the Library, but which is not otherwise based on the Library.
Defining a subclass of a class defined by the Library is deemed a mode
of using an interface provided by the Library.

  A "Combined Work" is a work produced by combining or linking an
Application with the Library.  The particular version of the Library
with which the Combined Work was made is also called the "Linked
Version".

  The "Minimal Corresponding Source" for a Combined Work means the
Corresponding Source for the Combined Work, excluding any source code
for portions of the Combined Work that, considered in isolation, are
based on the Application, and not on the Linked Version.

  The "Corresponding Application Code" for a Combined Work means the
object code and/or source code for the Application, including any data
and utility programs needed for reproducing the Combined Work from the
Application, but excluding the System Libraries of the Combined Work.

  1. Exception to Section 3 of the GNU GPL.

  You may convey a covered work under sections 3 and 4 of this License
without being bound by section 3 of the GNU GPL.

  2. Conveying Modified Versions.

  If you modify a copy of the Library, and, in your modifications, a
facility refers to a function or data to be supplied by an Application
that uses the facility (other than as an argument passed when the
facility is invoked), then you may convey a copy of the modified
version:

   a) under this License, provided that you make a good faith effort to
   ensure that, in the event an Application does not supply the
   function or data, the facility still operates, and performs
   whatever part of its purpose remains meaningful, or

   b) under the GNU GPL, with none of the additional permissions of
   this License applicable to that copy.

  3. Object Code Incorporating Material from Library Header Files.

  The object code form of an Application may incorporate material from
a header file that is part of the Library.  You may convey such object
code under terms of your choice, provided that, if the incorporated
material is not limited to numerical parameters, data structure
layouts and accessors, or small macros, inline functions and templates
(ten or fewer lines in length), you do both of the following:

   a) Give prominent notice with each copy of the object code that the
   Library is used in it and that the Library and its use are
   covered by this License.

   b) Accompany the object code with a copy of the GNU GPL and this license
   document.

  4. Combined Works.

  You may convey a Combined Work under terms of your choice that,
taken together, effectively do not restrict modification of the
portions of the Library contained in the Combined Work and reverse
engineering for debugging such modifications, if you also do each of
the following:

   a) Give prominent notice with each copy of the Combined Work that
   the Library is used in it and that the Library and its use are
   covered by this License.

   b) Accompany the Combined Work with a copy of the GNU GPL and this license
   document.

   c) For a Combined Work that displays copyright notices during
   execution, include the copyright notice for the Library among
   these notices, as well as a reference directing the user to the
   copies of the GNU GPL and this license document.

   d) Do one of the following:

       0) Convey the Minimal Corresponding Source under the terms of this
       License, and the Corresponding Application Code in a form
       suitable for, and under terms that permit, the user to
       recombine or relink the Application with a modified version of
       the Linked Version to produce a modified Combined Work, in the
       manner specified by section 6 of the GNU GPL for conveying
       Corresponding Source.

       1) Use a suitable shared library mechanism for linking with the
       Library.  A suitable mechanism is one that (a) uses at run time
       a copy of the Library already present on the user's computer
       system, and (b) will operate properly with a modified version
       of the Library that is interface-compatible with the Linked
       Version.

   e) Provide Installation Information, but only if you would otherwise
   be required to provide such information under section 6 of the
   GNU GPL, and only to the extent that such information is
   necessary to install and execute a modified version of the
   Combined Work produced by recombining or relinking the
   Application with a modified version of the Linked Version. (If
   you use option 4d0, the Installation Information must accompany
   the Minimal Corresponding Source and Corresponding Application
   Code. If you use option 4d1, you must provide the Installation
   Information in the manner specified by section 6 of the GNU GPL
   for conveying Corresponding Source.)

  5. Combined Libraries.

  You may place library facilities that are a work based on the
Library side by side in a single library together with other library
facilities that are not Applications and are not covered by this
License, and convey such a combined library under terms of your
choice, if you do both of the following:

   a) Accompany the combined library with a copy of the same work based
   on the Library, uncombined with any other library facilities,
   conveyed under the terms of this License.

   b) Give prominent notice with the combined library that part of it
   is a work based on the Library, and explaining where to find the
   accompanying uncombined form of the same work.

  6. Revised Versions of the GNU Lesser General Public License.

  The Free Software Foundation may publish revised and/or new versions
of the GNU Lesser General Public License from time to time. Such new
versions will be similar in spirit to the present version, but may
differ in detail to address new problems or concerns.

  Each version is given a distinguishing version number. If the
Library as you received it specifies that a certain numbered version
of the GNU Lesser General Public License "or any later version"
applies to it, you have the option of following the terms and
conditions either of that published version or of any later version
published by the Free Software Foundation. If the Library as you
received it does not specify a version number of the GNU Lesser
General Public License, you may choose any version of the GNU Lesser
General Public License ever published by the Free Software Foundation.

  If the Library as you received it specifies that a proxy can decide
whether future versions of the GNU Lesser General Public License shall
apply, that proxy's public statement of acceptance of any version is
permanent authorization for you to choose that version for the
Library.
Description: ==========
         CairoSVG
        ==========
        
        CairoSVG is a SVG converter based on Cairo. It can export SVG files to PDF,
        PostScript and PNG files.
        
        For further information, please visit the `CairoSVG Website
        <http://www.cairosvg.org/>`_.
        
        ======
         News
        ======
        
        
        Version 2.2.1 released on 2018-09-27
        ====================================
        
        * Fix packaging
        
        
        Version 2.2.0 released on 2018-09-21
        ====================================
        
        * Clean packaging
        * Fix T commands used with previous relative commands in paths
        * Use real functions for svg2* commands, improving IDE integration
        * Fix files management on Windows
        * Handle image-rendering property
        * Fix crash with some text samples
        * Fix position of embedded svg tags with a viewbox not at position (0, 0)
        * Add output-width and output-height options
        * Handle references to inner document tags defined after the anchor
        * Fix offsets for texts on paths
        
        
        Version 2.1.3 released on 2018-01-03
        ====================================
        
        * Fix T commands following q or t in paths
        
        
        Version 2.1.2 released on 2017-12-01
        ====================================
        
        * Fix font-size
        
        
        Version 2.1.1 released on 2017-09-30
        ====================================
        
        * Use http://www.w3.org/2000/svg as default namespace
        
        
        Version 2.1.0 released on 2017-09-30
        ====================================
        
        * Use cssselect2 and tinycss2 instead of cssselect and tinycss
        * Don't require lxml anymore
        * Rely on defusedxml to detect unsafe SVG files
        
        
        Version 2.0.3 released on 2017-05-02
        ====================================
        
        * Add ``python_requires`` in ``setup.py``
        
        
        Version 2.0.2 released on 2017-03-20
        ====================================
        
        * Handle ``text-align`` in textPath tags
        * Test with Python 3.6
        
        
        Version 2.0.1, released on 2017-01-04
        =====================================
        
        * Don't crash on relative refs with no input URL
        
        
        Version 2.0.0, released on 2016-11-24
        =====================================
        
        * Drop Python 2 support
        * Drop pycairo support
        * Rely on cairocffi, lxml, cssselect, pillow and tinycss
        * Fix markers
        * Fix URL/id handling
        * Use bounding boxes for gradients
        * Split deployment and development tests
        * Add a scale option
        * Add a parent size option
        * Test with Travis
        
        
        Version 1.0.22, released on 2016-06-16
        ======================================
        
        * Fix crash when lxml is not installed
        
        
        Version 1.0.21, released on 2016-06-14
        ======================================
        
        **WARNING:** this is a security update.
        
        CairoSVG was vulnerable to XML eXternal Entity (XXE) attacks, this release
        fixes this vulnerability by not resolving the XML entities anymore.
        
        The ``--unsafe`` option has been added to force the resolution of XML
        entities. Obviously, this option is not safe and should only be used with
        trusted SVG files.
        
        
        Version 1.0.20, released on 2016-02-23
        ======================================
        
        * Allow the user to give parent size
        
        
        Version 1.0.19, released on 2015-10-30
        ======================================
        
        * Drastically improve the performance of ``Node()``
        
        
        Version 1.0.18, released on 2015-10-20
        ======================================
        
        * Use cairo groups to apply filters
        
        
        Version 1.0.17, released on 2015-10-09
        ======================================
        
        * Fix scale and position of markers
        
        
        Version 1.0.16, released on 2015-08-05
        ======================================
        
        * Support the text-rendering property
        
        
        Version 1.0.15, released on 2015-06-22
        ======================================
        
        * Use xMidYMid as default preserveAspectRatio value
        
        
        Version 1.0.14, released on 2015-06-02
        ======================================
        
        * Support the shape-rendering property
        
        
        Version 1.0.13, released on 2015-02-26
        ======================================
        
        * Fix end markers
        
        
        Version 1.0.12, released on 2015-02-26
        ======================================
        
        * Don't crash when paths with markers end with a move_to action
        
        
        Version 1.0.11, released on 2015-02-11
        ======================================
        
        * Allow commas in viewboxes
        
        
        Version 1.0.10, released on 2015-02-09
        ======================================
        
        * Allow quotes around font names
        
        
        Version 1.0.9, released on 2014-08-12
        =====================================
        
        * Don't crash when gradients are applied to paths
        
        
        Version 1.0.8, released on 2014-07-14
        =====================================
        
        * Don't create an atomic layer for transparent tags with no children
        
        
        Version 1.0.7, released on 2014-05-06
        =====================================
        
        * Fix scaling with negative viewBox origin
        * Automatically detect size and position of circles and ellipses for gradients
        
        
        Version 1.0.6, released on 2014-03-07
        =====================================
        
        * Fall back to pycairo if cairocffi is unable to find the cairo library
        
        
        Version 1.0.5, released on 2014-03-06
        =====================================
        
        * Don't inherit clip* and overflow properties
        * Don't transform the root svg tag according to the PreservAspectRatio attribute
        * Add simple support for alignment-baseline
        * Add cairocffi into setup.py deps
        
        
        Version 1.0.4, released on 2014-01-21
        =====================================
        
        * Clear relative coordinates when absolute coordinates are set in tspan tags
        
        
        Version 1.0.3, released on 2013-11-27
        =====================================
        
        * Fix clips and viewboxes
        * Don't draw an empty image when locale is not set
        
        
        Version 1.0.2, released on 2013-11-19
        =====================================
        
        * Don't crash when locale is not set
        * Get the xml_tree from the root parent when creating nodes from string
        
        
        Version 1.0.1, released on 2013-09-24
        =====================================
        
        * Don't crash when svg tag has no width or height
        
        
        Version 1.0, released on 2013-09-06
        ===================================
        
        * CairoCFFI support
        * Support of more external CSS stylesheets
        * Handle more filters
        * Use pillow instead of pystacia
        * Fix a lot of bugs with text (whitespaces, text on a path, etc.)
        * Inherit attributes in ``use`` tags
        * Cache trees for ``use`` tags
        * Handle conditional structures
        
        
        Version 0.5, released on 2012-12-13
        ===================================
        
        * Simple support of the ``image`` tag thanks to pystacia
        * Better tests with pystacia instead of pypng (~35% faster)
        * Handle s after C/S and S after c/s in paths
        * Handle rounded corners with 2 different radii for rectangles
        * Fix python 2.6 support
        * Fix markers with empty paths and z/Z points
        * Fix initial m in paths with no current point
        * Fix transformations order
        
        
        Version 0.4.4, released on 2012-07-05
        =====================================
        
        * Use a default font size of 12pt
        * Fix a bug about non-invertible matrices
        * Fix the installation for python 3 with LANG=C
        
        
        Version 0.4.3, released on 2012-05-04
        =====================================
        
        * Fix the version detection without cairo
        
        
        Version 0.4.2, released on 2012-05-04
        =====================================
        
        * Don't rely on cairo import to find the version
        
        
        Version 0.4.1, released on 2012-04-25
        =====================================
        
        * Use cssselect
        
        
        Version 0.4, released on 2012-04-19
        ===================================
        
        * Reliable testing suite
        * Use tinycss instead of cssutils to parse CSS
        
        
        Version 0.3.1, released on 2012-02-20
        =====================================
        
        * Percentages, em and ex units
        * Real opacity
        
        
        Version 0.3, released on 2012-01-27
        ===================================
        
        * Simple inline CSS support
        * Support for transformations in patterns and gradients
        * Real by-surface DPI management (default value set to 96)
        * Handle exponents
        
        
        Version 0.2, released on 2012-01-04
        ===================================
        
        * **Change the Python API again** to be compatible with 0.1.1 and before:
          ``svg2pdf(source_as_bytes) -> bytes`` but still support filenames or
          file objects with keyword-only parameters. See the docstrings.
        * Add support for ``display``, ``visibility``, ``stop-opacity`` and
          ``stroke-miterlimit``
        * Internal refactoring
        
        
        Version 0.1.2, released on 2011-12-14
        =====================================
        
        **Backward incompatible change** in the Python API: previously the input
        could be either a filename or SVG content as a string. Now a string is always
        interpreted as a filename, but file-like objects are also accepted.
        Use a StringIO object if you have SVG content in a string.
        
        
        Version 0.1.1, released on 2011-12-13
        =====================================
        
        Fix Python 2.6 compatibility.
        
        
        Version 0.1, released on 2011-12-13
        ===================================
        
        * First release
        * PDF, PS and PNG export
        * Easy installer
        
Keywords: svg,converter,cairo,pdf,png,postscript
Platform: Linux
Platform: macOS
Platform: Windows
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: Intended Audience :: End Users/Desktop
Classifier: License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Topic :: Multimedia :: Graphics :: Graphics Conversion
Requires-Python: >= 3.4
Description-Content-Type: text/x-rst
Provides-Extra: test
Provides-Extra: doc
