7 Commits

Author SHA1 Message Date
Cosimo Lupo
9e85f3bcc3
svgLib: use fontTools.misc.etree 2018-10-18 19:50:26 +01:00
Cosimo Lupo
40e50b60c3 Revert "Merge pull request #1136 from santhoshtr/svg-arc-support"
This reverts commit 5c392bc86542fbbc0c63335cfedae0d1406b0794, reversing
changes made to 4b69d77ae57776480901e2af82c7d9c1c29de8d6.
2018-01-05 13:07:57 +00:00
Santhosh Thottingal
a8abf7246c Remove duplicate point, add more tests 2018-01-05 17:31:53 +05:30
Santhosh Thottingal
06dc10d30b Fix syntax error about starred expression in python < 3.5
Also minor documentation fix.
2018-01-04 17:56:14 +05:30
Santhosh Thottingal
82e119e0e3 svgLib: Add support for arcs in SVG path parser
Implement the arc to curve points calculation using the original
svg.path library and use the curve points for the pen.

The Arc class and methods to parameterize and get curve points are
copied.

This makes the svg to glif conversion possible for any SVGs.
2018-01-01 20:05:02 +05:30
Cosimo Lupo
de59719db4 move stuff to fontTools.svgLib.path sub-package
in case later on we want to add things to svgLib which don't have to do with paths specifically
2017-09-12 22:21:20 -04:00
Cosimo Lupo
ecf781cfce move fontTools.misc.svgPath to fontTools.svgLib 2017-09-12 08:46:04 -04:00