Commit graph

16 commits

Author SHA1 Message Date
Devin Neal
a4f1e762d6
Merge pull request #349 from sswatson/patch-4
SVG single-factor scaling
2018-12-04 17:01:53 -08:00
Devin Neal
8015e7a29b revised fallback to plain pi creature, revise some latex, make once_useful_constructs into a package 2018-12-01 14:28:51 -08:00
sswatson
3e104a1ffb
SVG single-factor scaling
Some fonts (like mathpazo) produce svg files which use single scale-factor transform (like `transform=scale(1.3)`). Previously the behavior of this code was to throw an unpacking exception in the try block, which resulted in the font glyphs misrendering. 

I would think that the `about_point` should be `ORIGIN` for the [scale_x, scale_y, 1] block as well, but I only put that change in the `elif` clause so that the proposed change would be non-breaking.
2018-11-24 16:37:45 -05:00
Grant Sanderson
b920bf8959
Merge pull request #315 from icreiuheciijc/ctex-pr
Add support for Chinese ctex
2018-10-04 18:26:55 -07:00
Grant Sanderson
45d3806b86 Rename set_color_columns 2018-09-27 17:37:25 -07:00
icreiuheciijc
f33ed570f5 Add support for ctex 2018-09-26 21:09:04 +08:00
Grant Sanderson
405d566aa9 Bug fix to svg reading 2018-09-04 16:14:11 -07:00
Grant Sanderson
087715e538 Reimplented svg rendering using cairo, and changed vmobject color model to allow for gradeints and strokes with opacities. Many errors associated with python 2 to python 3 conversion are likely still present at this point. 2018-08-10 15:12:49 -07:00
Grant Sanderson
858051a806 After running 2to3 2018-08-09 17:56:05 -07:00
Grant Sanderson
7119f0cc6e scale_to_fit_width -> set_width, likewise for height and depth 2018-08-08 10:30:52 -07:00
cclauss
f03268d007 Modernize Python 2 code to get ready for Python 3 yet again 2018-06-02 08:59:26 -04:00
Grant Sanderson
a9b76ebcfa Bug fix and PEP8 on svg_mobject.py 2018-04-12 21:56:28 -07:00
Ben Hambrecht
ca8135a90f new class RoundedRectangle and SVG support for it 2018-04-12 23:19:09 +02:00
Ben Hambrecht
cf5d461aa6 working fixing SVG import issue (preprocessing fill and stroke) 2018-04-12 18:33:16 +02:00
Grant Sanderson
d4392de600 Changed all files to (mostly) conform to PEP8 2018-04-06 13:58:59 -07:00
Grant Sanderson
fc3dc64805 Refactor many definitions out of topics and into folders within mobject 2018-03-31 18:05:02 -07:00
Renamed from mobject/svg_mobject.py (Browse further)